VLC 1.2 can't play RTSP!
Posted: 04 Feb 2011 03:30
So I built the latest VLC from trunk and it can no longer play any RTSP streams! If I downgrade the version to 1.1.7 then the stream plays fine.
I basically followed the instructions here to build VLC from git:
http://ubuntuforums.org/showthread.php?t=1398119
Here is the log I get when trying to play an RTSP stream from the command line:
I tried with different versions of Live555 (up to live.2011.01.24.tar.gz) but with no difference - I am still getting segmentation fault!
I know that 1.2 trunk is not stable yet but is this a known problem that is going to be corrected anytime soon ?
I basically followed the instructions here to build VLC from git:
http://ubuntuforums.org/showthread.php?t=1398119
Here is the log I get when trying to play an RTSP stream from the command line:
Code: Select all
vlc -vvvv -I dummy "rtsp://wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8"
VLC media player 1.2.0-git Twoflower (revision 8acffd0)
[0x91f315c] main libvlc debug: VLC media player - 1.2.0-git Twoflower
[0x91f315c] main libvlc debug: Copyright © 1996-2010 the VideoLAN team
[0x91f315c] main libvlc debug: revision 8acffd0
[0x91f315c] main libvlc debug: configured with ./configure '--enable-loader' '--prefix=/usr/local' '--with-live555-tree=/home/ubuntu/vlc_build/live' '--enable-real' '--enable-realrtsp' '--enable-aa' '--enable-snapshot' '--enable-merge-ffmpeg' '--enable-vcdx' '--disable-mkv' 'PKG_CONFIG_PATH=/home/ubuntu/vlc_build/vlcdeps/usr/lib/pkgconfig'
[0x91f315c] main libvlc debug: translation test: code is "C"
[0x91f315c] main libvlc debug: checking plugin modules
[0x91f315c] main libvlc debug: loading plugins cache file /usr/local/lib/vlc/plugins/plugins-04041e-fe8.dat
[0x91f315c] main libvlc warning: cannot read /usr/local/lib/vlc/plugins/plugins-04041e-fe8.dat (No such file or directory)
[0x91f315c] main libvlc debug: recursively browsing `/usr/local/lib/vlc/plugins'
[0x91f315c] main libvlc debug: saving plugins cache /usr/local/lib/vlc/plugins/plugins-04041e-fe8.dat
[0x91f315c] main libvlc debug: module bank initialized (400 modules)
[0x91f315c] main libvlc debug: opening config file (/home/ubuntu/.config/vlc/vlcrc)
[0x91f315c] main libvlc debug: CPU has capabilities MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 FPU
[0x91f315c] main libvlc debug: looking for memcpy module: 3 candidates
[0x91f315c] main libvlc debug: using memcpy module "memcpymmxext"
[0x937e33c] main input debug: Creating an input for 'Media Library'
[0x937e33c] main input debug: Input is a meta file: disabling unneeded options
[0x937e33c] main input debug: using timeshift granularity of 50 MiB
[0x937e33c] main input debug: using timeshift path '/tmp'
[0x937e33c] main input debug: `file/xspf-open:///home/ubuntu/.local/share/vlc/ml.xspf' gives access `file' demux `xspf-open' path `/home/ubuntu/.local/share/vlc/ml.xspf'
[0x937e33c] main input debug: creating demux: access='file' demux='xspf-open' location='/home/ubuntu/.local/share/vlc/ml.xspf' file='/home/ubuntu/.local/share/vlc/ml.xspf'
[0x936ced4] main demux debug: looking for access_demux module: 2 candidates
[0x936ced4] main demux debug: no access_demux module matching "file" could be loaded
[0x936ced4] main demux debug: TIMER module_need() : 0.104 ms - Total 0.104 ms / 1 intvls (Avg 0.104 ms)
[0x937e33c] main input debug: creating access 'file' location='/home/ubuntu/.local/share/vlc/ml.xspf', path='/home/ubuntu/.local/share/vlc/ml.xspf'
[0x936d01c] main access debug: looking for access module: 2 candidates
[0x936d01c] filesystem access debug: opening file `/home/ubuntu/.local/share/vlc/ml.xspf'
[0x936d01c] main access debug: using access module "filesystem"
[0x936d01c] main access debug: TIMER module_need() : 0.093 ms - Total 0.093 ms / 1 intvls (Avg 0.093 ms)
[0x936d104] main stream debug: Using AStream*Stream
[0x936d104] main stream debug: pre buffering
[0x936d104] main stream debug: received first data after 0 ms
[0x936d104] main stream debug: pre-buffering done 296 bytes in 0s - 18066 KiB/s
[0x936d2ac] main stream debug: looking for stream_filter module: 6 candidates
[0x936d2ac] main stream debug: no stream_filter module matching "any" could be loaded
[0x936d2ac] main stream debug: TIMER module_need() : 0.077 ms - Total 0.077 ms / 1 intvls (Avg 0.077 ms)
[0x936d2ac] main stream debug: looking for stream_filter module: 1 candidate
[0x936d2ac] main stream debug: using stream_filter module "stream_filter_record"
[0x936d2ac] main stream debug: TIMER module_need() : 0.058 ms - Total 0.058 ms / 1 intvls (Avg 0.058 ms)
[0x937e33c] main input debug: creating demux: access='file' demux='xspf-open' location='/home/ubuntu/.local/share/vlc/ml.xspf' file='/home/ubuntu/.local/share/vlc/ml.xspf'
[0x936d50c] main demux debug: looking for demux module: 1 candidate
[0x936d50c] playlist demux debug: using XSPF playlist reader
[0x936d50c] main demux debug: using demux module "playlist"
[0x936d50c] main demux debug: TIMER module_need() : 0.076 ms - Total 0.076 ms / 1 intvls (Avg 0.076 ms)
[0x936d6cc] main demux meta debug: looking for meta reader module: 2 candidates
[0x936d6cc] lua demux meta debug: Trying Lua scripts in /home/ubuntu/.local/share/vlc/lua/meta/reader
[0x936d6cc] lua demux meta debug: Trying Lua scripts in /usr/local/lib/vlc/lua/meta/reader
[0x936d6cc] lua demux meta debug: Trying Lua playlist script /usr/local/lib/vlc/lua/meta/reader/filename.luac
[0x936d6cc] lua demux meta debug: Trying Lua scripts in /usr/local/share/vlc/lua/meta/reader
[0x936d6cc] main demux meta debug: no meta reader module matching "any" could be loaded
[0x936d6cc] main demux meta debug: TIMER module_need() : 0.648 ms - Total 0.648 ms / 1 intvls (Avg 0.648 ms)
[0x937e33c] main input debug: `file/xspf-open:///home/ubuntu/.local/share/vlc/ml.xspf' successfully opened
[0x92170ec] main xml reader debug: looking for xml reader module: 2 candidates
[0x92170ec] main xml reader debug: using xml reader module "xml"
[0x92170ec] main xml reader debug: TIMER module_need() : 0.178 ms - Total 0.178 ms / 1 intvls (Avg 0.178 ms)
[0x936d50c] playlist demux debug: parsed 0 tracks successfully
[0x937e33c] main input debug: EOF reached
[0x936d50c] main demux debug: removing module "playlist"
[0x936d2ac] main stream debug: removing module "stream_filter_record"
[0x936d01c] main access debug: removing module "filesystem"
[0x937e33c] main input debug: TIMER input launching for 'Media Library' : 1.559 ms - Total 1.559 ms / 1 intvls (Avg 1.559 ms)
[0x936eb14] main interface debug: looking for interface module: 1 candidate
[0x936eb14] main interface debug: using interface module "hotkeys"
[0x936eb14] main interface debug: TIMER module_need() : 0.089 ms - Total 0.089 ms / 1 intvls (Avg 0.089 ms)
[0x936ec64] main interface debug: looking for interface module: 1 candidate
Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
[0x936ec64] inhibit interface error: Failed to connect to the D-Bus session daemon: /bin/dbus-launch terminated abnormally with the following error: Autolaunch error: X11 initialization failed.
[0x936ec64] main interface debug: no interface module matching "inhibit,none" could be loaded
[0x936ec64] main interface debug: TIMER module_need() : 5.272 ms - Total 5.272 ms / 1 intvls (Avg 5.272 ms)
[0x936ec64] main interface error: no suitable interface module
[0x93716dc] main playlist debug: Activated
[0x93716dc] main playlist debug: adding item `rtsp://wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8' ( rtsp://wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8 )
[0x9372a94] main interface debug: looking for interface module: 1 candidate
[0x9372a94] main interface debug: no interface module matching "globalhotkeys,none" could be loaded
[0x9372a94] main interface debug: TIMER module_need() : 0.522 ms - Total 0.522 ms / 1 intvls (Avg 0.522 ms)
[0x9372a94] main interface error: no suitable interface module
[0x91f315c] main libvlc error: interface "globalhotkeys,none" initialization failed
[0x9372a94] main interface debug: looking for interface module: 1 candidate
[0x9372a94] dummy interface: using the dummy interface module...
[0x9372a94] main interface debug: using interface module "dummy"
[0x9372a94] main interface debug: TIMER module_need() : 0.072 ms - Total 0.072 ms / 1 intvls (Avg 0.072 ms)
[0x93716dc] main playlist debug: rebuilding array of current - root Playlist
[0x93716dc] main playlist debug: rebuild done - 1 items, index -1
[0x93716dc] main playlist debug: processing request item null node Playlist skip 0
[0x93716dc] main playlist debug: starting new item
[0x93716dc] main playlist debug: creating new input thread
[0x9373554] main input debug: Creating an input for 'rtsp://wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8'
[0x9373554] main input debug: thread (input) created at priority 10 (input/input.c:215)
[0x9373554] main input debug: thread started
[0x9373554] main input debug: using timeshift granularity of 50 MiB
[0x9373554] main input debug: using timeshift path '/tmp'
[0x9373554] main input debug: `rtsp://wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8' gives access `rtsp' demux `' path `wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8'
[0x9373554] main input debug: creating demux: access='rtsp' demux='' location='wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8' file='(null)'
[0x936d654] main demux debug: looking for access_demux module: 1 candidate
Opening connection to 212.58.251.90, port 554...
...remote connection opened
Sending request: OPTIONS rtsp://wmlive.bbc.net.uk/wms/england/lrnewcastle?bbc-uid=b4dca8ae8db69bc0602ab7d581cb564ea94f985160507261c208a094c32c90b8 RTSP/1.0
CSeq: 2
User-Agent: LibVLC/1.2.0-git (LIVE555 Streaming Media v2011.01.05)
Received 277 new bytes of response data.
Received a complete OPTIONS response:
RTSP/1.0 200 OK
Supported: com.microsoft.wm.srvppair, com.microsoft.wm.sswitch, com.microsoft.wm.eosmsg, com.microsoft.wm.fastcache, com.microsoft.wm.packetpairssrc, com.microsoft.wm.startupprofile
Date: Fri, 04 Feb 2011 02:26:57 GMT
CSeq: 2
Server: WMServer/9.1.1.5001
Segmentation fault
I know that 1.2 trunk is not stable yet but is this a known problem that is going to be corrected anytime soon ?