[Live-devel] Late binding fix in 2010.01.15 version not yielding video...

Robert Krakora rob.krakora at messagenetsystems.com
Wed Jan 20 07:03:23 PST 2010


Ross:

The fix with which you provided me for the multicast destination address
embedded in the SETUP response does not appear to be yielding video.  The
RTSP server and clients and hence the camera that I am testing against are
at a remote location where nobody was available until today.  Since I was
seeing GET_PARAMETER traffic when I remotely logged in after applying your
fix, I assumed video was playing.  However, the people on site now tell me
that there is no video and I was able to obtain the trace below.  I went
back to the 2010.01.12 version with my hack and video is again present.  Let
me know if you need a Wireshark capture to debug this.

[root at mediaport088 MessageNet]# export DISPLAY=:0.0; vlc -vvvvv --noosd
--fullscreen --m4v-fps 30 --rtsp-mcast -I rc --no-audio rtsp://
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp
VLC media player 0.9.10 Grishenko
[00000001] main libvlc debug: VLC media player - version 0.9.10 Grishenko -
(c) 1996-2009 the VideoLAN team
[00000001] main libvlc debug: libvlc was configured with ../configure
'--prefix=/usr' '--libdir=/usr/lib64' '--with-live555-tree=/usr/lib64/live'
'--enable-run-as-root' '--enable-debug' 'LDFLAGS=-L/usr/lib64'
LibVLC has detected an unusable buggy GNU/libc version.
Please update to version 2.8 or newer.
[00000001] main libvlc debug: translation test: code is "C"
[00000001] main libvlc debug: checking builtin modules
[00000001] main libvlc debug: checking plugin modules
[00000001] main libvlc debug: loading plugins cache file
/root/.cache/vlc/plugins-04081e.dat
[00000001] main libvlc debug: recursively browsing `/usr/lib64/vlc'
[00000001] main libvlc debug: module bank initialized, found 259 modules
[00000001] main libvlc warning: Unable to get HAL device properties
[00000001] main libvlc debug: opening config file (/root/.config/vlc/vlcrc)
[00000001] main libvlc debug: CPU has capabilities 486 586 MMX 3DNow! MMXEXT
SSE SSE2 FPU
[00000001] main libvlc debug: looking for memcpy module: 4 candidates
[00000001] main libvlc debug: using memcpy module "memcpymmxext"
[00000349] main interaction debug: thread 1090869568 (Interaction control)
created at priority 0 (../../src/interface/interaction.c:382)
[00000351] main input debug: Creating an input for 'Media Library'
[00000351] main input debug: Input is a meta file: disabling unneeded
options
[00000351] main input debug:
`file/xspf-open:///root/.local/share/vlc/ml.xspf' gives access `file' demux
`xspf-open' path `/root/.local/share/vlc/ml.xspf'
[00000351] main input debug: creating access 'file'
path='/root/.local/share/vlc/ml.xspf'
[00000352] main access debug: looking for access module: 3 candidates
[00000349] main interaction debug: thread started
[00000352] access_file access debug: opening file
`/root/.local/share/vlc/ml.xspf'
[00000352] main access debug: using access module "access_file"
[00000352] main access debug: TIMER module_Need() : 3.457 ms - Total 3.457
ms / 1 intvls (Avg 3.457 ms)
[00000357] main stream debug: Using AStream*Stream
[00000357] main stream debug: pre-buffering...
[00000357] main stream debug: received first data for our buffer
[00000351] main input debug: creating demux: access='file' demux='xspf-open'
path='/root/.local/share/vlc/ml.xspf'
[00000358] main demux debug: looking for demux module: 1 candidate
[00000358] playlist demux debug: using XSPF playlist reader
[00000358] main demux debug: using demux module "playlist"
[00000358] main demux debug: TIMER module_Need() : 1.856 ms - Total 1.856 ms
/ 1 intvls (Avg 1.856 ms)
[00000351] main input debug:
`file/xspf-open:///root/.local/share/vlc/ml.xspf' successfully opened
[00000373] main xml debug: looking for xml module: 2 candidates
[00000373] main xml debug: using xml module "xml"
[00000373] main xml debug: TIMER module_Need() : 2.067 ms - Total 2.067 ms /
1 intvls (Avg 2.067 ms)
[00000358] playlist demux debug: parsed 0 tracks successfully
[00000373] main xml debug: removing module "xml"
[00000351] main input debug: EOF reached
[00000351] main input debug: control type=1
[00000358] main demux debug: removing module "playlist"
[00000352] main access debug: removing module "access_file"
[00000351] main input debug: Destroying the input for 'Media Library'
[00000351] main input debug: TIMER input launching for 'Media Library' :
14.506 ms - Total 14.506 ms / 1 intvls (Avg 14.506 ms)
[00000375] main preparser debug: waiting for thread initialization
[00000375] main preparser debug: thread started
[00000375] main preparser debug: thread 1101359424 (preparser) created at
priority 0 (../../src/playlist/thread.c:79)
[00000376] main fetcher debug: waiting for thread initialization
[00000376] main fetcher debug: thread started
[00000376] main fetcher debug: thread 1111849280 (fetcher) created at
priority 0 (../../src/playlist/thread.c:108)
[00000350] main playlist debug: waiting for thread initialization
[00000350] main playlist debug: thread started
[00000350] main playlist debug: thread 1122339136 (playlist) created at
priority 0 (../../src/playlist/thread.c:117)
[00000377] main interface debug: looking for interface module: 1 candidate
[00000377] main interface debug: using interface module "hotkeys"
[00000377] main interface debug: TIMER module_Need() : 0.938 ms - Total
0.938 ms / 1 intvls (Avg 0.938 ms)
[00000377] main interface debug: thread 1132828992 (interface) created at
priority 0 (../../src/interface/interface.c:168)
[00000379] main interface debug: looking for interface module: 1 candidate
[00000350] main playlist debug: rebuilding array of current - root Playlist
[00000350] main playlist debug: rebuild done - 0 items, index -1
[00000377] main interface debug: thread started
[00000379] main interface debug: using interface module "inhibit"
[00000379] main interface debug: TIMER module_Need() : 21.137 ms - Total
21.137 ms / 1 intvls (Avg 21.137 ms)
[00000379] main interface debug: thread 1143318848 (interface) created at
priority 0 (../../src/interface/interface.c:168)
[00000381] main interface debug: looking for interface module: 1 candidate
[00000381] main interface debug: using interface module "screensaver"
[00000381] main interface debug: TIMER module_Need() : 0.725 ms - Total
0.725 ms / 1 intvls (Avg 0.725 ms)
[00000381] main interface debug: thread 1153808704 (interface) created at
priority 0 (../../src/interface/interface.c:168)
[00000350] main playlist debug: adding item `rtsp://
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp' ( rtsp://
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp )
[00000381] main interface debug: thread started
[00000383] main interface debug: looking for interface module: 18 candidates
[00000383] main interface debug: using interface module "signals"
[00000383] main interface debug: TIMER module_Need() : 0.560 ms - Total
0.560 ms / 1 intvls (Avg 0.560 ms)
[00000383] main interface debug: thread 1174788416 (interface) created at
priority 0 (../../src/interface/interface.c:168)
[00000350] main playlist debug: rebuilding array of current - root Playlist
[00000350] main playlist debug: rebuild done - 1 items, index -1
[00000385] main interface debug: looking for interface module: 18 candidates
[00000379] main interface debug: thread started
[00000383] main interface debug: thread started
Remote control interface initialized. Type `help' for help.
[00000385] main interface debug: using interface module "rc"
[00000385] main interface debug: TIMER module_Need() : 1.532 ms - Total
1.532 ms / 1 intvls (Avg 1.532 ms)
[00000385] main interface debug: thread 1185278272 (interface) created at
priority 0 (../../src/interface/interface.c:168)
[00000385] main interface debug: thread started
[00000350] main playlist debug: starting new item
[00000350] main playlist debug: processing request item null node Playlist
skip 0
[00000350] main playlist debug: creating new input thread
[00000387] main input debug: Creating an input for 'rtsp://
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp'
[00000387] main input debug: waiting for thread initialization
[00000387] main input debug: thread started
[00000387] main input debug: `rtsp://
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp' gives access `rtsp'
demux `' path `dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp'
[00000387] main input debug: creating demux: access='rtsp' demux='' path='
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp'
[00000387] main input debug: thread 1195768128 (input) created at priority
10 (../../src/input/input.c:370)
[00000388] main demux debug: looking for access_demux module: 1 candidate
Sending request: OPTIONS rtsp://172.19.3.223:554/mpeg4/media.amp RTSP/1.0
CSeq: 1
User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.12)


