Page 1 of 1

what's the cause of this "Segmentation fault"

Posted: 21 Sep 2006 09:45
by zyc
I use vlc as a rtsp server.:
./vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554

Then use telnet to setup a media:
new test vod input a.avi enabled

And use openRTSP to test the rtspserver like this:
openRTSP -V -i rtsp://192.168.0.1:5554/test > /dev/null

I run the command above 10 times by using a shell script.
But while they(the 10 clients) are finishing(Sending request: TEARDOWN), vlc shows segmentation fault.

Part of information before vlc crashed:
------------------------------------------------------------------------------------
[00000654] [Media: test] main input debug: thread 126995376 joined (input/input.c:401)
[00000675] [Media: test] main input debug: closing input
[00000696] [Media: test] avi private debug: free chunk avih
[00000696] [Media: test] avi private debug: free chunk strh
[00000696] [Media: test] avi private debug: free chunk strf
[00000696] [Media: test] avi private debug: free chunk strn
[00000696] [Media: test] avi private debug: free chunk LIST
[00000696] [Media: test] avi private debug: free chunk strh
[00000696] [Media: test] avi private debug: free chunk strf
[00000696] [Media: test] avi private debug: free chunk strn
[00000696] [Media: test] avi private debug: free chunk LIST
[00000696] [Media: test] avi private debug: free chunk LIST
[00000696] [Media: test] avi private debug: free chunk JUNK
[00000696] [Media: test] avi private debug: free chunk LIST
[00000696] [Media: test] avi private debug: free chunk idx1
[00000696] [Media: test] avi private debug: free chunk RIFF
[00000696] [Media: test] avi private debug: free chunk LIST
[00000710] [Media: test] main demuxer debug: removing module "avi"
[00000695] [Media: test] main access debug: removing module "access_file"
[00000675] [Media: test] main input debug: destroying sout
[00000679] main private debug: destroying chain... (name=rtp)
[00000679] main private debug: removing module "stream_out_rtp"
[00000679] main private debug: destroying chain done
[00000675] [Media: test] main input debug: thread 2999126960 joined (input/input.c:401)
Segmentation fault
----------------------------------------------------------------------------------

Is there something wrong with openRTSP or with vlc?

Thanks

zyc

Posted: 21 Sep 2006 10:57
by Jean-Baptiste Kempf
Could you paste the whole debug ?

Posted: 22 Sep 2006 03:06
by zyc
Could you paste the whole debug ?
Thanks for your reply!

I use vlc-snapshot-20060921.tar.gz for testing. (vlc-0.8.5 has the same problem)
The operating system is Linux Adance server 4, kernel: 2.6.9

The shell script which is used to run openRTSP:

Code: Select all

#!/bin/sh # times=4 i=0 while [ $i -lt $times ]; do /home/live/testProgs/openRTSP -i -V rtsp://192.168.8.223:5554/test > /dev/null & i=`expr $i + 1` done
I redirect the debug information into a file(named showme)

The output on the console:

Code: Select all

[root@En-CVOD vlc-0.9.0-svn]# ./vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554 2> showme Segmentation fault
The output in the file showme:

Code: Select all

