[vlc-devel] rtsp : start-time fails in demuxer
Sébastien Escudier
sebastien-devel at celeos.eu
Tue Jun 17 15:54:39 CEST 2008
Hi
I would like to report a problem in start-time option with rtsp.
I have a test file (created with mp4 muxer, the only one where seeking works)
where start-time option works well locally (cf 1- at end of this mail).
But with rtsp it fails (short output here, cf 2- at end of this mail for more
output) :
[00000375] [Media: test] main input debug: control type=7
[00000381] [Media: test] mp4 demux debug: elst (0) gives 4000ms (movie)-> 4000ms
(track)
[00000381] [Media: test] mp4 demux debug: track[Id 0x1] does not provide Sync
Sample Box (stss)
[00000381] [Media: test] mp4 demux warning: recreate ES for track[Id 0x1]
[00000383] [Media: test] main packetizer debug: removing module
"packetizer_mpeg4video"
[00000383] [Media: test] main packetizer debug: killing decoder fourcc `mp4v', 0
PES in FIFO
[00000376] [Media: test] main stream output debug: removing a sout input
(sout_input:0x816c270)
[00000384] [Media: test] main generic debug: thread ended
******************
1- locally (works)
******************
00000339] mp4 demux warning: DEMUX_GET_FPS unimplemented !!
[00000332] main input debug: starting at time: 4s
[00000339] mp4 demux warning: DEMUX_GET_FPS unimplemented !!
[00000332] main input debug: looking for a subtitle file in
/home/sebastien/vlc-git/vlc/
[00000341] main decoder debug: looking for decoder module: 20 candidates
[00000332] main input debug: thread 2996722576 (input) created at priority 10
(input/input.c:360)
[00000341] avcodec decoder debug: libavcodec initialized (interface 3352064 )
[00000341] avcodec decoder debug: using direct rendering
[00000341] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000341] main decoder debug: using decoder module "avcodec"
[00000341] main decoder debug: TIMER module_Need() : 5.307 ms - Total 5.307 ms /
1 intvls (Avg 5.307 ms)
[00000341] main decoder debug: thread started
[00000341] main decoder debug: thread 2979990416 (decoder) created at priority 0
(input/decoder.c:217)
[00000332] main input debug: `test_axis_mux_mp4_17juin_10s' successfully opened
[00000339] mp4 demux debug: elst (0) gives 0ms (movie)-> 0ms (track)
[00000339] mp4 demux debug: track[Id 0x1] does not provide Sync Sample Box
(stss)
[00000339] mp4 demux warning: recreate ES for track[Id 0x1]
[00000341] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000341] main decoder debug: removing module "avcodec"
[00000341] main decoder debug: thread ended
[00000341] main decoder debug: thread 2979990416 joined (input/decoder.c:248)
[00000341] main decoder debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000332] main input debug: Program doesn't contain anymore ES
[00000362] main decoder debug: looking for decoder module: 20 candidates
[00000362] avcodec decoder debug: libavcodec already initialized
[00000362] avcodec decoder debug: using direct rendering
[00000362] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000362] main decoder debug: using decoder module "avcodec"
[00000362] main decoder debug: TIMER module_Need() : 0.837 ms - Total 0.837 ms /
1 intvls (Avg 0.837 ms)
[00000362] main decoder debug: thread started
[00000362] main decoder debug: thread 2979990416 (decoder) created at priority 0
(input/decoder.c:217)
[00000362] main decoder debug: no usable vout present, spawning one
[00000363] main video output debug: window size: 320x240
[00000363] main video output debug: looking for video output module: 2
candidates
[00000332] main input debug: control type=7
[00000339] mp4 demux debug: elst (0) gives 4000ms (movie)-> 4000ms (track)
[00000339] mp4 demux debug: track[Id 0x1] does not provide Sync Sample Box
(stss)
[00000339] mp4 demux warning: recreate ES for track[Id 0x1]
[00000363] x11 video output debug: XShm video extension v1.1 (without pixmaps,
opcode: 146)
[00000363] x11 video output debug: Window manager supports NetWM
[00000363] x11 video output debug: Window manager supports
_NET_WM_STATE_FULLSCREEN
[00000363] x11 video output debug: Window manager supports _NET_WM_STATE_ABOVE
[00000363] x11 video output debug: Window manager supports _NET_WM_STATE_BELOW
[00000363] main video output debug: using video output module "x11"
[00000363] main video output debug: TIMER module_Need() : 136.425 ms - Total
136.425 ms / 1 intvls (Avg 136.425 ms)
[00000363] main video output debug: thread started
[00000363] x11 video output debug: x11 image size 320x240 (0,0,320x240)
[00000363] main video output debug: waiting for thread completion
[00000363] main video output debug: got 2 direct buffer(s)
[00000363] main video output debug: picture in 320x240 (0,0,320x240), chroma
I420, ar 4:3, sar 1:1
[00000363] main video output debug: picture user 320x240 (0,0,320x240), chroma
I420, ar 4:3, sar 1:1
[00000363] main video output debug: picture out 320x240 (0,0,320x240), chroma
RV32, ar 4:3, sar 1:1
[00000366] main filter debug: looking for video filter2 module: 18 candidates
[00000366] i420_rgb_sse2 filter debug: RGB pixel format is A8R8G8B8
[00000366] main filter debug: using video filter2 module "i420_rgb_sse2"
[00000366] main filter debug: TIMER module_Need() : 0.364 ms - Total 0.364 ms /
1 intvls (Avg 0.364 ms)
[00000363] main video output debug: indirect render, mapping render pictures 0-7
to system pictures 2-9
[00000363] main video output debug: thread 2970336144 (video output) created at
priority 15 (video_output/video_output.c:447)
[00000362] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) stopped
[00000362] main decoder debug: removing module "avcodec"
[00000362] main decoder debug: thread ended
[00000362] main decoder debug: thread 2979990416 joined (input/decoder.c:248)
[00000362] main decoder debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000332] main input debug: Program doesn't contain anymore ES
[00000370] main decoder debug: looking for decoder module: 20 candidates
[00000370] avcodec decoder debug: libavcodec already initialized
[00000370] avcodec decoder debug: using direct rendering
[00000370] avcodec decoder debug: ffmpeg codec (MPEG-4 Video) started
[00000370] main decoder debug: using decoder module "avcodec"
[00000370] main decoder debug: TIMER module_Need() : 0.764 ms - Total 0.764 ms /
1 intvls (Avg 0.764 ms)
[00000370] main decoder debug: thread started
[00000370] main decoder debug: thread 2979990416 (decoder) created at priority 0
(input/decoder.c:217)
[00000332] main input debug: control type=1
[00000338] main stream debug: b_seek=0 th*avg=1048576 skip=814472
[00000370] avcodec decoder warning: ac-tex damaged at 16 11
(mpeg4 at 0x823ca70)
[00000370] avcodec decoder warning: Error at MB: 247
(mpeg4 at 0x823ca70)
[00000370] avcodec decoder debug: concealing 81 DC, 81 AC, 81 MV errors
(mpeg4 at 0x823ca70)
[00000370] main decoder debug: End of video preroll
[00000363] x11 video output debug: x11 image size 320x240 (0,0,320x240)
[00000366] main filter debug: removing module "i420_rgb_sse2"
[00000366] main filter debug: looking for video filter2 module: 18 candidates
[00000366] i420_rgb_sse2 filter debug: RGB pixel format is A8R8G8B8
[00000366] main filter debug: using video filter2 module "i420_rgb_sse2"
[00000366] main filter debug: TIMER module_Need() : 0.133 ms - Total 0.133 ms /
1 intvls (Avg 0.133 ms)
[00000372] main filter debug: looking for text renderer module: 1 candidate
[00000372] main filter debug: using text renderer module "dummy"
[00000372] main filter debug: TIMER module_Need() : 0.465 ms - Total 0.465 ms /
1 intvls (Avg 0.465 ms)
***************
2- rtsp (fails)
***************
[00000381] [Media: test] mp4 demux warning: DEMUX_GET_FPS unimplemented !!
[00000375] [Media: test] main input debug: starting at time: 4s
[00000381] [Media: test] mp4 demux warning: DEMUX_GET_FPS unimplemented !!
[00000375] [Media: test] main input debug: looking for a subtitle file in
/home/sebastien/vlc-git/vlc/
[00000382] [Media: test] main packetizer debug: looking for packetizer module:
16 candidates
[00000382] [Media: test] packetizer_mpeg4video packetizer debug: opening with
vol size: 14
[00000382] [Media: test] main packetizer debug: using packetizer module
"packetizer_mpeg4video"
[00000382] [Media: test] main packetizer debug: TIMER module_Need() : 0.117 ms -
Total 0.117 ms / 1 intvls (Avg 0.117 ms)
[00000375] [Media: test] main input debug: stream out mode -> no decoder thread
[00000375] [Media: test] main input debug: starting in async mode
[00000375] [Media: test] main input debug:
`/home/sebastien/vlc-git/vlc/test_axis_mp4_17juin_10s' successfully opened
[00000381] [Media: test] mp4 demux debug: elst (0) gives 0ms (movie)-> 0ms
(track)
[00000381] [Media: test] mp4 demux debug: track[Id 0x1] does not provide Sync
Sample Box (stss)
[00000381] [Media: test] mp4 demux warning: recreate ES for track[Id 0x1]
[00000382] [Media: test] main packetizer debug: removing module
"packetizer_mpeg4video"
[00000382] [Media: test] main packetizer debug: killing decoder fourcc `mp4v', 0
PES in FIFO
[00000375] [Media: test] main input debug: Program doesn't contain anymore ES
[00000383] [Media: test] main packetizer debug: looking for packetizer module:
16 candidates
[00000383] [Media: test] packetizer_mpeg4video packetizer debug: opening with
vol size: 14
[00000383] [Media: test] main packetizer debug: using packetizer module
"packetizer_mpeg4video"
[00000383] [Media: test] main packetizer debug: TIMER module_Need() : 0.092 ms -
Total 0.092 ms / 1 intvls (Avg 0.092 ms)
[00000375] [Media: test] main input debug: stream out mode -> no decoder thread
[00000376] [Media: test] main stream output debug: adding a new sout input
(sout_input:0x816c270)
[00000377] [Media: test] stream_out_rtp generic debug: maximum RTP packet size:
1400 bytes
[00000377] [Media: test] main generic debug: net: connecting to
[192.43.176.43]:58180
[00000377] [Media: test] main generic debug: net: connecting to
[192.43.176.43]:58181 from [192.43.176.43]:39570
[00000384] [Media: test] main generic debug: thread started
[00000384] [Media: test] main generic debug: thread 2957937552 (RTP send thread)
created at priority 20 (rtp.c:1235)
[00000377] [Media: test] stream_out_rtp generic debug: sdp=
v=0
o=- 14700372165492759479 14700372165492759479 IN IP4 sebastien-office
s=Unnamed
i=N/A
c=IN IP4 192.43.176.43
t=0 0
a=tool:vlc 0.9.0-git
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 58180 RTP/AVP 96
b=RR:0
a=rtpmap:96 MP4V-ES/90000
a=fmtp:96 profile-level-id=3; config=0000012000844019285020f0a21f;
[00000383] [Media: test] main packetizer debug: switching to sync mode
[00000375] [Media: test] main input debug: control type=7
[00000381] [Media: test] mp4 demux debug: elst (0) gives 4000ms (movie)-> 4000ms
(track)
[00000381] [Media: test] mp4 demux debug: track[Id 0x1] does not provide Sync
Sample Box (stss)
[00000381] [Media: test] mp4 demux warning: recreate ES for track[Id 0x1]
[00000383] [Media: test] main packetizer debug: removing module
"packetizer_mpeg4video"
[00000383] [Media: test] main packetizer debug: killing decoder fourcc `mp4v', 0
PES in FIFO
[00000376] [Media: test] main stream output debug: removing a sout input
(sout_input:0x816c270)
[00000384] [Media: test] main generic debug: thread ended
[00000384] [Media: test] main generic debug: thread 2957937552 joined
(rtp.c:1271)
[00000375] [Media: test] main input debug: Program doesn't contain anymore ES
[00000385] [Media: test] main packetizer debug: looking for packetizer module:
16 candidates
[00000385] [Media: test] packetizer_mpeg4video packetizer debug: opening with
vol size: 14
[00000385] [Media: test] main packetizer debug: using packetizer module
"packetizer_mpeg4video"
[00000385] [Media: test] main packetizer debug: TIMER module_Need() : 0.167 ms -
Total 0.167 ms / 1 intvls (Avg 0.167 ms)
[00000375] [Media: test] main input debug: stream out mode -> no decoder thread
[00000375] [Media: test] main input debug: control type=1
[00000380] [Media: test] main stream debug: b_seek=0 th*avg=1048576 skip=819364
[00000376] [Media: test] main stream output debug: adding a new sout input
(sout_input:0x81573f0)
[00000377] [Media: test] stream_out_rtp generic debug: maximum RTP packet size:
1400 bytes
[00000333] vod_rtsp vod server debug: RtspCallback query: type=12
[00000333] vod_rtsp vod server debug: HTTPD_MSG_TEARDOWN for session: 719885386
[00000333] vod_rtsp vod server debug: closing session: 719885386, connections: 0
[00000377] main generic debug: net: connecting to [192.43.176.43]:50004
[00000377] main generic debug: net: connecting to [192.43.176.43]:50005 from
[192.43.176.43]:37331
[00000386] main generic debug: thread started
[00000386] main generic debug: thread 2957937552 (RTP send thread) created at
priority 20 (rtp.c:1235)
[00000377] stream_out_rtp generic debug: sdp=
v=0
o=- 14700372166782848031 14700372166782848031 IN IP4 sebastien-office
s=Unnamed
i=N/A
c=IN IP4 192.43.176.43
t=0 0
a=tool:vlc 0.9.0-git
a=recvonly
a=type:broadcast
a=charset:UTF-8
m=video 50004 RTP/AVP 97
b=RR:0
a=rtpmap:97 MP4V-ES/90000
a=fmtp:97 profile-level-id=3; config=0000012000844019285020f0a21f;
[00000375] [Media: test] main input debug: control type=0
[00000375] [Media: test] main input debug: control: stopping input
[00000381] mp4 demux debug: freeing all memory
[00000381] main demux debug: removing module "mp4"
[00000381] main demux error: object is not attached
[00000379] main access debug: removing module "access_mmap"
[00000379] main access error: object is not attached
[00000385] main packetizer debug: removing module "packetizer_mpeg4video"
[00000385] main packetizer debug: killing decoder fourcc `mp4v', 0 PES in FIFO
[00000376] main stream output debug: removing a sout input
(sout_input:0x81573f0)
[00000386] main generic debug: thread ended
[00000386] main generic debug: thread 2957937552 joined (rtp.c:1271)
[00000385] main packetizer error: object is not attached
[00000375] [Media: test] main input debug: thread ended
[00000375] [Media: test] main input debug: thread 2970495888 joined
(misc/objects.c:324)
[00000375] [Media: test] main input debug: TIMER input launching for '(null)' :
26.413 ms - Total 26.413 ms / 1 intvls (Avg 26.413 ms)
[00000377] main generic debug: destroying chain... (name=rtp)
[00000377] main generic debug: removing module "stream_out_rtp"
[00000377] main generic debug: destroying chain done
More information about the vlc-devel
mailing list