for vlcj please see vlcj
based on vlcj-javafx-demo
see blog Java video streaming part 1 for details
in src/main/resources/application.properties repalace your api key
with api key from you tube
replace USER_HOME_DIR with the name of your home directory
./gradlew clean build -x test
java -jar
-Dvs.properties=/home/USER_HOME_DIR/aJavaFXSpectrum/v-stream/runtime.properties
build/libs/v-stream-0.0.1-SNAPSHOT.jar
app.video.source=/home/USER_HOME_DIR/v-stream/test_vid.mp4
install vlc
app.video.native.dir=/usr/lib
./gradlew clean build -x test
java -jar
-Dvs.properties=C:\\Users\\USER_HOME_DIR\\v-stream-part-1\\runtime.properties
build/libs/v-stream-0.0.1-SNAPSHOT.jar
app.video.source=C:\Users\USER_HOME_DIR\v-stream-part-1\test_vid.mp4
install vlc then if 64 bit
app.video.native.dir=C:\Program Files\VideoLAN\VLC
if 32 bit
app.video.native.dir=C:\Program Files(x86)\VideoLAN\VLC