Received OPTIONS response: RTSP/1.0 200 OK
CSeq: 1
Public: DESCRIBE, GET_PARAMETER, PAUSE, PLAY, SETUP, SET_PARAMETER, TEARDOWN


Sending request: DESCRIBE rtsp://172.19.3.223:554/mpeg4/media.amp RTSP/1.0
CSeq: 2
Accept: application/sdp
User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.15)


Received DESCRIBE response: RTSP/1.0 401 Unauthorized
CSeq: 2
WWW-Authenticate: Basic realm="/"


Sending request: DESCRIBE rtsp://172.19.3.223:554/mpeg4/media.amp RTSP/1.0
CSeq: 3
Accept: application/sdp
Authorization: Basic ZGNhbXBiZWxsOm1zZHZpZGVv
User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.15)


Received DESCRIBE response: RTSP/1.0 200 OK
CSeq: 3
Content-Base: rtsp://172.19.3.223:554/mpeg4/media.amp/
Content-Type: application/sdp
Content-Length: 696


Need to read 696 extra bytes
Read 696 extra bytes: v=0
o=- 19457605049436 19457605049442 IN IP4 172.19.3.223
s=Media Presentation
e=NONE
c=IN IP4 0.0.0.0
b=AS:8000
t=0 0
a=control:*
a=range:npt=now-
a=mpeg4-iod:
"data:application/mpeg4-iod;base64,AoDUAE8BAf/1AQOAbwABQFBkYXRhOmFwcGxpY2F0aW9uL21wZWc0LW9kLWF1O2Jhc2U2NCxBUjBCR3dVZkF4Y0F5U1FBWlFRTklCRUVrK0FBZWhJQUFIb1NBQVlCQkE9PQQNAQUABAAAAAAAAAAAAAYJAQAAAAAAAAAAAzoAAkA2ZGF0YTphcHBsaWNhdGlvbi9tcGVnNC1iaWZzLWF1O2Jhc2U2NCx3QkFTWVFTSVVFVUZQd0E9BBICDQAAAgAAAAAAAAAABQMAAEAGCQEAAAAAAAAAAA=="
m=video 0 RTP/AVP 96
b=AS:8000
a=framerate:30
a=control:trackID=1
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=245;
config=000001B0F5000001B509000001000000012008D49D88032516043C14440F;
a=mpeg4-esid:201

