-->

Device Capture with VLCJ

2019-09-14 07:34发布

问题:

I'm trying to use VLCJ for video capture with webcams (USB & IP)

dshow:// & rtsp://192.168.1.4:554/live.sdp

works like a charm with VLC 2.0.1 x64 Windows 7.

but nothing works with VLCJ 2.1.0 examples

Java SE 1.7 x64

RTSP error :

[000000000fefed58] main demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\demux\liblive555_plugin.dll
[000000000059a4d8] main input error: open of `rtsp://192.168.1.4:554/live.spd' failed
[000000000059a4d8] main input error: Your input can't be opened
[000000000059a4d8] main input error: VLC is unable to open the MRL 'rtsp://192.168.1.4:554/live.spd'. Check the log for details.

Dshow error :

[00000000004fa4d8] main input error: open of `dshow://' failed
[00000000004fa4d8] main input error: Your input can't be opened
[00000000004fa4d8] main input error: VLC is unable to open the MRL 'dshow://'. Check the log for details.

Any Ideas ?

Thanks.

回答1:

I've just found the solution. I had the same problem as you with trying to run dshow://. I think the problem was vlc2.0.1 x64 which is experimental. I simply run this using 32bit configration (32bit java, 32bit vlc) and it works perfectly.