Closed shamun closed 9 years ago
Google translate tells me that error means "unknown host" doesn't it.
vlcj does not do anything with your MRL, it just passes it to VLC. So this can't be a vlcj problem.
Windows 8.1: PC has WiFi connected to router for internet , Ehternet is setup as 192.168.100.151 to connect the camera 192.168.100.150.
C:\Program Files (x86)\VideoLAN\VLC>ipconfig
Windows IP Configuration
Ethernet adapter LAN-verbinding:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter LAN-verbinding* 2:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Ethernet adapter Bluetooth-netwerkverbinding:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Wireless LAN adapter Wi-Fi:
Connection-specific DNS Suffix . : home
IPv6 Address. . . . . . . . . . . : 2a02:a03f:24f9:9f00:f90e:7ec2:ee6e:27bf
Temporary IPv6 Address. . . . . . : 2a02:a03f:24f9:9f00:98b1:801d:4758:53de
Link-local IPv6 Address . . . . . : fe80::f90e:7ec2:ee6e:27bf%4
IPv4 Address. . . . . . . . . . . : 192.168.1.29
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : fe80::6a15:90ff:fe0f:25c5%4
192.168.1.1
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::2dbe:4df7:1217:d67b%3
IPv4 Address. . . . . . . . . . . : 192.168.100.151
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VirtualBox Host-Only Network:
Connection-specific DNS Suffix . :
Link-local IPv6 Address . . . . . : fe80::8576:70e7:8a5d:1916%33
IPv4 Address. . . . . . . . . . . : 192.168.56.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Tunnel adapter isatap.home:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . : home
Tunnel adapter isatap.{913FBA20-C885-46B8-9223-564E85E30451}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
Tunnel adapter isatap.{D8B6E0E4-DC4D-4B60-9832-44A88A45B313}:
Media State . . . . . . . . . . . : Media disconnected
Connection-specific DNS Suffix . :
VLCj is failing to understand the second ethernet interface. Whereas VLC itself working.
So it looks like maybe you can not supply username/password in the MRL, and you have to pass as options instead:
--sout-rtsp-user <username>
--sout-rtsp-pwd <password>
So take the username and password out of your MRL and pass as options instead using mediaPlayer.playMedia(mrl, options), and if that doesn't work pass the options when you create a media player factory.
You say "vlcj is failing to understand the second ethernet interface", whereas in actuality vlcj does not care. vlcj passes your MRL to VLC via LibVLC and that's the end of the vlcj's involvement.
In your original log, it states that it can't connect to server "admin" on port 9999... so that's the first thing to resolve.
If i use as following:
String mrl = "rtsp://192.168.100.150:8557/h264";
String[] options = {":sout-rtsp-user=admin", ":sout-rtsp-pwd=9999"};
mediaPlayer.playMedia(mrl, options);
I get:
[000000000e9727f0] core demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll
[000000000e9b9d40] core input error: open of `rtsp://192.168.100.150:8557/h264' failed
[000000000e9b9d40] core input error: Uw invoer kan niet geopend worden
[000000000e9b9d40] core input error: VLC kon de MRL 'rtsp://192.168.100.150:8557/h264' niet openen. Controleer het logboek voor details.
BUILD STOPPED (total time: 7 seconds)
You tried "--sout..." rather than ":sout"? You tried as media player factory arguments rather than playMedia options?
How to use those VLC options and when they can be used is unfortunately not well documented.
I tried as following but still i get open of rtsp://... failed.
factory = new MediaPlayerFactory("--no-video-title-show", "--sout-rtsp-user=admin", "--sout-rtsp-pwd=9999");
or
String[] options = {"--sout-rtsp-user=admin", "--sout-rtsp-pwd=9999"};
or
String[] options = {":sout-rtsp-user=admin", ":sout-rtsp-pwd=9999"};
options = {"--sout-rtsp-user", "admin", "--sout-rtsp-pwd", "9999"}
?
Also try using "-vvv" and see if there's more detail in the VLC native logs.
Trying:
factory = new MediaPlayerFactory("--no-video-title-show");
mediaPlayer = factory.newEmbeddedMediaPlayer();
String mrl = "rtsp://192.168.100.150:8557/h264";
String[] options = {"--sout-rtsp-user", "admin", "--sout-rtsp-pwd", "9999"};
mediaPlayer.playMedia(mrl, options);
Result:
[00000000101127f0] core demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll
[0000000010159e00] core input error: open of `rtsp://192.168.100.150:8557/h264' failed
[0000000010159e00] core input error: Uw invoer kan niet geopend worden
[0000000010159e00] core input error: VLC kon de MRL 'rtsp://192.168.100.150:8557/h264' niet openen. Controleer het logboek voor details.
BUILD STOPPED (total time: 9 seconds)
-vvv: output:
2.2.0 Weatherwax
[000000000073d110] core libvlc debug: VLC media player - 2.2.0 Weatherwax
[000000000073d110] core libvlc debug: Copyright � 1996-2015 the VideoLAN team
[000000000073d110] core libvlc debug: revision 2.2.0-0-g1349ef2
[000000000073d110] core libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' 'host_alias=x86_64-w64-mingw32'
[000000000073d110] core libvlc debug: using multimedia timers as clock source
[000000000073d110] core libvlc debug: min period: 1 ms, max period: 1000000 ms
[000000000073d110] core libvlc debug: searching plug-in modules
[000000000073d110] core libvlc debug: loading plugins cache file C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[000000000073d110] core libvlc debug: recursively browsing `C:\Program Files\VideoLAN\VLC\plugins'
[000000000073d110] core libvlc warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\libdshow_plugin.dll' (Kan opgegeven module niet vinden. (error 126))
[000000000073d110] core libvlc debug: saving plugins cache C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[000000000073d110] core libvlc debug: plug-ins loaded: 415 modules
[000000000073d110] core libvlc debug: translation test: code is "nl"
[000000000073d110] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[000000000e970430] core generic debug: creating audio output
[000000000e960060] core audio output debug: looking for audio output module matching "any": 6 candidates
[000000000e960060] directsound audio output debug: found 3 devices
[000000000e960060] core audio output debug: using audio output module "directsound"
[000000000e970430] core generic debug: keeping audio output
[000000000e923e90] core input debug: Creating an input for 'rtsp://192.168.100.150:8557/h264'
[000000000e923e90] core input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sunuser\AppData\Local\Temp'
[000000000e923e90] core input debug: `rtsp://192.168.100.150:8557/h264' gives access `rtsp' demux `' path `192.168.100.150:8557/h264'
[000000000e923e90] core input debug: specified demux `any'
[000000000e923e90] core input debug: creating demux: access='rtsp' demux='any' location='192.168.100.150:8557/h264' file='\\192.168.100.150:8557\h264'
[000000000e97aa60] core demux debug: looking for access_demux module matching "rtsp": 11 candidates
[000000000e97aa60] core demux warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll' (Kan opgegeven module niet vinden. (error 126))
[000000000e97aa60] core demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll
[000000000e97aa60] core demux debug: no access_demux modules matched
[000000000e923e90] core input debug: creating access 'rtsp' location='192.168.100.150:8557/h264', path='\\192.168.100.150:8557\h264'
[000000000e97aa60] core access debug: looking for access module matching "rtsp": 20 candidates
[000000000e97aa60] core access debug: net: connecting to 192.168.100.150 port 8557
[000000000e97aa60] core access debug: connection succeeded (socket = 1396)
[000000000e97aa60] access_realrtsp access debug: rtsp connected
[000000000e97aa60] access_realrtsp access warning: only real/helix rtsp servers supported for now
[000000000e97aa60] core access debug: no access modules matched
[000000000e923e90] core input error: open of `rtsp://192.168.100.150:8557/h264' failed
[000000000e923e90] core input error: Uw invoer kan niet geopend worden
[000000000e923e90] core input error: VLC kon de MRL 'rtsp://192.168.100.150:8557/h264' niet openen. Controleer het logboek voor details.
BUILD STOPPED (total time: 9 seconds)
Well, there's not enough information to say really.
Rephrase the question as how can use LibVLC to play my RTSP stream. When you have the answer to that, I can tell you how to do it with vlcj.
YES - that is the question actually. I have this RTSP camera and using VLCJ i have to capture the stream (which is failing for me till now).
How can i do that please?
You misunderstood me, probably that's my fault for not being clear sorry.
I do not know how to help you with this particular stream. It would be nice if you could disable the authorisation check on the stream and see if that's the problem.
What I meant with my last comment was if you (or someone else) knows how to do it with LibVLC (which I don't right now) then I know how to translate that from LibVLC to vlcj. What I'm saying is this a question about LibVLC usage specifically, not vlcj. But I don't have the resources to do that research for you.
Generally I can play RTSP streams, but I don't have the same setup as you. I don't have access to any RTSP stream that requires authentication so I'm just guessing when I'm trying to help you.
OK - i understand you now. Thank you.
1 - i tried to disable the RTSP digest/username/password procedure but i cant do that on this device. So long story short i cant test it right now
2 - i also do not have any solution how LibVLC works. But the general VLC itself is playing fine with this camera.
I will try to reach the Camera vendor to ask them if they can allow the option to disable digest/username/password option.
Did you try the specific combination of media player factory args and {"--rtsp-user", "user" .......} ?
That's the one I'm particularly surprised didn't work.
Also, just checking "vlc -H" shows:
--rtsp-user <username>
--rtsp-pwd <password>
Probably those should be used instead, I mean instead of the "--sout...." ones.
YES - both attempt failed
Attempt 2:
factory = new MediaPlayerFactory("-vvv" ,
"--no-video-title-show",
"--rtsp-user=admin", // or --rtsp-user admin invalid argument
"--rtsp-pwd=9999"); // or --rtsp-pwd 9999 invalid argument
Output:
2.2.0 Weatherwax
[00000000006ed110] core libvlc debug: VLC media player - 2.2.0 Weatherwax
[00000000006ed110] core libvlc debug: Copyright � 1996-2015 the VideoLAN team
[00000000006ed110] core libvlc debug: revision 2.2.0-0-g1349ef2
[00000000006ed110] core libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' 'host_alias=x86_64-w64-mingw32'
[00000000006ed110] core libvlc debug: using multimedia timers as clock source
[00000000006ed110] core libvlc debug: min period: 1 ms, max period: 1000000 ms
[00000000006ed110] core libvlc debug: searching plug-in modules
[00000000006ed110] core libvlc debug: loading plugins cache file C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[00000000006ed110] core libvlc debug: recursively browsing `C:\Program Files\VideoLAN\VLC\plugins'
[00000000006ed110] core libvlc warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\libdshow_plugin.dll' (Kan opgegeven module niet vinden. (error 126))
[00000000006ed110] core libvlc debug: saving plugins cache C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[00000000006ed110] core libvlc debug: plug-ins loaded: 415 modules
[00000000006ed110] core libvlc debug: translation test: code is "nl"
[00000000006ed110] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[000000000e74e850] core generic debug: creating audio output
[000000000e696570] core audio output debug: looking for audio output module matching "any": 6 candidates
[000000000e696570] directsound audio output debug: found 3 devices
[000000000e696570] core audio output debug: using audio output module "directsound"
[000000000e74e850] core generic debug: keeping audio output
[000000000e6e4730] core input debug: Creating an input for 'rtsp://192.168.100.150:8557/h264'
[000000000e6e4730] core input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sunuser\AppData\Local\Temp'
[000000000e6e4730] core input debug: `rtsp://192.168.100.150:8557/h264' gives access `rtsp' demux `' path `192.168.100.150:8557/h264'
[000000000e6e4730] core input debug: specified demux `any'
[000000000e6e4730] core input debug: creating demux: access='rtsp' demux='any' location='192.168.100.150:8557/h264' file='\\192.168.100.150:8557\h264'
[000000000e75f900] core demux debug: looking for access_demux module matching "rtsp": 11 candidates
[000000000e75f900] core demux warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll' (Kan opgegeven module niet vinden. (error 126))
[000000000e75f900] core demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll
[000000000e75f900] core demux debug: no access_demux modules matched
[000000000e6e4730] core input debug: creating access 'rtsp' location='192.168.100.150:8557/h264', path='\\192.168.100.150:8557\h264'
[000000000e75f900] core access debug: looking for access module matching "rtsp": 20 candidates
[000000000e75f900] core access debug: net: connecting to 192.168.100.150 port 8557
[000000000e75f900] core access debug: connection succeeded (socket = 1412)
[000000000e75f900] access_realrtsp access debug: rtsp connected
[000000000e75f900] access_realrtsp access warning: only real/helix rtsp servers supported for now
[000000000e75f900] core access debug: no access modules matched
[000000000e6e4730] core input error: open of `rtsp://192.168.100.150:8557/h264' failed
[000000000e6e4730] core input error: Uw invoer kan niet geopend worden
[000000000e6e4730] core input error: VLC kon de MRL 'rtsp://192.168.100.150:8557/h264' niet openen. Controleer het logboek voor details.
BUILD STOPPED (total time: 10 seconds)
Well, in that case I'm afraid I'm out of ideas.
OK - thank you. if you find any other way, pleaes let me know the camera is very expensive (2K euro almost i thought VLCj i can use, i have 1 week time to keep else i have to return it)
If you can play it in VLC, you can play it in vlcj, I'm pretty sure of that. The specifics of how, I just don't know.
Can you make your camera feed available over the internet? You can private email me if this is a possibility.
OK - no issue i will post the URL here, i am in a restricted network i will try to take the camera at home and give you access available.
thank you very much.
You can email me direct at:
mark dot lee <at> capricasoftware <dot> co <dot> uk
I can spend a bit of time to try, but I can't promise I'll get it working.
Can you please play this: rtsp://admin:9999@91.181.127.208:8557/h264
OK... the stream 'plays' without errors... it took a while but I do now see video (I mean the stream started playing quite quickly, but the video took a while to appear, that might just be Internet lag I suppose).
I used the vlcj "MinimalTestPlayer" with the URL exactly as you provided. I did not mess around with --rtsp-user switches.
0 [main] INFO uk.co.caprica.vlcj.test.VlcjTest - Explicitly adding JNA native library search path: '/home/linux/vlc/install-2.2/lib'
11 [main] DEBUG uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent - args=[--video-title=vlcj video output, --no-snapshot-preview, --quiet-synchro, --sub-filter=logo:marq, --intf=dummy, -vvv]
18 [main] INFO uk.co.caprica.vlcj.Info - vlcj: 3.6.1-SNAPSHOT
18 [main] INFO uk.co.caprica.vlcj.Info - java: 1.6.0_37 Sun Microsystems Inc.
18 [main] INFO uk.co.caprica.vlcj.Info - java home: /home/java/jdk1.6.0_37/jre
18 [main] INFO uk.co.caprica.vlcj.Info - os: Linux 3.16.0-31-generic amd64
65 [main] INFO uk.co.caprica.vlcj.binding.LibVlcFactory - vlc: 2.2.1 Weatherwax, changeset 2.2.0-37-g24b6aef
65 [main] INFO uk.co.caprica.vlcj.binding.LibVlcFactory - libvlc: /home/linux/vlc/install-2.2/lib/libvlc.so
65 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - MediaPlayerFactory(libvlc=Proxy interface to Native Library </home/linux/vlc/install-2.2/lib/libvlc.so@140655684117344>,libvlcArgs=[--video-title=vlcj video output, --no-snapshot-preview, --quiet-synchro, --sub-filter=logo:marq, --intf=dummy, -vvv])
65 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - jna.library.path=null
65 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - VLC_PLUGIN_PATH=null
[00007fecf419e848] core libvlc debug: VLC media player - 2.2.1 Weatherwax
[00007fecf419e848] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[00007fecf419e848] core libvlc debug: revision 2.2.0-37-g24b6aef
[00007fecf419e848] core libvlc debug: configured with ../vlc-2.2/configure '--prefix=/home/linux/vlc/install-2.2' '--enable-optimizations'
[00007fecf419e848] core libvlc debug: searching plug-in modules
[00007fecf419e848] core libvlc debug: loading plugins cache file /store/linux/vlc/install-2.2/lib/vlc/plugins/plugins.dat
[00007fecf419e848] core libvlc debug: recursively browsing `/store/linux/vlc/install-2.2/lib/vlc/plugins'
[00007fecf419e848] core libvlc debug: saving plugins cache /store/linux/vlc/install-2.2/lib/vlc/plugins/plugins.dat
[00007fecf419e848] core libvlc debug: plug-ins loaded: 457 modules
[00007fecf419e848] core libvlc debug: translation test: code is "C"
[00007fecf419e848] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 AVX FPU
73 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - instance=native@0x7fecf41536c0 (uk.co.caprica.vlcj.binding.internal.libvlc_instance_t@f415b6ac)
73 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - equalizerAvailable=true
73 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - createEqualizerBandFrequencies()
74 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - numBands=10
74 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - result=[31.25, 62.5, 125.0, 250.0, 500.0, 1000.0, 2000.0, 4000.0, 8000.0, 16000.0]
74 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - createEqualizerPresetNames()
74 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - numPresets=18
74 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - result=[Flat, Classical, Club, Dance, Full bass, Full bass and treble, Full treble, Headphones, Large Hall, Live, Party, Pop, Reggae, Rock, Ska, Soft, Soft rock, Techno]
74 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - newEmbeddedMediaPlayer(fullScreenStrategy=null)
81 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - DefaultMediaPlayer(libvlc=Proxy interface to Native Library </home/linux/vlc/install-2.2/lib/libvlc.so@140655684117344>, instance=native@0x7fecf41536c0 (uk.co.caprica.vlcj.binding.internal.libvlc_instance_t@f415b6ac))
81 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - createInstance()
[00007fecf41ae048] core generic debug: creating audio output
[00007fecf42640a8] core audio output debug: looking for audio output module matching "any": 6 candidates
[00007fecf42640a8] pulse audio output debug: using library version 4.0.0
[00007fecf42640a8] pulse audio output debug: (compiled with version 4.0.0, protocol 28)
[00007fecf42640a8] pulse audio output debug: connected locally to unix:/run/user/1000/pulse/native as client #40
[00007fecf42640a8] pulse audio output debug: using protocol 28, server protocol 28
[00007fecf42640a8] pulse audio output debug: adding sink 0: alsa_output.pci-0000_00_1b.0.analog-stereo (Built-in Audio Analogue Stereo)
[00007fecf42640a8] pulse audio output debug: adding sink 1: alsa_output.pci-0000_01_00.1.hdmi-stereo (Cape Verde/Pitcairn HDMI Audio [Radeon HD 7700/7800 Series] Digital Stereo (HDMI))
[00007fecf42640a8] core audio output debug: using audio output module "pulse"
[00007fecf41ae048] core generic debug: keeping audio output
84 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - mediaPlayerInstance=native@0x7fecf41ae048 (uk.co.caprica.vlcj.binding.internal.libvlc_media_player_t@f41b6034)
84 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - mediaPlayerEventManager=native@0x7fecf4269200 (uk.co.caprica.vlcj.binding.internal.libvlc_event_manager_t@f42711ec)
84 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - registerEventListener()
85 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerMediaChanged
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerNothingSpecial
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerOpening
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerBuffering
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerPlaying
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerPaused
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
100 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerStopped
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerForward
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerBackward
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerEndReached
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerEncounteredError
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerTimeChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerPositionChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerSeekableChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerPausableChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerTitleChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerSnapshotTaken
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerLengthChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerVout
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaPlayerScrambledChanged
101 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
103 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - newVideoSurface(canvas=java.awt.Canvas[canvas0,0,0,0x0,invalid])
104 [main] DEBUG uk.co.caprica.vlcj.player.MediaPlayerFactory - videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@32bf7190
104 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - setVideoSurface(videoSurface=uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface@32bf7190)
104 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - addMediaPlayerEventListener(listener=uk.co.caprica.vlcj.component.EmbeddedMediaPlayerComponent[panel0,0,0,0x0,invalid,layout=java.awt.BorderLayout])
105 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - setOverlay(overlay=null)
105 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - enableOverlay(enable=false)
105 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - removeOverlay()
105 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - addOverlay(overlay=null)
210 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - playMedia(mrl=rtsp://admin:9999@91.181.127.208:8557/h264,mediaOptions=[])
210 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - prepareMedia(mrl=rtsp://admin:9999@91.181.127.208:8557/h264,mediaOptions=[])
211 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - setMedia(media=rtsp://admin:9999@91.181.127.208:8557/h264,mediaOptions=[])
211 [main] DEBUG uk.co.caprica.vlcj.player.MediaResourceLocator - encodeMrl(mrl=rtsp://admin:9999@91.181.127.208:8557/h264)
211 [main] DEBUG uk.co.caprica.vlcj.player.MediaResourceLocator - MRL does not contain any Unicode characters
211 [main] DEBUG uk.co.caprica.vlcj.player.MediaResourceLocator - result=rtsp://admin:9999@91.181.127.208:8557/h264
211 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - Treating mrl as a location
211 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - mediaInstance=native@0x7fecf4391e90 (uk.co.caprica.vlcj.binding.internal.libvlc_media_t@f4399e7c)
211 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - registerMediaEventListener()
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaMetaChanged
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaSubItemAdded
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaDurationChanged
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaParsedChanged
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaFreed
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaStateChanged
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - event=libvlc_MediaSubItemTreeAdded
212 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=0
215 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - mrl(mediaInstance=native@0x7fecf4391e90 (uk.co.caprica.vlcj.binding.internal.libvlc_media_t@f4399e7c))
217 [pool-1-thread-1] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - mediaChanged(mediaPlayer=uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer@4b947496,media=native@0x7fecf4391e90 (uk.co.caprica.vlcj.binding.internal.libvlc_media_t@f4399e7c),mrl=rtsp://admin:9999@91.181.127.208:8557/h264)
217 [pool-1-thread-1] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - Raising event for new media
217 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - result=true
217 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - play()
217 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - onBeforePlay()
217 [main] DEBUG uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer - attachVideoSurface()
217 [main] DEBUG uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface - attach()
238 [main] DEBUG uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface - componentId=52428817
238 [main] DEBUG uk.co.caprica.vlcj.player.embedded.videosurface.linux.LinuxVideoSurfaceAdapter - attach(componentId=52428817)
238 [main] DEBUG uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface - video surface attached
[00007fecf43b8ce8] core input debug: Creating an input for 'rtsp://91.181.127.208:8557/h264'
243 [main] DEBUG uk.co.caprica.vlcj.player.DefaultMediaPlayer - after play
[00007fecf43b8ce8] core input debug: using timeshift granularity of 50 MiB, in path '/tmp'
[00007fecf43b8ce8] core input debug: `rtsp://admin:9999@91.181.127.208:8557/h264' gives access `rtsp' demux `' path `admin:9999@91.181.127.208:8557/h264'
[00007fecf43b8ce8] core input debug: specified demux `any'
[00007fecf43b8ce8] core input debug: creating demux: access='rtsp' demux='any' location='admin:9999@91.181.127.208:8557/h264' file='(null)'
[00007fec7c003bb8] core demux debug: looking for access_demux module matching "rtsp": 21 candidates
[00007fec7c003bb8] live555 demux debug: version 2014.01.13
Opening connection to 91.181.127.208, port 8557...
...remote connection opened
Sending request: OPTIONS rtsp://91.181.127.208:8557/h264 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Received 137 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Fri, Mar 20 2015 19:05:00 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, SET_PARAMETER
Sending request: DESCRIBE rtsp://91.181.127.208:8557/h264 RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Accept: application/sdp
Received 175 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
Date: Fri, Mar 20 2015 19:05:00 GMT
WWW-Authenticate: Digest realm="LIVE555 Streaming Media", nonce="dbe10a250328d6e9e53ab4cd851d372a"
Resending...
Sending request: DESCRIBE rtsp://91.181.127.208:8557/h264 RTSP/1.0
CSeq: 4
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="dbe10a250328d6e9e53ab4cd851d372a", uri="rtsp://91.181.127.208:8557/h264", response="497c65d8afca15c7cf8d98bf24b0ecb6"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Accept: application/sdp
Received 760 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Date: Fri, Mar 20 2015 19:05:01 GMT
Content-Base: rtsp://192.168.1.52:8557/h264/
Content-Type: application/sdp
Content-Length: 597
v=0
o=- 1426870194395817 1 IN IP4 192.168.100.150
s=RTSP/RTP stream from LUMENS
i=h264
t=0 0
a=tool:LIVE555 Streaming Media v2011.05.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:RTSP/RTP stream from LUMENS
a=x-qt-text-inf:h264
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:12000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAH62EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSZOTyfJ+T+T8nyebmzTQgSTJyeT5Pyfyfk+Tzc2aa0AgAw2AqkAAADAAQAAAMA8YEAAehIAAIlUL3vheEQjUAAAAAB,aM48sA==
a=control:track1
[00007fec7c003bb8] live555 demux debug: RTP subsession 'video/H264'
Sending request: SETUP rtsp://192.168.1.52:8557/h264/track1 RTSP/1.0
CSeq: 5
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="dbe10a250328d6e9e53ab4cd851d372a", uri="rtsp://192.168.1.52:8557/h264/", response="330c615959c489368709fdf6b4b67100"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Transport: RTP/AVP;unicast;client_port=42474-42475
Received 204 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Fri, Mar 20 2015 19:05:01 GMT
Transport: RTP/AVP;unicast;destination=90.216.75.243;source=192.168.1.52;client_port=42474-42475;server_port=6970-6971
Session: 09DF370F
[00007fecf43b8ce8] core input debug: selecting program id=0
[00007fec7c003bb8] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://192.168.1.52:8557/h264/ RTSP/1.0
CSeq: 6
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="dbe10a250328d6e9e53ab4cd851d372a", uri="rtsp://192.168.1.52:8557/h264/", response="585e06fbd49eadf7fd5a506192a2bb96"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Session: 09DF370F
Range: npt=0.000-
Received 184 new bytes of response data.
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Fri, Mar 20 2015 19:05:01 GMT
Range: npt=0.000-
Session: 09DF370F
RTP-Info: url=rtsp://192.168.1.52:8557/h264/track1;seq=14817;rtptime=2279495212
[00007fec7c003bb8] live555 demux debug: play start: 0.000000 stop:0.000000
[00007fec7c003bb8] core demux debug: using access_demux module "live555"
[00007fec7c011828] core decoder debug: looking for decoder module matching "any": 45 candidates
[00007fec7c011828] avcodec decoder debug: CPU flags: 0x000053db
[00007fec7c011828] avcodec decoder debug: trying to use direct rendering
[00007fec7c011828] avcodec decoder debug: allowing 4 thread(s) for decoding
[00007fec7c011828] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
[00007fec7c011828] avcodec decoder debug: using frame thread mode with 4 threads
[00007fec7c011828] core decoder debug: using decoder module "avcodec"
[00007fec7c1d1148] core packetizer debug: looking for packetizer module matching "any": 23 candidates
[00007fec7c1d1148] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0)
[00007fec7c1d1148] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0)
[00007fec7c1d1148] core packetizer debug: using packetizer module "packetizer_h264"
[00007fec7c0b8dd8] core demux meta debug: looking for meta reader module matching "any": 2 candidates
[00007fec7c0b8dd8] lua demux meta debug: Trying Lua scripts in /home/mark/.local/share/vlc/lua/meta/reader
[00007fec7c0b8dd8] lua demux meta debug: Trying Lua scripts in /store/linux/vlc/install-2.2/lib/vlc/lua/meta/reader
[00007fec7c0b8dd8] lua demux meta debug: Trying Lua playlist script /store/linux/vlc/install-2.2/lib/vlc/lua/meta/reader/filename.luac
[00007fec7c0b8dd8] lua demux meta debug: Trying Lua scripts in /store/linux/vlc/install-2.2/share/vlc/lua/meta/reader
[00007fec7c0b8dd8] core demux meta debug: no meta reader modules matched
[00007fecf43b8ce8] core input debug: `rtsp://admin:9999@91.181.127.208:8557/h264' successfully opened
[00007fec7c003bb8] live555 demux warning: no data received in 10s. Switching to TCP
Sending request: TEARDOWN rtsp://192.168.1.52:8557/h264/ RTSP/1.0
CSeq: 7
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="dbe10a250328d6e9e53ab4cd851d372a", uri="rtsp://192.168.1.52:8557/h264/", response="5ebf5e43609fb337e3e8901c481a09e1"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Session: 09DF370F
[00007fec7c011828] core decoder debug: removing module "avcodec"
[00007fec7c011828] avcodec decoder debug: ffmpeg codec (H264 - MPEG-4 AVC (part 10)) stopped
[00007fec7c011828] core decoder debug: killing decoder fourcc `h264', 0 PES in FIFO
[00007fec7c1d1148] core packetizer debug: removing module "packetizer_h264"
[00007fecf43b8ce8] core input debug: Program doesn't contain anymore ES
Opening connection to 91.181.127.208, port 8557...
...remote connection opened
Sending request: OPTIONS rtsp://91.181.127.208:8557/h264 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Received 137 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
CSeq: 2
Date: Fri, Mar 20 2015 19:05:11 GMT
Public: OPTIONS, DESCRIBE, SETUP, TEARDOWN, PLAY, PAUSE, SET_PARAMETER
Sending request: DESCRIBE rtsp://91.181.127.208:8557/h264 RTSP/1.0
CSeq: 3
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Accept: application/sdp
Received 175 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 401 Unauthorized
CSeq: 3
Date: Fri, Mar 20 2015 19:05:11 GMT
WWW-Authenticate: Digest realm="LIVE555 Streaming Media", nonce="6954c67affd767241fe2a4756e4e18a5"
Resending...
Sending request: DESCRIBE rtsp://91.181.127.208:8557/h264 RTSP/1.0
CSeq: 4
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="6954c67affd767241fe2a4756e4e18a5", uri="rtsp://91.181.127.208:8557/h264", response="161c42d656ce21e5f08e1a30496209b9"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Accept: application/sdp
Received 760 new bytes of response data.
Received a complete DESCRIBE response:
RTSP/1.0 200 OK
CSeq: 4
Date: Fri, Mar 20 2015 19:05:11 GMT
Content-Base: rtsp://192.168.1.52:8557/h264/
Content-Type: application/sdp
Content-Length: 597
v=0
o=- 1426870194395817 1 IN IP4 192.168.100.150
s=RTSP/RTP stream from LUMENS
i=h264
t=0 0
a=tool:LIVE555 Streaming Media v2011.05.25
a=type:broadcast
a=control:*
a=range:npt=0-
a=x-qt-text-nam:RTSP/RTP stream from LUMENS
a=x-qt-text-inf:h264
m=video 0 RTP/AVP 96
c=IN IP4 0.0.0.0
b=AS:12000
a=rtpmap:96 H264/90000
a=fmtp:96 packetization-mode=1;profile-level-id=64001F;sprop-parameter-sets=Z2QAH62EBUViuKxUdCAqKxXFYqOhAVFYrisVHQgKisVxWKjoQFRWK4rFR0ICorFcVio6ECSZOTyfJ+T+T8nyebmzTQgSTJyeT5Pyfyfk+Tzc2aa0AgAw2AqkAAADAAQAAAMA8YEAAehIAAIlUL3vheEQjUAAAAAB,aM48sA==
a=control:track1
[00007fec7c003bb8] live555 demux debug: RTP subsession 'video/H264'
Sending request: SETUP rtsp://192.168.1.52:8557/h264/track1 RTSP/1.0
CSeq: 5
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="6954c67affd767241fe2a4756e4e18a5", uri="rtsp://192.168.1.52:8557/h264/", response="66a5df5a1820ea6884700c1520e2646c"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Transport: RTP/AVP/TCP;unicast;interleaved=0-1
Received 178 new bytes of response data.
Received a complete SETUP response:
RTSP/1.0 200 OK
CSeq: 5
Date: Fri, Mar 20 2015 19:05:12 GMT
Transport: RTP/AVP/TCP;unicast;destination=90.216.75.243;source=192.168.1.52;interleaved=0-1
Session: 25A66787
[00007fec7c00ee98] core decoder debug: looking for decoder module matching "any": 45 candidates
[00007fec7c00ee98] avcodec decoder debug: CPU flags: 0x000053db
[00007fec7c00ee98] avcodec decoder debug: trying to use direct rendering
[00007fec7c00ee98] avcodec decoder debug: allowing 4 thread(s) for decoding
[00007fec7c00ee98] avcodec decoder debug: avcodec codec (H264 - MPEG-4 AVC (part 10)) started
[00007fec7c00ee98] avcodec decoder debug: using frame thread mode with 4 threads
[00007fec7c00ee98] core decoder debug: using decoder module "avcodec"
[00007fec7c00e158] core packetizer debug: looking for packetizer module matching "any": 23 candidates
[00007fec7c00e158] packetizer_h264 packetizer debug: found NAL_SPS (sps_id=0)
[00007fec7c00e158] packetizer_h264 packetizer debug: found NAL_PPS (pps_id=0 sps_id=0)
[00007fec7c00e158] core packetizer debug: using packetizer module "packetizer_h264"
[00007fec7c003bb8] live555 demux debug: setup start: 0.000000 stop:0.000000
Sending request: PLAY rtsp://192.168.1.52:8557/h264/ RTSP/1.0
CSeq: 6
Authorization: Digest username="admin", realm="LIVE555 Streaming Media", nonce="6954c67affd767241fe2a4756e4e18a5", uri="rtsp://192.168.1.52:8557/h264/", response="f07b5e18be8ac5d0d355365c29d728d9"
User-Agent: LibVLC/2.2.1 (LIVE555 Streaming Media v2014.01.13)
Session: 25A66787
Range: npt=0.000-
Received a complete PLAY response:
RTSP/1.0 200 OK
CSeq: 6
Date: Fri, Mar 20 2015 19:05:12 GMT
Range: npt=0.000-
Session: 25A66787
RTP-Info: url=rtsp://192.168.1.52:8557/h264/track1;seq=62286;rtptime=682766334
[00007fec7c003bb8] live555 demux debug: play start: 0.000000 stop:0.000000
[00007fecf43b8ce8] core input debug: Buffering 0%
[00007fecf43b8ce8] core input debug: Buffering 0%
[00007fecf43b8ce8] core input debug: Buffering 0%
[00007fecf43b8ce8] core input debug: Buffering 0%
[00007fecf43b8ce8] core input debug: Buffering 0%
[00007fecf43b8ce8] core input debug: Buffering 30%
[00007fecf43b8ce8] core input debug: Buffering 39%
[00007fecf43b8ce8] core input debug: Buffering 44%
[00007fecf43b8ce8] core input debug: Buffering 49%
[00007fecf43b8ce8] core input debug: Buffering 54%
[00007fecf43b8ce8] core input debug: Buffering 59%
[00007fecf43b8ce8] core input debug: Buffering 64%
[00007fecf43b8ce8] core input debug: Buffering 69%
[00007fecf43b8ce8] core input debug: Buffering 74%
[00007fecf43b8ce8] core input debug: Buffering 79%
[00007fecf43b8ce8] core input debug: Buffering 84%
[00007fecf43b8ce8] core input debug: Buffering 89%
[00007fecf43b8ce8] core input debug: Buffering 94%
[00007fecf43b8ce8] core input debug: Buffering 99%
[00007fecf43b8ce8] core input debug: Stream buffering done (1041 ms in 1058 ms)
[00007fecf43b8ce8] core input debug: Decoder wait done in 0 ms
[00007fec7c003bb8] live555 demux debug: tk->rtpSource->hasBeenSynchronizedUsingRTCP()
[00007fecf43b8ce8] core input error: ES_OUT_RESET_PCR called
[00007fecf43b8ce8] core input debug: Buffering 0%
[00007fecf43b8ce8] core input debug: Buffering 4%
[00007fecf43b8ce8] core input debug: Buffering 9%
[00007fecf43b8ce8] core input debug: Buffering 14%
[00007fecf43b8ce8] core input debug: Buffering 20%
[00007fecf43b8ce8] core input debug: Buffering 25%
[00007fecf43b8ce8] core input debug: Buffering 30%
[00007fecf43b8ce8] core input debug: Buffering 35%
[00007fecf43b8ce8] core input debug: Buffering 40%
[00007fecf43b8ce8] core input debug: Buffering 45%
[00007fecf43b8ce8] core input debug: Buffering 50%
[00007fecf43b8ce8] core input debug: Buffering 55%
[00007fecf43b8ce8] core input debug: Buffering 55%
[00007fecf43b8ce8] core input debug: Buffering 55%
[00007fecf43b8ce8] core input debug: Buffering 69%
[00007fecf43b8ce8] core input debug: Buffering 74%
[00007fecf43b8ce8] core input debug: Buffering 79%
[00007fecf43b8ce8] core input debug: Buffering 84%
[00007fecf43b8ce8] core input debug: Buffering 88%
[00007fecf43b8ce8] core input debug: Buffering 93%
[00007fecf43b8ce8] core input debug: Buffering 98%
[00007fecf43b8ce8] core input debug: Stream buffering done (1039 ms in 1052 ms)
[00007fecf43b8ce8] core input debug: Decoder wait done in 0 ms
It just worked...
I am using Linux, if you're using Windows there might be some issues but I don't know - if there were issues, it would be related to VLC not vlcj.
OK - (Linux rocks as always but the project requirement is Windows 8.1 so i failed to use Fedora or Ubuntu)
run:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
true
2.1.5 Rincewind
JavaVM WARNING: JAWT_GetAWT must be called after loading a JVM
Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: Can't load JAWT
at com.sun.jna.Native.getWindowHandle0(Native Method)
at com.sun.jna.Native$AWT.getComponentID(Native.java:1879)
at com.sun.jna.Native.getComponentID(Native.java:253)
at uk.co.caprica.vlcj.player.embedded.videosurface.CanvasVideoSurface.attach(CanvasVideoSurface.java:76)
at uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer.attachVideoSurface(DefaultEmbeddedMediaPlayer.java:162)
at uk.co.caprica.vlcj.player.embedded.DefaultEmbeddedMediaPlayer.onBeforePlay(DefaultEmbeddedMediaPlayer.java:327)
at uk.co.caprica.vlcj.player.DefaultMediaPlayer.play(DefaultMediaPlayer.java:781)
at uk.co.caprica.vlcj.player.DefaultMediaPlayer.playMedia(DefaultMediaPlayer.java:254)
at v.Rtsp.start(Rtsp.java:67)
at v.Rtsp.access$000(Rtsp.java:17)
at v.Rtsp$1.run(Rtsp.java:35)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:749)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:702)
at java.awt.EventQueue$3.run(EventQueue.java:696)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:75)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:719)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
BUILD STOPPED (total time: 29 seconds)
I don't know what you should do, but vlcj does not play RTSP differently on Linux vs Windows, so I fear you're looking in the wrong direction to resolve this error.
For your OSX comment, see #205.
OK - Thank you. The good news is it works for you so it should work in Windows 8.1 too. I will check further. Thank you for your support, very appreciating.
Good luck! I don't have access to Win 8.1 otherwise I'd try it for you.
You could also try VLC 3.0.0 nightly build for Windows. Not ideal but there are often RTSP/Live555 changes in the commit logs.
OK - i will try those. thank you
I have used VLC 3.0.0 nightly (http://nightlies.videolan.org/build/win64/last/ ) but still same problem in Windows 8.1
[00000000007ed150] core libvlc debug: VLC media player - 3.0.0-git-20150321-0403 Vetinari
[00000000007ed150] core libvlc debug: Copyright © 1996-2015 the VideoLAN team
[00000000007ed150] core libvlc debug: revision 2.2.0-git-2688-g936279b
[00000000007ed150] core libvlc debug: configured with ../extras/package/win32/../../../configure '--enable-update-check' '--enable-lua' '--enable-faad' '--enable-flac' '--enable-theora' '--enable-twolame' '--enable-quicktime' '--enable-avcodec' '--enable-merge-ffmpeg' '--enable-dca' '--enable-mpc' '--enable-libass' '--enable-x264' '--enable-schroedinger' '--enable-realrtsp' '--enable-live555' '--enable-dvdread' '--enable-shout' '--enable-goom' '--enable-caca' '--disable-sdl' '--enable-qt' '--enable-skins2' '--enable-sse' '--enable-mmx' '--enable-libcddb' '--enable-zvbi' '--disable-telx' '--enable-nls' '--host=x86_64-w64-mingw32' '--enable-debug' 'host_alias=x86_64-w64-mingw32'
[00000000007ed150] core libvlc debug: using multimedia timers as clock source
[00000000007ed150] core libvlc debug: min period: 1 ms, max period: 1000000 ms
[00000000007ed150] core libvlc debug: searching plug-in modules
[00000000007ed150] core libvlc debug: loading plugins cache file C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[00000000007ed150] core libvlc debug: recursively browsing `C:\Program Files\VideoLAN\VLC\plugins'
[00000000007ed150] core libvlc warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\libdshow_plugin.dll' (Kan opgegeven module niet vinden. (error 126))
[00000000007ed150] core libvlc debug: saving plugins cache C:\Program Files\VideoLAN\VLC\plugins\plugins.dat
[00000000007ed150] core libvlc debug: plug-ins loaded: 424 modules
[00000000007ec110] core logger debug: looking for logger module matching "any": 2 candidates
[00000000007ec110] core logger debug: using logger module "console"
[00000000007ed150] core libvlc debug: translation test: code is "nl"
[00000000007ed150] core libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[000000000e8c5e10] core generic debug: creating audio output
[000000000e8d6c70] core audio output debug: looking for audio output module matching "any": 6 candidates
[000000000e8d6c70] mmdevice audio output debug: using default device
[000000000e8d6c70] mmdevice audio output debug: [000000000e8d6c70] display name changed: VLC media player (LibVLC 3.0.0-mmdevice audio outpugit-20150321-0403)
t debug: version 2 session control unavailable
[000000000e8d6c70] mmdevice audio output debug: volume from -96.000000 dB to +0.000000 dB with 1.500000 dB increments
[000000000e8d6c70] core audio output debug: using audio output module "mmdevice"
[000000000e8c5e10] core generic debug: keeping audio output
[000000000e906410] core input debug: Creating an input for 'rtsp://192.168.1.52:8557/h264'
[000000000e906410] core input debug: using timeshift granularity of 50 MiB, in path 'C:\Users\sunuser\AppData\Local\Temp'
[000000000e906410] core input debug: `rtsp://admin:9999@192.168.1.52:8557/h264' gives access `rtsp' demux `' path `admin:9999@192.168.1.52:8557/h264'
[000000000e906410] core input debug: specified demux `any'
[000000000e906410] core input debug: creating demux: access='rtsp' demux='any' location='admin:9999@192.168.1.52:8557/h264' file='\\admin:9999@192.168.1.52:8557\h264'
[000000000e918620] core demux debug: looking for access_demux module matching "rtsp": 11 candidates
[000000000e918620] core demux warning: cannot load module `C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll' (Kan opgegeven module niet vinden. (error 126))
[000000000e918620] core demux error: corrupt module: C:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll
[000000000e918620] core demux debug: no access_demux modules matched
[000000000e906410] core input debug: creating access 'rtsp' location='admin:9999@192.168.1.52:8557/h264', path='\\admin:9999@192.168.1.52:8557\h264'
[000000000ea25fa0] core access debug: looking for access module matching "rtsp": 20 candidates
[000000000ea25fa0] core access debug: net: conn
BUILD STOPPED (total time: 1 minute 45 seconds)
The only other thing then is to try a 32-bit JVM and 32-bit VLC.
In any case, I am now certain this is not something that can be fixed in vlcj itself.
That also failed in Windows 8.1. I have also consulted with VLC community, they said its not VLC issue because when i use RTSP stream using VLC itself then it works which means it is not caused by VLC itself. VLC community member said to contact author.
I think i should try the VLC-Qt and C++ binding in Windows 8.1 to see if that works. If those all fail, then it confirms that the windows VLC has problems.
So it works on Linux, and without code changes it doesn't work on Windows...
vlcj has no different code paths for Linux vs Windows here... doesn't add up.
Look at BareBonesTest in the vlcj test sources and try that. It would be dead easy to reimplement that in "C" too.
OK
Something like this...
// gcc -std=c99 -I/home/linux/vlc/vlc/include -o test test.c `pkg-config --cflags --libs libvlc`
#include <unistd.h>
#include <vlc/vlc.h>
#include <vlc/libvlc.h>
int main (int argc, char **argv)
{
libvlc_instance_t *vlc;
libvlc_media_player_t *mp;
libvlc_media_t *m;
vlc = libvlc_new (0, NULL);
mp = libvlc_media_player_new (vlc);
m = libvlc_media_new_path(vlc, argv[0]);
libvlc_media_player_set_media(mp, m);
libvlc_media_player_play(mp);
sleep(30000);
libvlc_media_player_stop(mp);
libvlc_media_release(m);
libvlc_media_player_release (mp);
libvlc_release (vlc);
return 0;
}
I am also getting the same streaming issue as @shamun (Windows 7, VLC 64-bit 2.2.0 and 2.2.1). It seems to be an issue with a recent Windows 64-bit build. I am running 64-bit JVM and don't want to switch to 32-bit, so I uninstalled my current VLC 64-bit build (both 2.2.0 and 2.2.1 gave me the error below) and downgraded (as @shamun proposed Mar 20) to 2.1.2 64-bit and it works with no issue; my Java program starts the RTSP stream as expected. So, I guess this discussion should be on a VLC forum, but just wanted to give some feedback.
[000000000054dde0] core demux error: corrupt module: c:\Program Files\VideoLAN\VLC\plugins\access\liblive555_plugin.dll [000000000059a340] core input error: open of `rtsp://10.8.23.21:554' failed [000000000059a340] core input error: Your input can't be opened [000000000059a340] core input error: VLC is unable to open the MRL 'rtsp://10.8.23.21:554'. Check the log for details.
For "corrupt module" errors, the source is vlc/src/modules/bank.c.
That error is reported when VLC fails to load one of its modules. There is no vlcj involved here, there is no Java involved here.
But indeed, yes, thanks for the feedback especially confirming the workaround.
Right, my bad, what I meant to say was "...a recent VLC Windows 64-bit build."
I also put a post on VLC's Windows forum
No... I knew what you meant. I was just reiterating there's nothing can be fixed in vlcj to make this problem go away.
I have the same problem on windows 8.1, with rtsp://admin:pass@ipadress. If some body solved it, please let me know.
I ran into a similar problem where liblive555_plugin.dll
was reported as a corrupt module when trying to use an RTSP stream on 64-bit Windows. For some reason, copying the DLLs from C:\Program Files\VideoLAN\VLC
to the root directory of my project fixed the problem and I can now use RTSP. Only the DLLs in the VLC directory, not the plugins. I'm not sure why this worked.
Interesting... thanks for the tip.
thanks, i'm going to try...
When i play C:\loop.mp4 it works. But when i playing rtsp://admin:9999@ip:port/h264 its failing
When it works:
When its failing (dutch):
Any idea, why its failing to play it? (manually the url plays with VLC itself)