This is a
playground to test code. It runs a full
Node.js environment and already has all of
npm’s 400,000 packages pre-installed, including
generator-vlcj with all
npm packages installed. Try it out:
This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.
Create a vlcj project that uses Maven
npm install -g yo npm install -g generator-vlcj
Then generate your new project:
Yeoman will ask you a number of questions that will be used to tailor the generated project how you want it.
The generated project contains an example main class with the bare minimum code necessary to get a working vlcj media player.
There are two project variations - one uses the vlcj media player "component" framework, the other uses a media player factory.
The version that uses the component framework is a bit simpler as the component framework encapsulates the creation of a media player factory and a video surface.
The version that does not use the component framework shows explicitly creating a media player factory, a video surface and a media player.
Both approaches are valid and current with vlcj, use whichever one suits you best.
Your generated project can be built the usual way using
GPL-3.0 © capricasoftware