VLC media player 0.9.0-svn Grishenko starting VLC root wrapper... using UID 0 (root) *************************************** * Running VLC as root is discouraged. * *************************************** It is potentially dangerous, and might not even work properly. [00000001] main libvlc debug: checking builtin modules [00000001] main libvlc debug: checking plugin modules [00000001] main libvlc debug: loading plugins cache file /root/.vlc/cache/plugins-04041e.dat [00000001] main libvlc debug: recursively browsing `modules' [00000001] main libvlc debug: recursively browsing `/usr/local/lib/vlc' [00000001] main libvlc debug: recursively browsing `plugins' [00000001] main libvlc debug: module bank initialized, found 183 modules [00000001] main libvlc debug: opening config file /root/.vlc/vlcrc [00000001] main libvlc warning: config file /root/.vlc/vlcrc does not exist yet [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" [00000240] main input debug: `file/xspf-open:///root/.vlc/ml.xsp' gives access `file' demux `xspf-open' path `/root/.vlc/ml.xsp' [00000240] main input debug: creating access 'file' path='/root/.vlc/ml.xsp' [00000241] main access debug: looking for access2 module: 4 candidates [00000241] access_file access debug: opening file `/root/.vlc/ml.xsp' [00000241] main access debug: using access2 module "access_file" [00000243] main private debug: pre-buffering... [00000243] main private debug: received first data for our buffer [00000240] main input debug: creating demux: access='file' demux='xspf-open' path='/root/.vlc/ml.xsp' [00000244] main demuxer debug: looking for demux2 module: 1 candidate [00000244] playlist demuxer debug: using XSPF playlist reader [00000244] main demuxer debug: using demux2 module "playlist" [00000240] main input debug: `file/xspf-open:///root/.vlc/ml.xsp' successfully opened [00000239] playlist playlist debug: not starting playlist playback [00000257] main private debug: looking for xml module: 2 candidates [00000257] main private debug: using xml module "xml" [00000244] playlist demuxer debug: parsed 0 tracks successfully [00000257] main private debug: removing module "xml" [00000240] main input debug: EOF reached [00000240] main input debug: closing input [00000244] main demuxer debug: removing module "playlist" [00000241] main access debug: removing module "access_file" [00000259] main private debug: waiting for thread completion [00000259] main private debug: thread 24697776 (preparser) created at priority 0 (playlist/thread.c:88) [00000239] main playlist debug: waiting for thread completion [00000239] main playlist debug: thread 37137328 (playlist) created at priority 0 (playlist/thread.c:98) [00000260] main interface debug: looking for interface module: 1 candidate [00000260] main interface debug: using interface module "hotkeys" [00000260] main interface debug: thread 47627184 (interface) created at priority 0 (interface/interface.c:240) [00000262] main interface debug: looking for interface module: 2 candidates [00000262] main interface: creating VLM [00000264] main vlm debug: thread 58117040 (vlm thread) created at priority 0 (misc/vlm.c:103) [00000262] telnet interface: using the VLM interface plugin... [00000262] main interface debug: net: listening to port 4212 [00000262] telnet interface: telnet interface started on interface 4212 [00000262] main interface debug: using interface module "telnet" [00000262] main interface debug: thread 105831344 (manager) created at priority 0 (interface/interface.c:221) [00000265] main private debug: looking for vod server module: 1 candidate [00000265] vod_rtsp private debug: allowing up to 0 connections [00000265] main private: creating httpd [00000265] main private debug: net: listening to 0.0.0.0 port 5554 [00000268] main http server debug: thread 133241776 (httpd host thread) created at priority 0 (network/httpd.c:1080) [00000265] main private debug: using vod server module "vod_rtsp" [00000269] [Media: test] main input debug: waiting for thread completion [00000270] [Media: test] main stream output debug: stream=`description' [00000271] [Media: test] main private debug: looking for sout stream module: 1 candidate [00000271] [Media: test] main private debug: using sout stream module "stream_out_description" [00000269] [Media: test] main input debug: `a.avi' gives access `' demux `' path `a.avi' [00000269] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000273] [Media: test] main demuxer debug: looking for access_demux module: 0 candidates [00000273] [Media: test] main demuxer warning: no access_demux module matched "any" [00000269] [Media: test] main input debug: creating access '' path='a.avi' [00000274] [Media: test] main access debug: looking for access2 module: 4 candidates [00000274] [Media: test] vcd access debug: trying .cue file: a.cue [00000274] [Media: test] access_file access debug: opening file `a.avi' [00000274] [Media: test] main access debug: using access2 module "access_file" [00000278] [Media: test] main private debug: pre-buffering... [00000278] [Media: test] main private debug: received first data for our buffer [00000269] [Media: test] main input debug: thread 68606896 (input) created at priority 0 (input/input.c:264) [00000278] [Media: test] main private debug: pre-buffering done 1408981 bytes in 0s - 375329 kbytes/s [00000269] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000279] [Media: test] main demuxer debug: looking for demux2 module: 38 candidates [00000278] [Media: test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:5216574 pos:0 [00000278] [Media: test] avi private debug: found LIST chunk: 'AVI ' [00000278] [Media: test] avi private debug: <list 'AVI '> [00000278] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:328 pos:12 [00000278] [Media: test] avi private debug: found LIST chunk: 'hdrl' [00000278] [Media: test] avi private debug: <list 'hdrl'> [00000278] [Media: test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000278] [Media: test] avi private debug: avih: streams:2 flags: HAS_INDEX TRUST_CKTYPE 352x288 [00000278] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [00000278] [Media: test] avi private debug: found LIST chunk: 'strl' [00000278] [Media: test] avi private debug: <list 'strl'> [00000278] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000278] [Media: test] avi private debug: strh: type:vids handler:0x58564944 samplesize:0 25.00fps [00000278] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000278] [Media: test] avi private debug: strf: video:DX50 352x288 planes:1 24bpp [00000278] [Media: test] avi private debug: </list 'strl'> [00000278] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:128 pos:212 [00000278] [Media: test] avi private debug: found LIST chunk: 'strl' [00000278] [Media: test] avi private debug: <list 'strl'> [00000278] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [00000278] [Media: test] avi private debug: strh: type:auds handler:0x00000000 samplesize:1 24000.00fps [00000278] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [00000278] [Media: test] avi private debug: strf: audio:0x0055 channels:2 44100Hz 0bits/sample 187kb/s [00000278] [Media: test] avi private debug: found Chunk fourcc:6e727473 (strn) size:13 pos:326 [00000278] [Media: test] avi private debug: strn: stream name : Audio Stream [00000278] [Media: test] avi private debug: </list 'strl'> [00000278] [Media: test] avi private debug: </list 'hdrl'> [00000278] [Media: test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1680 pos:348 [00000278] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:5180130 pos:2036 [00000278] [Media: test] avi private debug: skipping movi chunk [00000278] [Media: test] avi private debug: found Chunk fourcc:31786469 (idx1) size:34400 pos:5182174 [00000278] [Media: test] avi private debug: idx1: index entry:2150 [00000278] [Media: test] avi private debug: </list 'AVI '> [00000278] [Media: test] avi private debug: found Chunk fourcc:fd5f7d95 (?}_?) size:3974724528 pos:5216582 [00000278] [Media: test] avi private warning: unknown chunk (not loaded) [00000278] [Media: test] avi private debug: * LIST-root size:5216768 pos:0 [00000278] [Media: test] avi private debug: + RIFF-AVI size:5216574 pos:0 [00000278] [Media: test] avi private debug: | + LIST-hdrl size:328 pos:12 [00000278] [Media: test] avi private debug: | | + avih size:56 pos:24 [00000278] [Media: test] avi private debug: | | + LIST-strl size:116 pos:88 [00000278] [Media: test] avi private debug: | | | + strh size:56 pos:100 [00000278] [Media: test] avi private debug: | | | + strf size:40 pos:164 [00000278] [Media: test] avi private debug: | | + LIST-strl size:128 pos:212 [00000278] [Media: test] avi private debug: | | | + strh size:56 pos:224 [00000278] [Media: test] avi private debug: | | | + strf size:30 pos:288 [00000278] [Media: test] avi private debug: | | | + strn size:13 pos:326 [00000278] [Media: test] avi private debug: | + JUNK size:1680 pos:348 [00000278] [Media: test] avi private debug: | + LIST-movi size:5180130 pos:2036 [00000278] [Media: test] avi private debug: | + idx1 size:34400 pos:5182174 [00000278] [Media: test] avi private debug: + ?}_? size:3974724528 pos:5216582 [00000279] [Media: test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX TRUST_CKTYPE [00000279] [Media: test] avi demuxer debug: stream[0] rate:25000 scale:1000 samplesize:0 [00000279] [Media: test] avi demuxer debug: stream[0] video(DX50) 352x288 24bpp 25.000000fps [00000269] [Media: test] main input debug: selecting program id=0 [00000279] [Media: test] avi demuxer debug: stream[1] rate:24000 scale:1 samplesize:1 [00000279] [Media: test] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits [00000279] [Media: test] avi demuxer debug: stream[0] created 1075 index entries [00000279] [Media: test] avi demuxer debug: stream[1] created 1075 index entries [00000279] [Media: test] avi demuxer debug: stream[0] length:43 (based on index) [00000279] [Media: test] avi demuxer debug: stream[1] length:42 (based on index) [00000279] [Media: test] main demuxer debug: using demux2 module "avi" [00000269] [Media: test] main input debug: looking for a subtitle file in /home/zhangye/VLC/test/vlc-0.9.0-svn/ [00000281] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000281] [Media: test] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000269] [Media: test] main input debug: stream out mode -> no decoder thread [00000297] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000297] [Media: test] main packetizer debug: using packetizer module "mpeg_audio" [00000269] [Media: test] main input debug: stream out mode -> no decoder thread [00000269] [Media: test] main input debug: starting in asynch mode [00000269] [Media: test] main input debug: `a.avi' successfully opened [00000279] [Media: test] avi demuxer debug: old:0 < new 0 [00000281] [Media: test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000270] [Media: test] main stream output debug: adding a new input [00000297] [Media: test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:192 [00000270] [Media: test] main stream output debug: adding a new input [00000274] [Media: test] access_file access error: seeking too early [00000279] [Media: test] avi demuxer warning: cannot skip packet, track disabled [00000281] [Media: test] main packetizer debug: removing module "packetizer_mpeg4video" [00000281] [Media: test] main packetizer debug: killing decoder fourcc `DX50', 0 PES in FIFO [00000270] [Media: test] main stream output debug: removing an input [00000297] [Media: test] main packetizer debug: removing module "mpeg_audio" [00000297] [Media: test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000270] [Media: test] main stream output debug: removing an input [00000269] [Media: test] main input debug: EOF reached [00000269] [Media: test] main input debug: closing input [00000278] [Media: test] avi private debug: free chunk avih [00000278] [Media: test] avi private debug: free chunk strh [00000278] [Media: test] avi private debug: free chunk strf [00000278] [Media: test] avi private debug: free chunk LIST [00000278] [Media: test] avi private debug: free chunk strh [00000278] [Media: test] avi private debug: free chunk strf [00000278] [Media: test] avi private debug: free chunk strn [00000278] [Media: test] avi private debug: free chunk LIST [00000278] [Media: test] avi private debug: free chunk LIST [00000278] [Media: test] avi private debug: free chunk JUNK [00000278] [Media: test] avi private debug: free chunk LIST [00000278] [Media: test] avi private debug: free chunk idx1 [00000278] [Media: test] avi private debug: free chunk RIFF [00000278] [Media: test] avi private warning: unknown chunk (not unloaded) [00000278] [Media: test] avi private debug: free chunk LIST [00000279] [Media: test] main demuxer debug: removing module "avi" [00000274] [Media: test] main access debug: removing module "access_file" [00000269] [Media: test] main input debug: destroying sout [00000271] main private debug: destroying chain... (name=description) [00000271] main private debug: removing module "stream_out_description" [00000271] main private debug: destroying chain done [00000269] [Media: test] main input debug: thread 68606896 joined (input/input.c:399) [00000265] vod_rtsp private debug: created RTSP url: /test [00000265] vod_rtsp private debug: media has 2 declared ES [00000265] vod_rtsp private debug: - ES mp4v (/test/trackID=0) [00000265] vod_rtsp private debug: - ES mpga (/test/trackID=1) [00000268] main http server debug: Connection from 192.168.8.221 [00000268] main http server debug: Connection from 192.168.8.221 [00000268] main http server debug: Connection from 192.168.8.221 [00000265] vod_rtsp private debug: RtspCallback query: type=7 [00000268] main http server debug: Connection from 192.168.8.221 [00000265] vod_rtsp private debug: RtspCallback query: type=7 [00000265] vod_rtsp private debug: RtspCallback query: type=7 [00000265] vod_rtsp private debug: RtspCallback query: type=7 [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40802-40803 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40802 [00000265] vod_rtsp private debug: new session: 1804289383, connections: 0 [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40806-40807 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40806 [00000265] vod_rtsp private debug: new session: 846930886, connections: 0 [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40804-40805 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40804 [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40808-40809 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40808 [00000265] vod_rtsp private debug: RtspCallback query: type=9 [00000265] vod_rtsp private debug: HTTPD_MSG_PLAY for session: 1804289383 [00000304] [Media: test] main input debug: waiting for thread completion [00000305] [Media: test] main stream output debug: stream=`rtp' [00000306] [Media: test] main private debug: looking for sout stream module: 1 candidate [00000304] [Media: test] main input debug: thread 68606896 (input) created at priority 0 (input/input.c:264) [00000265] vod_rtsp private debug: RtspCallback query: type=9 [00000265] vod_rtsp private debug: HTTPD_MSG_PLAY for session: 846930886 [00000308] [Media: test] main input debug: waiting for thread completion [00000306] [Media: test] main private debug: set sout option: sout-rtp-dst to 192.168.8.221 [00000306] [Media: test] main private debug: set sout option: sout-rtp-port-video to 40802 [00000306] [Media: test] main private debug: set sout option: sout-rtp-port-audio to 40804 [00000306] [Media: test] main private debug: using sout stream module "stream_out_rtp" [00000304] [Media: test] main input debug: `a.avi' gives access `' demux `' path `a.avi' [00000304] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000309] [Media: test] main demuxer debug: looking for access_demux module: 0 candidates [00000309] [Media: test] main demuxer warning: no access_demux module matched "any" [00000304] [Media: test] main input debug: creating access '' path='a.avi' [00000310] [Media: test] main access debug: looking for access2 module: 4 candidates [00000310] [Media: test] vcd access debug: trying .cue file: a.cue [00000310] [Media: test] access_file access debug: opening file `a.avi' [00000310] [Media: test] main access debug: using access2 module "access_file" [00000311] [Media: test] main private debug: pre-buffering... [00000311] [Media: test] main private debug: received first data for our buffer [00000311] [Media: test] main private debug: pre-buffering done 1408981 bytes in 0s - 380519 kbytes/s [00000304] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000312] [Media: test] main demuxer debug: looking for demux2 module: 38 candidates [00000311] [Media: test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:5216574 pos:0 [00000311] [Media: test] avi private debug: found LIST chunk: 'AVI ' [00000311] [Media: test] avi private debug: <list 'AVI '> [00000311] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:328 pos:12 [00000311] [Media: test] avi private debug: found LIST chunk: 'hdrl' [00000311] [Media: test] avi private debug: <list 'hdrl'> [00000311] [Media: test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000311] [Media: test] avi private debug: avih: streams:2 flags: HAS_INDEX TRUST_CKTYPE 352x288 [00000311] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [00000311] [Media: test] avi private debug: found LIST chunk: 'strl' [00000311] [Media: test] avi private debug: <list 'strl'> [00000311] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000311] [Media: test] avi private debug: strh: type:vids handler:0x58564944 samplesize:0 25.00fps [00000311] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000311] [Media: test] avi private debug: strf: video:DX50 352x288 planes:1 24bpp [00000311] [Media: test] avi private debug: </list 'strl'> [00000311] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:128 pos:212 [00000311] [Media: test] avi private debug: found LIST chunk: 'strl' [00000311] [Media: test] avi private debug: <list 'strl'> [00000311] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [00000311] [Media: test] avi private debug: strh: type:auds handler:0x00000000 samplesize:1 24000.00fps [00000311] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [00000311] [Media: test] avi private debug: strf: audio:0x0055 channels:2 44100Hz 0bits/sample 187kb/s [00000311] [Media: test] avi private debug: found Chunk fourcc:6e727473 (strn) size:13 pos:326 [00000311] [Media: test] avi private debug: strn: stream name : Audio Stream [00000311] [Media: test] avi private debug: </list 'strl'> [00000311] [Media: test] avi private debug: </list 'hdrl'> [00000311] [Media: test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1680 pos:348 [00000311] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:5180130 pos:2036 [00000311] [Media: test] avi private debug: skipping movi chunk [00000311] [Media: test] avi private debug: found Chunk fourcc:31786469 (idx1) size:34400 pos:5182174 [00000311] [Media: test] avi private debug: idx1: index entry:2150 [00000311] [Media: test] avi private debug: </list 'AVI '> [00000311] [Media: test] avi private debug: found Chunk fourcc:fd5f7d95 (?}_?) size:3974724528 pos:5216582 [00000311] [Media: test] avi private warning: unknown chunk (not loaded) [00000311] [Media: test] avi private debug: * LIST-root size:5216768 pos:0 [00000311] [Media: test] avi private debug: + RIFF-AVI size:5216574 pos:0 [00000311] [Media: test] avi private debug: | + LIST-hdrl size:328 pos:12 [00000311] [Media: test] avi private debug: | | + avih size:56 pos:24 [00000311] [Media: test] avi private debug: | | + LIST-strl size:116 pos:88 [00000311] [Media: test] avi private debug: | | | + strh size:56 pos:100 [00000311] [Media: test] avi private debug: | | | + strf size:40 pos:164 [00000311] [Media: test] avi private debug: | | + LIST-strl size:128 pos:212 [00000311] [Media: test] avi private debug: | | | + strh size:56 pos:224 [00000311] [Media: test] avi private debug: | | | + strf size:30 pos:288 [00000311] [Media: test] avi private debug: | | | + strn size:13 pos:326 [00000311] [Media: test] avi private debug: | + JUNK size:1680 pos:348 [00000311] [Media: test] avi private debug: | + LIST-movi size:5180130 pos:2036 [00000311] [Media: test] avi private debug: | + idx1 size:34400 pos:5182174 [00000311] [Media: test] avi private debug: + ?}_? size:3974724528 pos:5216582 [00000312] [Media: test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX TRUST_CKTYPE [00000312] [Media: test] avi demuxer debug: stream[0] rate:25000 scale:1000 samplesize:0 [00000312] [Media: test] avi demuxer debug: stream[0] video(DX50) 352x288 24bpp 25.000000fps [00000304] [Media: test] main input debug: selecting program id=0 [00000312] [Media: test] avi demuxer debug: stream[1] rate:24000 scale:1 samplesize:1 [00000312] [Media: test] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits [00000312] [Media: test] avi demuxer debug: stream[0] created 1075 index entries [00000312] [Media: test] avi demuxer debug: stream[1] created 1075 index entries [00000312] [Media: test] avi demuxer debug: stream[0] length:43 (based on index) [00000312] [Media: test] avi demuxer debug: stream[1] length:42 (based on index) [00000312] [Media: test] main demuxer debug: using demux2 module "avi" [00000304] [Media: test] main input debug: looking for a subtitle file in /home/zhangye/VLC/test/vlc-0.9.0-svn/ [00000313] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000313] [Media: test] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000304] [Media: test] main input debug: stream out mode -> no decoder thread [00000314] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000314] [Media: test] main packetizer debug: using packetizer module "mpeg_audio" [00000304] [Media: test] main input debug: stream out mode -> no decoder thread [00000304] [Media: test] main input debug: starting in synch mode [00000304] [Media: test] main input debug: `a.avi' successfully opened [00000312] [Media: test] avi demuxer debug: old:0 < new 0 [00000313] [Media: test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000308] [Media: test] main input debug: thread 79096752 (input) created at priority 0 (input/input.c:264) [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40810-40811 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40810 [00000265] vod_rtsp private debug: new session: 1681692777, connections: 0 [00000315] [Media: test] main stream output debug: stream=`rtp' [00000316] [Media: test] main private debug: looking for sout stream module: 1 candidate [00000316] [Media: test] main private debug: set sout option: sout-rtp-dst to 192.168.8.221 [00000316] [Media: test] main private debug: set sout option: sout-rtp-port-video to 40806 [00000316] [Media: test] main private debug: set sout option: sout-rtp-port-audio to 40808 [00000316] [Media: test] main private debug: using sout stream module "stream_out_rtp" [00000308] [Media: test] main input debug: `a.avi' gives access `' demux `' path `a.avi' [00000308] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000317] [Media: test] main demuxer debug: looking for access_demux module: 0 candidates [00000317] [Media: test] main demuxer warning: no access_demux module matched "any" [00000308] [Media: test] main input debug: creating access '' path='a.avi' [00000318] [Media: test] main access debug: looking for access2 module: 4 candidates [00000318] [Media: test] vcd access debug: trying .cue file: a.cue [00000318] [Media: test] access_file access debug: opening file `a.avi' [00000318] [Media: test] main access debug: using access2 module "access_file" [00000319] [Media: test] main private debug: pre-buffering... [00000319] [Media: test] main private debug: received first data for our buffer [00000319] [Media: test] main private debug: pre-buffering done 1408981 bytes in 0s - 378947 kbytes/s [00000308] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000320] [Media: test] main demuxer debug: looking for demux2 module: 38 candidates [00000319] [Media: test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:5216574 pos:0 [00000319] [Media: test] avi private debug: found LIST chunk: 'AVI ' [00000319] [Media: test] avi private debug: <list 'AVI '> [00000319] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:328 pos:12 [00000319] [Media: test] avi private debug: found LIST chunk: 'hdrl' [00000319] [Media: test] avi private debug: <list 'hdrl'> [00000319] [Media: test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000319] [Media: test] avi private debug: avih: streams:2 flags: HAS_INDEX TRUST_CKTYPE 352x288 [00000319] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [00000319] [Media: test] avi private debug: found LIST chunk: 'strl' [00000319] [Media: test] avi private debug: <list 'strl'> [00000319] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000319] [Media: test] avi private debug: strh: type:vids handler:0x58564944 samplesize:0 25.00fps [00000319] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000319] [Media: test] avi private debug: strf: video:DX50 352x288 planes:1 24bpp [00000319] [Media: test] avi private debug: </list 'strl'> [00000319] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:128 pos:212 [00000319] [Media: test] avi private debug: found LIST chunk: 'strl' [00000319] [Media: test] avi private debug: <list 'strl'> [00000319] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [00000319] [Media: test] avi private debug: strh: type:auds handler:0x00000000 samplesize:1 24000.00fps [00000319] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [00000319] [Media: test] avi private debug: strf: audio:0x0055 channels:2 44100Hz 0bits/sample 187kb/s [00000319] [Media: test] avi private debug: found Chunk fourcc:6e727473 (strn) size:13 pos:326 [00000319] [Media: test] avi private debug: strn: stream name : Audio Stream [00000319] [Media: test] avi private debug: </list 'strl'> [00000319] [Media: test] avi private debug: </list 'hdrl'> [00000319] [Media: test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1680 pos:348 [00000319] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:5180130 pos:2036 [00000319] [Media: test] avi private debug: skipping movi chunk [00000319] [Media: test] avi private debug: found Chunk fourcc:31786469 (idx1) size:34400 pos:5182174 [00000319] [Media: test] avi private debug: idx1: index entry:2150 [00000319] [Media: test] avi private debug: </list 'AVI '> [00000319] [Media: test] avi private debug: found Chunk fourcc:fd5f7d95 (?}_?) size:3974724528 pos:5216582 [00000319] [Media: test] avi private warning: unknown chunk (not loaded) [00000319] [Media: test] avi private debug: * LIST-root size:5216768 pos:0 [00000319] [Media: test] avi private debug: + RIFF-AVI size:5216574 pos:0 [00000319] [Media: test] avi private debug: | + LIST-hdrl size:328 pos:12 [00000319] [Media: test] avi private debug: | | + avih size:56 pos:24 [00000319] [Media: test] avi private debug: | | + LIST-strl size:116 pos:88 [00000319] [Media: test] avi private debug: | | | + strh size:56 pos:100 [00000319] [Media: test] avi private debug: | | | + strf size:40 pos:164 [00000319] [Media: test] avi private debug: | | + LIST-strl size:128 pos:212 [00000319] [Media: test] avi private debug: | | | + strh size:56 pos:224 [00000319] [Media: test] avi private debug: | | | + strf size:30 pos:288 [00000319] [Media: test] avi private debug: | | | + strn size:13 pos:326 [00000319] [Media: test] avi private debug: | + JUNK size:1680 pos:348 [00000319] [Media: test] avi private debug: | + LIST-movi size:5180130 pos:2036 [00000319] [Media: test] avi private debug: | + idx1 size:34400 pos:5182174 [00000319] [Media: test] avi private debug: + ?}_? size:3974724528 pos:5216582 [00000320] [Media: test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX TRUST_CKTYPE [00000320] [Media: test] avi demuxer debug: stream[0] rate:25000 scale:1000 samplesize:0 [00000320] [Media: test] avi demuxer debug: stream[0] video(DX50) 352x288 24bpp 25.000000fps [00000308] [Media: test] main input debug: selecting program id=0 [00000320] [Media: test] avi demuxer debug: stream[1] rate:24000 scale:1 samplesize:1 [00000320] [Media: test] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits [00000320] [Media: test] avi demuxer debug: stream[0] created 1075 index entries [00000320] [Media: test] avi demuxer debug: stream[1] created 1075 index entries [00000320] [Media: test] avi demuxer debug: stream[0] length:43 (based on index) [00000320] [Media: test] avi demuxer debug: stream[1] length:42 (based on index) [00000320] [Media: test] main demuxer debug: using demux2 module "avi" [00000308] [Media: test] main input debug: looking for a subtitle file in /home/zhangye/VLC/test/vlc-0.9.0-svn/ [00000321] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000321] [Media: test] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000308] [Media: test] main input debug: stream out mode -> no decoder thread [00000322] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40814-40815 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40814 [00000265] vod_rtsp private debug: new session: 1714636915, connections: 0 [00000322] [Media: test] main packetizer debug: using packetizer module "mpeg_audio" [00000308] [Media: test] main input debug: stream out mode -> no decoder thread [00000308] [Media: test] main input debug: starting in synch mode [00000308] [Media: test] main input debug: `a.avi' successfully opened [00000320] [Media: test] avi demuxer debug: old:0 < new 0 [00000321] [Media: test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40812-40813 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40812 [00000265] vod_rtsp private debug: RtspCallback query: type=8 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: transport=RTP/AVP;unicast;client_port=40816-40817 [00000265] vod_rtsp private debug: HTTPD_MSG_SETUP: unicast ip=192.168.8.221 port=40816 [00000265] vod_rtsp private debug: RtspCallback query: type=9 [00000265] vod_rtsp private debug: HTTPD_MSG_PLAY for session: 1681692777 [00000323] [Media: test] main input debug: waiting for thread completion [00000324] [Media: test] main stream output debug: stream=`rtp' [00000325] [Media: test] main private debug: looking for sout stream module: 1 candidate [00000325] [Media: test] main private debug: set sout option: sout-rtp-dst to 192.168.8.221 [00000325] [Media: test] main private debug: set sout option: sout-rtp-port-video to 40810 [00000325] [Media: test] main private debug: set sout option: sout-rtp-port-audio to 40812 [00000325] [Media: test] main private debug: using sout stream module "stream_out_rtp" [00000323] [Media: test] main input debug: thread 89586608 (input) created at priority 0 (input/input.c:264) [00000265] vod_rtsp private debug: RtspCallback query: type=9 [00000265] vod_rtsp private debug: HTTPD_MSG_PLAY for session: 1714636915 [00000326] [Media: test] main input debug: waiting for thread completion [00000323] [Media: test] main input debug: `a.avi' gives access `' demux `' path `a.avi' [00000323] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000327] [Media: test] main demuxer debug: looking for access_demux module: 0 candidates [00000327] [Media: test] main demuxer warning: no access_demux module matched "any" [00000323] [Media: test] main input debug: creating access '' path='a.avi' [00000328] [Media: test] main access debug: looking for access2 module: 4 candidates [00000328] [Media: test] vcd access debug: trying .cue file: a.cue [00000328] [Media: test] access_file access debug: opening file `a.avi' [00000328] [Media: test] main access debug: using access2 module "access_file" [00000329] [Media: test] main private debug: pre-buffering... [00000329] [Media: test] main private debug: received first data for our buffer [00000329] [Media: test] main private debug: pre-buffering done 1408981 bytes in 0s - 381363 kbytes/s [00000323] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000330] [Media: test] main demuxer debug: looking for demux2 module: 38 candidates [00000329] [Media: test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:5216574 pos:0 [00000329] [Media: test] avi private debug: found LIST chunk: 'AVI ' [00000329] [Media: test] avi private debug: <list 'AVI '> [00000329] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:328 pos:12 [00000329] [Media: test] avi private debug: found LIST chunk: 'hdrl' [00000329] [Media: test] avi private debug: <list 'hdrl'> [00000329] [Media: test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000329] [Media: test] avi private debug: avih: streams:2 flags: HAS_INDEX TRUST_CKTYPE 352x288 [00000329] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [00000329] [Media: test] avi private debug: found LIST chunk: 'strl' [00000329] [Media: test] avi private debug: <list 'strl'> [00000329] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000329] [Media: test] avi private debug: strh: type:vids handler:0x58564944 samplesize:0 25.00fps [00000329] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000329] [Media: test] avi private debug: strf: video:DX50 352x288 planes:1 24bpp [00000329] [Media: test] avi private debug: </list 'strl'> [00000329] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:128 pos:212 [00000329] [Media: test] avi private debug: found LIST chunk: 'strl' [00000329] [Media: test] avi private debug: <list 'strl'> [00000329] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [00000329] [Media: test] avi private debug: strh: type:auds handler:0x00000000 samplesize:1 24000.00fps [00000329] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [00000329] [Media: test] avi private debug: strf: audio:0x0055 channels:2 44100Hz 0bits/sample 187kb/s [00000329] [Media: test] avi private debug: found Chunk fourcc:6e727473 (strn) size:13 pos:326 [00000329] [Media: test] avi private debug: strn: stream name : Audio Stream [00000329] [Media: test] avi private debug: </list 'strl'> [00000329] [Media: test] avi private debug: </list 'hdrl'> [00000329] [Media: test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1680 pos:348 [00000329] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:5180130 pos:2036 [00000329] [Media: test] avi private debug: skipping movi chunk [00000329] [Media: test] avi private debug: found Chunk fourcc:31786469 (idx1) size:34400 pos:5182174 [00000329] [Media: test] avi private debug: idx1: index entry:2150 [00000329] [Media: test] avi private debug: </list 'AVI '> [00000329] [Media: test] avi private debug: found Chunk fourcc:fd5f7d95 (?}_?) size:3974724528 pos:5216582 [00000329] [Media: test] avi private warning: unknown chunk (not loaded) [00000329] [Media: test] avi private debug: * LIST-root size:5216768 pos:0 [00000329] [Media: test] avi private debug: + RIFF-AVI size:5216574 pos:0 [00000329] [Media: test] avi private debug: | + LIST-hdrl size:328 pos:12 [00000329] [Media: test] avi private debug: | | + avih size:56 pos:24 [00000329] [Media: test] avi private debug: | | + LIST-strl size:116 pos:88 [00000329] [Media: test] avi private debug: | | | + strh size:56 pos:100 [00000329] [Media: test] avi private debug: | | | + strf size:40 pos:164 [00000329] [Media: test] avi private debug: | | + LIST-strl size:128 pos:212 [00000329] [Media: test] avi private debug: | | | + strh size:56 pos:224 [00000329] [Media: test] avi private debug: | | | + strf size:30 pos:288 [00000329] [Media: test] avi private debug: | | | + strn size:13 pos:326 [00000329] [Media: test] avi private debug: | + JUNK size:1680 pos:348 [00000329] [Media: test] avi private debug: | + LIST-movi size:5180130 pos:2036 [00000329] [Media: test] avi private debug: | + idx1 size:34400 pos:5182174 [00000329] [Media: test] avi private debug: + ?}_? size:3974724528 pos:5216582 [00000330] [Media: test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX TRUST_CKTYPE [00000330] [Media: test] avi demuxer debug: stream[0] rate:25000 scale:1000 samplesize:0 [00000330] [Media: test] avi demuxer debug: stream[0] video(DX50) 352x288 24bpp 25.000000fps [00000323] [Media: test] main input debug: selecting program id=0 [00000330] [Media: test] avi demuxer debug: stream[1] rate:24000 scale:1 samplesize:1 [00000330] [Media: test] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits [00000330] [Media: test] avi demuxer debug: stream[0] created 1075 index entries [00000330] [Media: test] avi demuxer debug: stream[1] created 1075 index entries [00000330] [Media: test] avi demuxer debug: stream[0] length:43 (based on index) [00000330] [Media: test] avi demuxer debug: stream[1] length:42 (based on index) [00000330] [Media: test] main demuxer debug: using demux2 module "avi" [00000323] [Media: test] main input debug: looking for a subtitle file in /home/zhangye/VLC/test/vlc-0.9.0-svn/ [00000331] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000331] [Media: test] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000323] [Media: test] main input debug: stream out mode -> no decoder thread [00000332] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000332] [Media: test] main packetizer debug: using packetizer module "mpeg_audio" [00000323] [Media: test] main input debug: stream out mode -> no decoder thread [00000323] [Media: test] main input debug: starting in synch mode [00000323] [Media: test] main input debug: `a.avi' successfully opened [00000330] [Media: test] avi demuxer debug: old:0 < new 0 [00000331] [Media: test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000326] [Media: test] main input debug: thread 116321200 (input) created at priority 0 (input/input.c:264) [00000333] [Media: test] main stream output debug: stream=`rtp' [00000334] [Media: test] main private debug: looking for sout stream module: 1 candidate [00000334] [Media: test] main private debug: set sout option: sout-rtp-dst to 192.168.8.221 [00000334] [Media: test] main private debug: set sout option: sout-rtp-port-video to 40814 [00000334] [Media: test] main private debug: set sout option: sout-rtp-port-audio to 40816 [00000334] [Media: test] main private debug: using sout stream module "stream_out_rtp" [00000326] [Media: test] main input debug: `a.avi' gives access `' demux `' path `a.avi' [00000326] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000335] [Media: test] main demuxer debug: looking for access_demux module: 0 candidates [00000335] [Media: test] main demuxer warning: no access_demux module matched "any" [00000326] [Media: test] main input debug: creating access '' path='a.avi' [00000336] [Media: test] main access debug: looking for access2 module: 4 candidates [00000336] [Media: test] vcd access debug: trying .cue file: a.cue [00000336] [Media: test] access_file access debug: opening file `a.avi' [00000336] [Media: test] main access debug: using access2 module "access_file" [00000337] [Media: test] main private debug: pre-buffering... [00000337] [Media: test] main private debug: received first data for our buffer [00000337] [Media: test] main private debug: pre-buffering done 1408981 bytes in 0s - 380624 kbytes/s [00000326] [Media: test] main input debug: creating demux: access='' demux='' path='a.avi' [00000338] [Media: test] main demuxer debug: looking for demux2 module: 38 candidates [00000337] [Media: test] avi private debug: found Chunk fourcc:46464952 (RIFF) size:5216574 pos:0 [00000337] [Media: test] avi private debug: found LIST chunk: 'AVI ' [00000337] [Media: test] avi private debug: <list 'AVI '> [00000337] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:328 pos:12 [00000337] [Media: test] avi private debug: found LIST chunk: 'hdrl' [00000337] [Media: test] avi private debug: <list 'hdrl'> [00000337] [Media: test] avi private debug: found Chunk fourcc:68697661 (avih) size:56 pos:24 [00000337] [Media: test] avi private debug: avih: streams:2 flags: HAS_INDEX TRUST_CKTYPE 352x288 [00000337] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:116 pos:88 [00000337] [Media: test] avi private debug: found LIST chunk: 'strl' [00000337] [Media: test] avi private debug: <list 'strl'> [00000337] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:100 [00000337] [Media: test] avi private debug: strh: type:vids handler:0x58564944 samplesize:0 25.00fps [00000337] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:40 pos:164 [00000337] [Media: test] avi private debug: strf: video:DX50 352x288 planes:1 24bpp [00000337] [Media: test] avi private debug: </list 'strl'> [00000337] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:128 pos:212 [00000337] [Media: test] avi private debug: found LIST chunk: 'strl' [00000337] [Media: test] avi private debug: <list 'strl'> [00000337] [Media: test] avi private debug: found Chunk fourcc:68727473 (strh) size:56 pos:224 [00000337] [Media: test] avi private debug: strh: type:auds handler:0x00000000 samplesize:1 24000.00fps [00000337] [Media: test] avi private debug: found Chunk fourcc:66727473 (strf) size:30 pos:288 [00000337] [Media: test] avi private debug: strf: audio:0x0055 channels:2 44100Hz 0bits/sample 187kb/s [00000337] [Media: test] avi private debug: found Chunk fourcc:6e727473 (strn) size:13 pos:326 [00000337] [Media: test] avi private debug: strn: stream name : Audio Stream [00000337] [Media: test] avi private debug: </list 'strl'> [00000337] [Media: test] avi private debug: </list 'hdrl'> [00000337] [Media: test] avi private debug: found Chunk fourcc:4b4e554a (JUNK) size:1680 pos:348 [00000337] [Media: test] avi private debug: found Chunk fourcc:5453494c (LIST) size:5180130 pos:2036 [00000337] [Media: test] avi private debug: skipping movi chunk [00000337] [Media: test] avi private debug: found Chunk fourcc:31786469 (idx1) size:34400 pos:5182174 [00000337] [Media: test] avi private debug: idx1: index entry:2150 [00000337] [Media: test] avi private debug: </list 'AVI '> [00000337] [Media: test] avi private debug: found Chunk fourcc:fd5f7d95 (?}_?) size:3974724528 pos:5216582 [00000337] [Media: test] avi private warning: unknown chunk (not loaded) [00000337] [Media: test] avi private debug: * LIST-root size:5216768 pos:0 [00000337] [Media: test] avi private debug: + RIFF-AVI size:5216574 pos:0 [00000337] [Media: test] avi private debug: | + LIST-hdrl size:328 pos:12 [00000337] [Media: test] avi private debug: | | + avih size:56 pos:24 [00000337] [Media: test] avi private debug: | | + LIST-strl size:116 pos:88 [00000337] [Media: test] avi private debug: | | | + strh size:56 pos:100 [00000337] [Media: test] avi private debug: | | | + strf size:40 pos:164 [00000337] [Media: test] avi private debug: | | + LIST-strl size:128 pos:212 [00000337] [Media: test] avi private debug: | | | + strh size:56 pos:224 [00000337] [Media: test] avi private debug: | | | + strf size:30 pos:288 [00000337] [Media: test] avi private debug: | | | + strn size:13 pos:326 [00000337] [Media: test] avi private debug: | + JUNK size:1680 pos:348 [00000337] [Media: test] avi private debug: | + LIST-movi size:5180130 pos:2036 [00000337] [Media: test] avi private debug: | + idx1 size:34400 pos:5182174 [00000337] [Media: test] avi private debug: + ?}_? size:3974724528 pos:5216582 [00000338] [Media: test] avi demuxer debug: AVIH: 2 stream, flags HAS_INDEX TRUST_CKTYPE [00000338] [Media: test] avi demuxer debug: stream[0] rate:25000 scale:1000 samplesize:0 [00000338] [Media: test] avi demuxer debug: stream[0] video(DX50) 352x288 24bpp 25.000000fps [00000326] [Media: test] main input debug: selecting program id=0 [00000338] [Media: test] avi demuxer debug: stream[1] rate:24000 scale:1 samplesize:1 [00000338] [Media: test] avi demuxer debug: stream[1] audio(0x55) 2 channels 44100Hz 0bits [00000338] [Media: test] avi demuxer debug: stream[0] created 1075 index entries [00000338] [Media: test] avi demuxer debug: stream[1] created 1075 index entries [00000338] [Media: test] avi demuxer debug: stream[0] length:43 (based on index) [00000338] [Media: test] avi demuxer debug: stream[1] length:42 (based on index) [00000338] [Media: test] main demuxer debug: using demux2 module "avi" [00000326] [Media: test] main input debug: looking for a subtitle file in /home/zhangye/VLC/test/vlc-0.9.0-svn/ [00000339] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000305] [Media: test] main stream output debug: adding a new input [00000340] [Media: test] main private debug: looking for sout access module: 1 candidate [00000315] [Media: test] main stream output debug: adding a new input [00000340] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000340] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000340] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40802 [00000342] [Media: test] main private debug: thread 145009584 (sout write thread) created at priority 0 (udp.c:268) [00000340] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40802) [00000340] [Media: test] main private debug: using sout access module "access_output_udp" [00000306] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40802 [00000306] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000306] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851956733 1 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40802 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; [00000343] [Media: test] main private debug: looking for sout access module: 1 candidate [00000343] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000343] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000343] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40806 [00000344] [Media: test] main private debug: thread 155499440 (sout write thread) created at priority 0 (udp.c:268) [00000343] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40806) [00000343] [Media: test] main private debug: using sout access module "access_output_udp" [00000316] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40806 [00000316] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000316] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851966995 1 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40806 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; [00000339] [Media: test] main packetizer debug: using packetizer module "packetizer_mpeg4video" [00000326] [Media: test] main input debug: stream out mode -> no decoder thread [00000345] [Media: test] main packetizer debug: looking for packetizer module: 14 candidates [00000345] [Media: test] main packetizer debug: using packetizer module "mpeg_audio" [00000326] [Media: test] main input debug: stream out mode -> no decoder thread [00000326] [Media: test] main input debug: starting in synch mode [00000326] [Media: test] main input debug: `a.avi' successfully opened [00000338] [Media: test] avi demuxer debug: old:0 < new 0 [00000339] [Media: test] packetizer_mpeg4video packetizer warning: waiting for VOL [00000314] [Media: test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:192 [00000305] [Media: test] main stream output debug: adding a new input [00000346] [Media: test] main private debug: looking for sout access module: 1 candidate [00000346] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000346] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000346] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40804 [00000347] [Media: test] main private debug: thread 3029834672 (sout write thread) created at priority 0 (udp.c:268) [00000346] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40804) [00000346] [Media: test] main private debug: using sout access module "access_output_udp" [00000306] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40804 [00000306] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000306] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851956733 2 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40802 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; m=audio 40804 RTP/AVP 14 a=rtpmap:14 MPA/90000 b=AS:192 [00000324] [Media: test] main stream output debug: adding a new input [00000348] [Media: test] main private debug: looking for sout access module: 1 candidate [00000348] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000348] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000348] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40810 [00000349] [Media: test] main private debug: thread 3019344816 (sout write thread) created at priority 0 (udp.c:268) [00000348] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40810) [00000348] [Media: test] main private debug: using sout access module "access_output_udp" [00000325] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40810 [00000325] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000325] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851986449 1 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40810 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; [00000322] [Media: test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:192 [00000315] [Media: test] main stream output debug: adding a new input [00000350] [Media: test] main private debug: looking for sout access module: 1 candidate [00000350] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000350] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000350] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40808 [00000351] [Media: test] main private debug: thread 3008854960 (sout write thread) created at priority 0 (udp.c:268) [00000350] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40808) [00000350] [Media: test] main private debug: using sout access module "access_output_udp" [00000316] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40808 [00000316] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000316] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851966995 2 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40806 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; m=audio 40808 RTP/AVP 14 a=rtpmap:14 MPA/90000 b=AS:192 [00000333] [Media: test] main stream output debug: adding a new input [00000352] [Media: test] main private debug: looking for sout access module: 1 candidate [00000352] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000352] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000352] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40814 [00000353] [Media: test] main private debug: thread 2998365104 (sout write thread) created at priority 0 (udp.c:268) [00000352] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40814) [00000352] [Media: test] main private debug: using sout access module "access_output_udp" [00000334] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40814 [00000334] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000334] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851998947 1 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40814 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; [00000332] [Media: test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:192 [00000324] [Media: test] main stream output debug: adding a new input [00000354] [Media: test] main private debug: looking for sout access module: 1 candidate [00000354] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000354] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000354] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40812 [00000355] [Media: test] main private debug: thread 2987875248 (sout write thread) created at priority 0 (udp.c:268) [00000354] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40812) [00000354] [Media: test] main private debug: using sout access module "access_output_udp" [00000325] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40812 [00000325] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000325] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851986449 2 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40810 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; m=audio 40812 RTP/AVP 14 a=rtpmap:14 MPA/90000 b=AS:192 [00000345] [Media: test] mpeg_audio packetizer debug: MPGA channels:2 samplerate:44100 bitrate:192 [00000333] [Media: test] main stream output debug: adding a new input [00000356] [Media: test] main private debug: looking for sout access module: 1 candidate [00000356] [Media: test] main private debug: set sout option: sout-udp-raw to (null) [00000356] [Media: test] main private debug: set sout option: sout-udp-ttl to 12 [00000356] [Media: test] main private debug: net: connecting to 192.168.8.221 port 40816 [00000357] [Media: test] main private debug: thread 2977385392 (sout write thread) created at priority 0 (udp.c:268) [00000356] [Media: test] access_output_udp private debug: udp access output opened(192.168.8.221:40816) [00000356] [Media: test] main private debug: using sout access module "access_output_udp" [00000334] [Media: test] stream_out_rtp private debug: access out udp{raw,ttl=12}:192.168.8.221:40816 [00000334] [Media: test] stream_out_rtp private debug: maximum RTP packet size: 1450 bytes [00000334] [Media: test] stream_out_rtp private debug: sdp=v=0 o=- 851998947 2 IN IP4 127.0.0.1 s=NONE t=0 0 a=tool:vlc 0.9.0-svn c=IN IP4 192.168.8.221 m=video 40814 RTP/AVP 96 a=rtpmap:96 MP4V-ES/90000 a=fmtp:96 profile-level-id=3; config=0000012000c80dc00061f1400c4001900097530a16084828307f; m=audio 40816 RTP/AVP 14 a=rtpmap:14 MPA/90000 b=AS:192 [00000310] [Media: test] access_file access error: seeking too early [00000312] [Media: test] avi demuxer warning: cannot skip packet, track disabled [00000313] [Media: test] main packetizer debug: removing module "packetizer_mpeg4video" [00000313] [Media: test] main packetizer debug: killing decoder fourcc `DX50', 0 PES in FIFO [00000305] [Media: test] main stream output debug: removing an input [00000318] [Media: test] access_file access error: seeking too early [00000320] [Media: test] avi demuxer warning: cannot skip packet, track disabled [00000321] [Media: test] main packetizer debug: removing module "packetizer_mpeg4video" [00000321] [Media: test] main packetizer debug: killing decoder fourcc `DX50', 0 PES in FIFO [00000315] [Media: test] main stream output debug: removing an input [00000342] main private debug: thread 145009584 joined (udp.c:316) [00000340] access_output_udp private debug: udp access output closed [00000340] main private debug: removing module "access_output_udp" [00000314] [Media: test] main packetizer debug: removing module "mpeg_audio" [00000314] [Media: test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000305] [Media: test] main stream output debug: removing an input [00000328] [Media: test] access_file access error: seeking too early [00000330] [Media: test] avi demuxer warning: cannot skip packet, track disabled [00000331] [Media: test] main packetizer debug: removing module "packetizer_mpeg4video" [00000331] [Media: test] main packetizer debug: killing decoder fourcc `DX50', 0 PES in FIFO [00000324] [Media: test] main stream output debug: removing an input [00000344] main private debug: thread 155499440 joined (udp.c:316) [00000343] access_output_udp private debug: udp access output closed [00000343] main private debug: removing module "access_output_udp" [00000322] [Media: test] main packetizer debug: removing module "mpeg_audio" [00000322] [Media: test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000315] [Media: test] main stream output debug: removing an input [00000336] [Media: test] access_file access error: seeking too early [00000338] [Media: test] avi demuxer warning: cannot skip packet, track disabled [00000339] [Media: test] main packetizer debug: removing module "packetizer_mpeg4video" [00000339] [Media: test] main packetizer debug: killing decoder fourcc `DX50', 0 PES in FIFO [00000333] [Media: test] main stream output debug: removing an input [00000349] main private debug: thread 3019344816 joined (udp.c:316) [00000348] access_output_udp private debug: udp access output closed [00000348] main private debug: removing module "access_output_udp" [00000332] [Media: test] main packetizer debug: removing module "mpeg_audio" [00000332] [Media: test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000324] [Media: test] main stream output debug: removing an input [00000347] main private debug: thread 3029834672 joined (udp.c:316) [00000346] access_output_udp private debug: udp access output closed [00000346] main private debug: removing module "access_output_udp" [00000304] [Media: test] main input debug: EOF reached [00000353] main private debug: thread 2998365104 joined (udp.c:316) [00000352] access_output_udp private debug: udp access output closed [00000352] main private debug: removing module "access_output_udp" [00000345] [Media: test] main packetizer debug: removing module "mpeg_audio" [00000345] [Media: test] main packetizer debug: killing decoder fourcc `mpga', 0 PES in FIFO [00000333] [Media: test] main stream output debug: removing an input [00000351] main private debug: thread 3008854960 joined (udp.c:316) [00000350] access_output_udp private debug: udp access output closed [00000350] main private debug: removing module "access_output_udp" [00000308] [Media: test] main input debug: EOF reached [00000355] main private debug: thread 2987875248 joined (udp.c:316) [00000354] access_output_udp private debug: udp access output closed [00000354] main private debug: removing module "access_output_udp" [00000323] [Media: test] main input debug: EOF reached [00000357] main private debug: thread 2977385392 joined (udp.c:316) [00000356] access_output_udp private debug: udp access output closed [00000356] main private debug: removing module "access_output_udp" [00000326] [Media: test] main input debug: EOF reached [00000304] [Media: test] main input debug: closing input [00000311] [Media: test] avi private debug: free chunk avih [00000311] [Media: test] avi private debug: free chunk strh [00000311] [Media: test] avi private debug: free chunk strf [00000311] [Media: test] avi private debug: free chunk LIST [00000311] [Media: test] avi private debug: free chunk strh [00000311] [Media: test] avi private debug: free chunk strf [00000311] [Media: test] avi private debug: free chunk strn [00000311] [Media: test] avi private debug: free chunk LIST [00000311] [Media: test] avi private debug: free chunk LIST [00000311] [Media: test] avi private debug: free chunk JUNK [00000311] [Media: test] avi private debug: free chunk LIST [00000311] [Media: test] avi private debug: free chunk idx1 [00000311] [Media: test] avi private debug: free chunk RIFF [00000311] [Media: test] avi private warning: unknown chunk (not unloaded) [00000311] [Media: test] avi private debug: free chunk LIST [00000312] [Media: test] main demuxer debug: removing module "avi" [00000310] [Media: test] main access debug: removing module "access_file" [00000304] [Media: test] main input debug: destroying sout [00000306] main private debug: destroying chain... (name=rtp) [00000306] main private debug: removing module "stream_out_rtp" [00000306] main private debug: destroying chain done [00000304] [Media: test] main input debug: thread 68606896 joined (input/input.c:399) [00000323] [Media: test] main input debug: closing input [00000329] [Media: test] avi private debug: free chunk avih [00000329] [Media: test] avi private debug: free chunk strh [00000329] [Media: test] avi private debug: free chunk strf [00000329] [Media: test] avi private debug: free chunk LIST [00000329] [Media: test] avi private debug: free chunk strh [00000329] [Media: test] avi private debug: free chunk strf [00000329] [Media: test] avi private debug: free chunk strn [00000329] [Media: test] avi private debug: free chunk LIST [00000329] [Media: test] avi private debug: free chunk LIST [00000329] [Media: test] avi private debug: free chunk JUNK [00000329] [Media: test] avi private debug: free chunk LIST [00000329] [Media: test] avi private debug: free chunk idx1 [00000329] [Media: test] avi private debug: free chunk RIFF [00000329] [Media: test] avi private warning: unknown chunk (not unloaded) [00000329] [Media: test] avi private debug: free chunk LIST [00000330] [Media: test] main demuxer debug: removing module "avi" [00000328] [Media: test] main access debug: removing module "access_file" [00000323] [Media: test] main input debug: destroying sout [00000325] main private debug: destroying chain... (name=rtp) [00000325] main private debug: removing module "stream_out_rtp" [00000325] main private debug: destroying chain done [00000323] [Media: test] main input debug: thread 89586608 joined (input/input.c:399)

Thanks
zyc

More details

Posted: 22 Sep 2006 08:37
by zyc
When I use gdb to run the vlc, I see more details besides the above message.

Code: Select all

...... [00000550] main private debug: removing module "stream_out_rtp" [00000550] main private debug: destroying chain done [Thread -1379365968 (LWP 6090) exited] [00000547] [Media: test] main input debug: thread 2915601328 joined (input/input .c:399) Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 47545264 (LWP 6012)] Manage (p_object=0x86ce058) at misc/vlm.c:2443 2443 for( j = 0; j < p_media->i_instance; j++ ) (gdb) print p_object $1 = (vlc_object_t *) 0x86ce058 (gdb) print p_media->i_instance Cannot access memory at address 0xad
Then I add a sleep time in the testing script:

Code: Select all

times=5 i=0 while [ $i -lt $times ]; do /home/live/testProgs/openRTSP -i -V rtsp://192.168.8.223:5554/test > /dev/null & i=`expr $i + 1` sleep 1 ##Let rtspRTSP not send TEARDOWN at the same time done
I run the script 3 times, VLC doesn't crash any more.

Then I remove sleep 1 from the script, run it again, VLC crashes.

Posted: 22 Sep 2006 10:00
by Jean-Baptiste Kempf
It seems like a bug. Fill a trac request ?

Posted: 22 Sep 2006 10:31
by zyc
It seems like a bug. Fill a trac request ?
I insert some debug code in src/misc/vlm.c line 2576, in function "Manage"

Code: Select all

while( !vlm->b_die ) { char **ppsz_scheduled_commands = NULL; int i_scheduled_commands = 0; vlc_mutex_lock( &vlm->lock ); /* destroy the inputs that wants to die, and launch the next input */ for( i = 0; i < vlm->i_media; i++ ) { fprintf(stderr, "%d\n", i); //zyc: Testing code vlm_media_t *p_media = vlm->media[i];
Then I found that, when vlc crash, the value of i is -1.