Hello
I'm still having a problem with vlc-0.9.0 and openSUSE-10.2
What I did now is I compiled vlc-0.9.0 myself but I am still not able to display a rtsp stream from my AXIS camera.
Can anyone tell me which configure options are required for vlc-0.9.0-trunk as well as for ffmpeg?
Here is what I did:
1. I compiled ffmpeg with the following configuration
Code: Select all
./configure --enable-gpl --enable-pp --enable-libfaac --enable-libmp3lame --enable-pthreads --disable-vhook
2. I compiled vlc-0.9.0-trunk with the following configuration
Code: Select all
./configure --prefix=/usr --enable-debug \
--enable-live555 --with-live555-tree=./extras/live555-2007.01.11 \
--with-ffmpeg-tree=./extras/ffmpeg-0.4.9.9778 \
--with-ffmpeg-mp3lame --with-ffmpeg-faac \
--enable-skins2 --enable-qt4 --enable-realrtsp \
--enable-ncurses --enable-v4l --enable-dvb \
--enable-lirc --enable-theora --enable-faad \
--enable-galaktos --enable-goom --enable-snapshot \
--enable-aa --enable-jack \
--enable-x264 --with-x264-tree=./extras/x264-trunk
3. When running vlc I get the following output:
Code: Select all
ss@pc-ss2:~/vlc/vlc-trunk3> ./vlc rtsp://192.168.1.6/mpeg4/media.amp
VLC media player 0.9.0-svn Grishenko
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX MMXEXT SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 3 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000332] main playlist debug: adding item `Media Library' ( file/xspf-open:///home/ss/.local/share/vlc/ml.xsp )
[00000333] main input debug: `file/xspf-open:///home/ss/.local/share/vlc/ml.xsp' gives access `file' demux `xspf-open' path `/home/ss/.local/share/vlc/ml.xsp'
[00000333] main input debug: creating access 'file' path='/home/ss/.local/share/vlc/ml.xsp'
[00000334] main access debug: looking for access2 module: 2 candidates
[00000334] access_directory access debug: opening directory `/home/ss/.local/share/vlc/ml.xsp'
[00000334] access_directory access debug: skipping non-directory `/home/ss/.local/share/vlc/ml.xsp'
[00000334] access_file access debug: opening file `/home/ss/.local/share/vlc/ml.xsp'
[00000334] main access debug: using access2 module "access_file"
[00000338] main private debug: pre-buffering...
[00000338] main private debug: received first data for our buffer
[00000333] main input debug: creating demux: access='file' demux='xspf-open' path='/home/ss/.local/share/vlc/ml.xsp'
[00000339] main demuxer debug: looking for demux2 module: 1 candidate
[00000339] playlist demuxer debug: using XSPF playlist reader
[00000339] main demuxer debug: using demux2 module "playlist"
[00000333] main input debug: `file/xspf-open:///home/ss/.local/share/vlc/ml.xsp' successfully opened
[00000353] main private debug: looking for xml module: 2 candidates
[00000353] main private debug: using xml module "xml"
[00000332] main playlist debug: deleting item `Media Library'
[00000339] playlist demuxer debug: parsed 1 tracks successfully
[00000353] main private debug: removing module "xml"
[00000333] main input debug: control type=1
[00000339] main demuxer debug: removing module "playlist"
[00000334] main access debug: removing module "access_file"
[00000355] main private debug: waiting for thread completion
[00000355] main private debug: thread 3071556496 (preparser) created at priority 0 (playlist/thread.c:81)
[00000356] main private debug: waiting for thread completion
[00000356] main private debug: thread 3057453968 (fetcher) created at priority 0 (playlist/thread.c:107)
[00000332] main playlist debug: waiting for thread completion
[00000332] main playlist debug: rebuilding array of current - root Playlist
[00000332] main playlist debug: rebuild done - 0 items, index -1
[00000332] main playlist debug: thread 3049061264 (playlist) created at priority 0 (playlist/thread.c:117)
[00000357] main interface debug: looking for interface module: 1 candidate
[00000357] main interface debug: using interface module "hotkeys"
[00000357] main interface debug: thread 3040668560 (interface) created at priority 0 (interface/interface.c:190)
[00000359] main interface debug: looking for interface module: 1 candidate
[00000359] main interface debug: using interface module "screensaver"
[00000359] main interface debug: thread 3032275856 (interface) created at priority 0 (interface/interface.c:190)
[00000332] main playlist debug: adding item `rtsp://192.168.1.6/mpeg4/media.amp' ( rtsp://192.168.1.6/mpeg4/media.amp )
[00000361] main interface debug: looking for interface module: 4 candidates
[00000361] main interface debug: using interface module "qt4"
[00000361] main interface debug: thread 3015429008 (interface) created at priority 0 (interface/interface.c:190)
[00000332] main playlist debug: rebuilding array of current - root Playlist
[00000332] main playlist debug: rebuild done - 1 items, index -1
[00000332] main playlist debug: starting new item
[00000332] main playlist debug: changing item without a request (current -1/1)
[00000332] main playlist debug: using item 0
[00000332] main playlist debug: creating new input thread
[00000364] main input debug: waiting for thread completion
[00000364] main input debug: `rtsp://192.168.1.6/mpeg4/media.amp' gives access `rtsp' demux `' path `192.168.1.6/mpeg4/media.amp'
[00000364] main input debug: creating demux: access='rtsp' demux='' path='192.168.1.6/mpeg4/media.amp'
[00000365] main demuxer debug: looking for access_demux module: 1 candidate
[00000364] main input debug: thread 3004402576 (input) created at priority 0 (input/input.c:329)
[00000332] main playlist debug: requesting art for rtsp://192.168.1.6/mpeg4/media.amp
Sending request: OPTIONS rtsp://192.168.1.6/mpeg4/media.amp RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2007.01.11)
Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN
Sending request: DESCRIBE rtsp://192.168.1.6/mpeg4/media.amp RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2007.01.11)
Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 2
Content-Base: rtsp://192.168.1.6:554/mpeg4/media.amp/
Content-Type: application/sdp
Content-Length: 712
Need to read 712 extra bytes
Read 712 extra bytes: v=0
o=- 7384925627 7384925637 IN IP4 192.168.1.6
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:3000
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod: "data:application/mpeg4-iod;base64,AoDUAE8BAf/0AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBTGNiQUFDM0d3QVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="
a=isma-compliance:1,1.0,1
m=video 0 RTP/AVP 96
b=AS:3000
a=framerate:15.0
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=244; config=000001B0F4000001B5891300000100000001200086C40FA28A021E0A21
a=mpeg4-esid:201
[00000357] main interface debug: thread -1254298736: possible condition deadlock at misc/objects.c:472 (Connection timed out)
[00000332] main playlist debug: thread -1245906032: possible condition deadlock at playlist/thread.c:203 (Connection timed out)
[00000355] main private debug: thread -1223410800: possible condition deadlock at playlist/engine.c:485 (Connection timed out)
[00000332] main playlist debug: searching art for rtsp://192.168.1.6/mpeg4/media.amp
[00000332] main playlist debug: looking for art finder module: 2 candidates
[00000332] lua playlist debug: Trying Lua scripts in /home/ss/.local/share/vlc/luameta
[00000332] lua playlist debug: Trying Lua scripts in share/luameta
[00000332] lua playlist debug: Trying Lua playlist script share/luameta/googleimage.lua
[00000332] main playlist debug: creating access 'http' path='images.google.com/images?q=rtsp%3A%2F%2F192%2E168%2E1%2E6%2Fmpeg4%2Fmedia'
[00000372] main access debug: looking for access2 module: 2 candidates
[00000372] access_http access debug: http: server='images.google.com' port=80 file='/images?q=rtsp%3A%2F%2F192%2E168%2E1%2E6%2Fmpeg4%2Fmedia
[00000372] main access debug: net: connecting to images.google.com port 80
[00000372] main access debug: connection in progress
[00000372] access_http access debug: protocol 'HTTP' answer code 200
[00000372] access_http access debug: Content-Type: text/html; charset=ISO-8859-1
[00000372] access_http access debug: Server: gws
[00000372] access_http access debug: Transfer-Encoding: chunked
[00000372] main access debug: using access2 module "access_http"
[00000374] main private debug: pre-buffering...
[00000374] main private debug: received first data for our buffer
[00000372] main access debug: removing module "access_http"
[00000332] main playlist debug: unable to find art
[00000332] main playlist debug: art not found for rtsp://192.168.1.6/mpeg4/media.amp
[00000356] main private debug: thread -1237513328: possible condition deadlock at playlist/engine.c:600 (Connection timed out)
[00000365] live555 demuxer debug: RTP subsession 'video/MP4V-ES'
Sending request: SETUP rtsp://192.168.1.6:554/mpeg4/media.amp/trackID=1 RTSP/1.0
CSeq: 3
Transport: RTP/AVP;unicast;client_port=1694-1695
User-Agent: VLC media player (LIVE555 Streaming Media v2007.01.11)
Received SETUP response: RTSP/1.0 200 OK
CSeq: 3
Session: 1899516530
Transport: RTP/AVP;unicast;client_port=1694-1695;server_port=50010-50011;ssrc=0B81B1B1;mode="PLAY"
[00000364] main input debug: selecting program id=0
[00000365] live555 demuxer debug: setup start: -1 stop:-1
Sending request: PLAY rtsp://192.168.1.6:554/mpeg4/media.amp/ RTSP/1.0
CSeq: 4
Session: 1899516530
User-Agent: VLC media player (LIVE555 Streaming Media v2007.01.11)
Received PLAY response: RTSP/1.0 200 OK
CSeq: 4
Session: 1899516530
Range: npt=now-
RTP-Info: url=trackID=1;seq=58063;rtptime=2564077818
[00000365] live555 demuxer debug: We have a timeout of 60 seconds
[00000375] main private debug: waiting for thread completion
[00000375] main private debug: thread 2993621904 (liveMedia-timeout) created at priority 0 (live555.cpp:909)
[00000365] live555 demuxer debug: spawned timeout thread
[00000365] live555 demuxer debug: play start: -1 stop:-1
[00000365] main demuxer debug: using access_demux module "live555"
[00000376] main decoder debug: looking for decoder module: 27 candidates
[00000376] ffmpeg decoder debug: libavcodec initialized (interface 3352580 )
[00000376] ffmpeg decoder debug: postprocessing disabled
[00000376] ffmpeg decoder debug: using direct rendering
[00000376] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000376] main decoder debug: using decoder module "ffmpeg"
[00000376] main decoder debug: thread 2975841168 (decoder) created at priority 0 (input/decoder.c:190)
[00000364] main input debug: `rtsp://192.168.1.6/mpeg4/media.amp' successfully opened
[00000364] main input debug: control type=1
[00000376] main decoder debug: thread -1319126128: possible condition deadlock at misc/block.c:257 (Connection timed out)
[00000361] main interface debug: thread 3015429008 joined (libvlc-common.c:1148)
[00000361] main interface debug: removing module "qt4"
[00000001] main libvlc debug: removing all interfaces
[00000359] main interface debug: thread 3032275856 joined (interface/interface.c:213)
[00000359] main interface debug: removing module "screensaver"
[00000357] main interface debug: thread 3040668560 joined (interface/interface.c:213)
[00000357] main interface debug: removing module "hotkeys"
[00000001] main libvlc debug: removing playlist
[00000355] main private debug: thread 3071556496 joined (playlist/thread.c:149)
[00000356] main private debug: thread 3057453968 joined (playlist/thread.c:159)
[00000364] main input debug: control type=0
[00000364] main input debug: control: stopping input
Sending request: TEARDOWN rtsp://192.168.1.6:554/mpeg4/media.amp/ RTSP/1.0
CSeq: 5
Session: 1899516530
User-Agent: VLC media player (LIVE555 Streaming Media v2007.01.11)
Received TEARDOWN response: RTSP/1.0 200 OK
CSeq: 5
Session: 1899516530
[00000375] main private debug: thread 2993621904 joined (live555.cpp:411)
[00000365] main demuxer debug: removing module "live555"
[00000376] ffmpeg decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000376] main decoder debug: removing module "ffmpeg"
[00000376] main decoder debug: thread 2975841168 joined (input/decoder.c:221)
[00000376] main decoder debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000364] main input debug: thread 3004402576 joined (input/input.c:466)
[00000332] main playlist: saving Media Library to file /home/ss/.local/share/vlc/ml.xsp
[00000332] main playlist debug: looking for playlist export module: 1 candidate
[00000332] main playlist debug: using playlist export module "export"
[00000332] main playlist debug: removing module "export"
[00000332] main playlist debug: thread 3049061264 joined (playlist/thread.c:164)
[00000001] main libvlc debug: removing all video outputs
[00000001] main libvlc debug: removing all audio outputs
[00000001] main libvlc debug: TIMER ML Load : Total 5.200 ms / 1 intvls (Avg 5.200 ms)
[00000001] main libvlc debug: TIMER Items array build : Total 0.055 ms / 2 intvls (Avg 0.028 ms)
[00000001] main libvlc debug: TIMER ML Dump : Total 0.418 ms / 1 intvls (Avg 0.418 ms)
[00000001] main libvlc debug: removing module "memcpymmxext"
[00000001] main libvlc debug: opening config file (/home/ss/.config/vlc/vlcrc)
[00000001] main libvlc debug: opening config file (/home/ss/.config/vlc/vlcrc)
[00000001] main libvlc debug: saving plugins cache file /home/ss/.cache/vlc/cache/plugins-04041e.dat
QObject::killTimers: timers cannot be stopped from another thread
ss@pc-ss2:~/vlc/vlc-trunk3>
I also tried up-to-date live555 and ffmpeg but that doesn't help. I thought I'd rather use the same version that worked for me with vlc-0.8.6c, though precompiled.
Any ideas?
Thanks Stefan.