When i put, "vlc -vvv dshow:// :dshow-vdev="USB2.0 WebCam PRO" :dshow-adev="" :dshow-size="" :sout=#display{dst=display}" in console, it work correctly, but i don't know how to do in java.
Code: Select all
JVLC video=new JVLC();
String[] options={"dshow-vdev=\"USB2.0 WebCam PRO\""};
String output="#display{dst=display}";
video.vlm.addBroadcast("webCam", "C:/Temp/guetta.avi", output, options, true, false);
video.vlm.setOutput("webCam", output);
video.vlm.playMedia("webCam");
[00000306] main playlist error: Reloading playlist not implemented.
org.videolan.jvlc.VLCException: Media webCam creation failed
at org.videolan.jvlc.VLM._addBroadcast(Native Method)
at org.videolan.jvlc.VLM.addBroadcast(VLM.java:39)
Sorry for my English. Thanks.