[00000388] live555 demux debug: RTP subsession 'video/MP4V-ES'
Sending request: SETUP rtsp://172.19.3.223:554/mpeg4/media.amp/trackID=1RTSP/1.0
CSeq: 4
Transport: RTP/AVP;multicast;client_port=43242-43243
Authorization: Basic ZGNhbXBiZWxsOm1zZHZpZGVv
User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.12)


Received SETUP response: RTSP/1.0 200 OK
CSeq: 4
Session: 1366558838;timeout=60
Transport:
RTP/AVP;multicast;destination=239.209.84.157;ttl=5;port=50000-50001;mode="PLAY"


[00000387] main input debug: selecting program id=0
[00000388] live555 demux debug: setup start: 0 stop:0
Sending request: PLAY rtsp://172.19.3.223:554/mpeg4/media.amp/ RTSP/1.0
CSeq: 5
Session: 1366558838
Range: npt=0.000-
Authorization: Basic ZGNhbXBiZWxsOm1zZHZpZGVv
User-Agent: VLC media player (LIVE555 Streaming Media v2010.01.12)


Received PLAY response: RTSP/1.0 200 OK
CSeq: 5
Session: 1366558838
Range: npt=now-
RTP-Info: url=trackID=1;seq=16983;rtptime=1906327257


[00000388] live555 demux debug: We have a timeout of 60 seconds
[00000391] main generic debug: waiting for thread initialization
[00000391] main generic debug: thread started
[00000391] main generic debug: thread 1206257984 (liveMedia-timeout) created
at priority 0 (../../../modules/demux/live555.cpp:1055)
[00000388] live555 demux debug: spawned timeout thread
[00000388] live555 demux debug: play start: 0 stop:0
[00000388] main demux debug: using access_demux module "live555"
[00000388] main demux debug: TIMER module_Need() : 122.963 ms - Total
122.963 ms / 1 intvls (Avg 122.963 ms)
[00000392] main decoder debug: looking for decoder module: 26 candidates
[00000392] avcodec decoder debug: libavcodec initialized (interface 3419392
)
[00000392] avcodec decoder debug: using direct rendering
[00000392] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000392] main decoder debug: using decoder module "avcodec"
[00000392] main decoder debug: TIMER module_Need() : 16.157 ms - Total
16.157 ms / 1 intvls (Avg 16.157 ms)
[00000392] main decoder debug: thread 1216747840 (decoder) created at
priority 0 (../../src/input/decoder.c:217)
[00000387] main input debug: `rtsp://
dcampbell:msdvideo at 172.19.3.223:554/mpeg4/media.amp' successfully opened
[00000392] main decoder debug: thread started
[00000387] main input debug: control type=1

Best Regards,

-- 
Rob Krakora
Senior Software Engineer
MessageNet Systems
101 East Carmel Dr. Suite 105
Carmel, IN 46032
(317)566-1677 Ext. 206
(317)663-0808 Fax
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.live555.com/pipermail/live-devel/attachments/20100120/76416b53/attachment-0001.html>


More information about the live-devel mailing list