Page 1 of 1

VLC crashing when switch channel on DB

Posted: 30 Jan 2010 14:58
by Sup3ringo
My VLC 1.0.3 crashes on my Windows XP when i switch channel on my Dreambox. Im getting a http stream from the dreambox and transcode it to a multicast RTP stream.

This is the error msg and i think i got this problem just with the windows version not with the linux version


ug: TIMER encoding video frame : 1.000 ms - Total 1343.000 ms / 240 intvls (Avg 5.596 ms)
main debug: removing module "libmpeg2"
x264 debug: pthread-win32 deinitialized
main debug: removing module "x264"
main debug: Filter 'deinterlace' (0x827f81c) removed from chain
main debug: removing module "deinterlace"
mux_ts debug: removing input pid=77
mux_ts debug: new PCR PID is 76
main debug: thread times: real 0m11.687500s, kernel 0m0.000000s, user 0m0.500000s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x3c3aa08)
main debug: TIMER encoding audio frame : 1.000 ms - Total 352.000 ms / 403 intvls (Avg 0.873 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 'mpgatofixed32' (0xbc89f4) removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 'audio_format' (0xcb9c44) removed from chain
main debug: removing module "audio_format"
mux_ts debug: removing input pid=76
mux_ts debug: new PCR PID is 8191
main warning: no more input streams for this mux
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
main debug: thread times: real 0m0.000000s, kernel 0m0.000000s, user 0m0.000000s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: Program doesn't contain anymore ES
ts debug: * number=13344 pid=1109
ts debug: PMTCallBack called
ts debug: new PMT program number=13344 version=1 pid_pcr=163
ts debug: * es pid=163 type=2 dr->i_tag=0x9
ts debug: * es pid=163 type=2 dr->i_tag=0x9
ts debug: * es pid=163 type=2 fcc=mpgv
main debug: selecting program id=13344
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "packetizer_mpegvideo"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 0 (../.././src/input/decoder.c:315)
main debug: thread started
ts debug: * descriptor : CA (0x9) SysID 0x919
ts debug: * es pid=406 type=3 dr->i_tag=0xa
ts debug: * es pid=406 type=3 dr->i_tag=0x9
ts debug: * es pid=406 type=3 dr->i_tag=0x9
ts debug: found language: ita
ts debug: * es pid=406 type=3 fcc=mpga
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
ts debug: * descriptor : CA (0x9) SysID 0x919
ts debug: * es pid=407 type=3 dr->i_tag=0xa
ts debug: * es pid=407 type=3 dr->i_tag=0x9
ts debug: * es pid=407 type=3 dr->i_tag=0x9
ts debug: found language: eng
ts debug: * es pid=407 type=3 fcc=mpga
ts debug: * descriptor : CA (0x9) SysID 0x919
ts warning: first packet for pid=163 cc=0xb
ts warning: first packet for pid=407 cc=0x7
ts warning: first packet for pid=406 cc=0xc
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: waiting for sequence start
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:160
main debug: adding a new sout input (sout_input:0xc28398)
stream_out_transcode debug: creating audio transcoding from fcc=`mpga' to fcc=`mp3 '
main debug: looking for decoder module: 36 candidates
main debug: using decoder module "mpeg_audio"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for encoder module: 12 candidates
avcodec debug: libavcodec already initialized
avcodec debug: found encoder MPEG Audio layer 1/2/3
main debug: using encoder module "avcodec"
main debug: TIMER module_need() : 7.000 ms - Total 7.000 ms / 1 intvls (Avg 7.000 ms)
stream_out_transcode debug: Looking for filter (mpga->s16l, channels 2->2, rate 48000->48000)
main debug: looking for audio filter2 module: 8 candidates
mpgatofixed32 debug: mpga->fl32, bits per sample: 0
main debug: using audio filter2 module "mpgatofixed32"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: Filter 'mpgatofixed32' (0xcb9c44) appended to chain
main debug: looking for audio filter2 module: 8 candidates
audio_format debug: fl32->s16l, bits per sample: 32->16
main debug: using audio filter2 module "audio_format"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: Filter 'audio_format' (0xbc89f4) appended to chain
stream_out_transcode debug: Got complete audio filter chain
main debug: adding a new input
mux_ts debug: adding input codec=mpga pid=78
mux_ts debug: - lang=ita
mux_ts debug: new PCR PID is 78
mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:160
packetizer_mpegvideo debug: waiting for sequence start
packetizer_mpegvideo debug: size 704x576 fps=25.000
main debug: adding a new sout input (sout_input:0x3c544d8)
stream_out_transcode debug: creating video transcoding from fcc=`mpgv' to fcc=`h264'
main debug: looking for decoder module: 36 candidates
main debug: using decoder module "libmpeg2"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: looking for encoder module: 1 candidate
x264 debug: version x264 0.70.X
main debug: set config option: sout-x264-vbv-maxrate to 1600
x264 debug: initializing pthread-win32
main debug: using encoder module "x264"
main debug: TIMER module_need() : 8.000 ms - Total 8.000 ms / 1 intvls (Avg 8.000 ms)
x264 debug: pthread-win32 deinitialized
main debug: removing module "x264"
libmpeg2 debug: 704x576 (display 704,576), aspect 576000, sar 12:11, 25.000 fps
main warning: dts != current_pts (-1446786558721)
main warning: decoder synchro warning: pts != current_date (-40000)
stream_out_transcode debug: decoder aspect is 576000:432000
stream_out_transcode debug: source pixel aspect is 1.090909:1
stream_out_transcode debug: scaled pixel aspect is 1.090909:1
stream_out_transcode debug: source 704x576, destination 704x576
stream_out_transcode debug: encoder aspect is 576000:432000
main debug: looking for video filter2 module: 1 candidate
deinterlace debug: using blend deinterlace mode
deinterlace debug: using blend deinterlace method
deinterlace debug: deinterlacing
main debug: using video filter2 module "deinterlace"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: Filter 'deinterlace' (0x827f81c) appended to chain
stream_out_transcode debug: destination (after video filters) 704x576
main debug: looking for encoder module: 1 candidate
x264 debug: version x264 0.70.X
main debug: set config option: sout-x264-vbv-maxrate to 1600
x264 debug: initializing pthread-win32
main debug: using encoder module "x264"
main debug: TIMER module_need() : 6.000 ms - Total 6.000 ms / 1 intvls (Avg 6.000 ms)
main debug: adding a new input
mux_ts debug: adding input codec=h264 pid=79
mux_ts debug: new PCR PID is 79
main warning: late buffer for mux input (1446785694000)
main warning: late buffer for mux input (1446785680000)
mux_ts warning: packet with too strange dts (dts=40000,old=1446786598722,pcr=1446786598722)
main warning: late buffer for mux input (1446785643000)
mux_ts warning: packet with too strange dts (dts=1446786718722,old=80000,pcr=80000)
mux_ts debug: adjusting rate at -515211/200000 (4/82)
ts warning: discontinuity received 0x2 instead of 0x4 (pid=163)
main warning: clock gap, unexpected stream discontinuity
main warning: feeding synchro with a new reference point trying to recover from clock gap
ts warning: invalid header [0x96:84:12:17] (pid: 163)
ts warning: invalid header [0xf5:22:ec:4e] (pid: 163)
ts warning: invalid header [0xd5:29:81:b3] (pid: 163)
ts warning: invalid header [0xa2:63:a5:34] (pid: 163)
ts warning: invalid header [0x21:62:1c:23] (pid: 163)
ts warning: invalid header [0x72:d9:4b:12] (pid: 163)
ts warning: invalid header [0xad:33:96:5b] (pid: 163)
main warning: decoder synchro warning: pts != current_date (36282932111)
ts debug: PATCallBack called
ts debug: new PAT ts_id=1105 version=8 current_next=1
main debug: thread times: real 0m16.453125s, kernel 0m0.015625s, user 0m2.265625s
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing a sout input (sout_input:0x3c544d8)
main debug: TIMER encoding video frame : 11.000 ms - Total 1698.000 ms / 366 intvls (Avg 4.639 ms)
main debug: removing module "libmpeg2"
x264 debug: pthread-win32 deinitialized
main debug: removing module "x264"
main debug: Filter 'deinterlace' (0x827f81c) removed from chain
main debug: removing module "deinterlace"
mux_ts debug: removing input pid=79
mux_ts debug: new PCR PID is 78
main debug: thread times: real 0m16.468750s, kernel 0m0.000000s, user 0m0.593750s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:0xc28398)
main debug: TIMER encoding audio frame : 1.000 ms - Total 558.000 ms / 606 intvls (Avg 0.921 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 'mpgatofixed32' (0xcb9c44) removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 'audio_format' (0xbc89f4) removed from chain
main debug: removing module "audio_format"
mux_ts debug: removing input pid=78
mux_ts debug: new PCR PID is 8191
main warning: no more input streams for this mux
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 0.000 ms - Total 0.000 ms / 1 intvls (Avg 0.000 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry

Re: VLC crashing when switch channel on DB

Posted: 30 Jan 2010 16:43
by VLC_help
Does it work better if you don't use x264?

Re: VLC crashing when switch channel on DB

Posted: 01 Feb 2010 14:45
by Sup3ringo
i just tried to use mp4v and same thing happen...i have a other server with ubuntu and vlc 1.0.2 there the vlc dont crash...must be a bug in windows VLC

Re: VLC crashing when switch channel on DB

Posted: 01 Feb 2010 15:59
by VLC_help
Errors are almost similar with m4v?

Re: VLC crashing when switch channel on DB

Posted: 08 Feb 2010 12:47
by Sup3ringo
Yes all the same i also tried version 1.0.5
But i think i find the reason...i get a http stream from my receiver for example 192.168.0.1:31344 and if i switch channels with same resolution its no problem, as soon as i change to a channel with a other resolution than the channel before i get this vlc crash.. can somebody fix that????

ts debug: PATCallBack called
ts debug: new PAT ts_id=1105 version=2 current_next=1
main debug: thread times: real 0m18.437500s, kernel 0m0.046875s, user 0m0.546875s
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing a sout input (sout_input:0446f9e8)
main debug: TIMER encoding video frame : 1.000 ms - Total 560.000 ms / 407 intvls (Avg 1.376 ms)
main debug: removing module "libmpeg2"
x264 debug: pthread-win32 deinitialized
main debug: removing module "x264"
main debug: Filter 'deinterlace' (00ce3234) removed from chain
main debug: removing module "deinterlace"
mux_ts debug: removing input pid=69
mux_ts debug: new PCR PID is 68
main debug: thread times: real 0m18.453125s, kernel 0m0.000000s, user 0m0.296875s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:00c58c58)
main debug: TIMER encoding audio frame : 0.000 ms - Total 171.000 ms / 699 intvls (Avg 0.245 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 'mpgatofixed32' (00c56f3c) removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 'audio_format' (00bc8864) removed from chain
main debug: removing module "audio_format"
mux_ts debug: removing input pid=68
mux_ts debug: new PCR PID is 8191
main warning: no more input streams for this mux
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread (decoder) created at priority 2 (../.././src/input/decoder.c:315)
main debug: thread started
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry
qt4 debug: Updating the geometry

Re: VLC crashing when switch channel on DB

Posted: 08 Feb 2010 13:41
by VLC_help
Do 1.1.0 nightly builds work any better?
http://nightlies.videolan.org/build/win32/?C=M;O=D trunks are 1.1.0

Re: VLC crashing when switch channel on DB

Posted: 08 Feb 2010 19:57
by Sup3ringo
same problem just more error msg
ts warning: discontinuity received 0xc instead of 0xa (pid=512)
ts warning: discontinuity received 0xd instead of 0x7 (pid=512)
main warning: clock gap, unexpected stream discontinuity
main warning: feeding synchro with a new reference point trying to recover from clock gap
ts warning: discontinuity received 0xc instead of 0x6 (pid=650)
ts warning: invalid header [0x72:9b:79:be] (pid: 512)
ts warning: invalid header [0x4:7e:9c:7b] (pid: 512)
ts warning: invalid header [0x62:e6:7e:ec] (pid: 512)
ts warning: invalid header [0xe1:4:72:72] (pid: 512)
ts warning: invalid header [0xc7:11:67:2a] (pid: 512)
ts warning: invalid header [0xf4:d6:e8:f4] (pid: 650)
ts warning: invalid header [0xbf:f5:eb:d1] (pid: 512)
ts warning: invalid header [0xc5:9a:c8:87] (pid: 512)
ts warning: invalid header [0x85:65:1a:89] (pid: 512)
ts debug: PATCallBack called
ts debug: new PAT ts_id=1105 version=3 current_next=1
main debug: thread times: real 0m28.781250s, kernel 0m0.296875s, user 0m3.078125s
main debug: removing module "packetizer_mpegvideo"
main debug: killing decoder fourcc `mpgv', 0 PES in FIFO
main debug: removing a sout input (sout_input:06090fe0)
main debug: TIMER encoding video frame : 1.000 ms - Total 743.000 ms / 654 intvls (Avg 1.136 ms)
avcodec debug: ffmpeg codec (MPEG-1/2 Video) stopped
main debug: removing module "avcodec"
x264 debug: framecount still in libx264 buffer: 19
x264 debug: pthread-win32 deinitialized
main debug: removing module "x264"
main debug: Filter 00caa15c removed from chain
main debug: removing module "deinterlace"
main debug: Filter 03f214a4 removed from chain
main debug: removing module "swscale"
mux_ts debug: removing input pid=71
mux_ts debug: new PCR PID is 70
main debug: thread times: real 0m28.781250s, kernel 0m0.000000s, user 0m0.437500s
main debug: removing module "mpeg_audio"
main debug: killing decoder fourcc `mpga', 0 PES in FIFO
main debug: removing a sout input (sout_input:07c16a70)
main debug: TIMER encoding audio frame : 1.000 ms - Total 429.000 ms / 1116 intvls (Avg 0.384 ms)
main debug: removing module "mpeg_audio"
main debug: removing module "avcodec"
main debug: Filter 00c9cbec removed from chain
main debug: removing module "mpgatofixed32"
main debug: Filter 00b87e3c removed from chain
main debug: removing module "audio_format"
mux_ts debug: removing input pid=70
mux_ts debug: new PCR PID is 8191
main warning: no more input streams for this mux
main debug: looking for packetizer module: 21 candidates
main debug: using packetizer module "mpeg_audio"
main debug: TIMER module_need() : 1.000 ms - Total 1.000 ms / 1 intvls (Avg 1.000 ms)
main debug: thread (decoder) created at priority 2 (input/decoder.c:301)
main debug: thread started
qt4 debug: Stack Size: 30 - 397
qt4 debug: Stack Size: 480 - 640
qt4 debug: size: 125 - 397
qt4 debug: sizeHint: 99 - 397
qt4 debug: Stack minimumsize: 0 - 0
qt4 debug: Controls minimumsize: 0 - 0
qt4 debug: Central minimumsize: 0 - 0
qt4 debug: Menu minimumsize: 0 - 0
qt4 debug: Input minimuSize: 0 - 0
qt4 debug: Status minimumsize: 0 - 0
qt4 debug: minimumsize: 99 - 397
qt4 debug: Resize Event, height: 99
qt4 debug: Stack Size: 30 - 397
qt4 debug: Stack Size: 480 - 640
qt4 debug: size: 99 - 397
qt4 debug: sizeHint: 99 - 397
qt4 debug: Stack minimumsize: 0 - 0
qt4 debug: Controls minimumsize: 0 - 0
qt4 debug: Central minimumsize: 0 - 0
qt4 debug: Menu minimumsize: 0 - 0
qt4 debug: Input minimuSize: 0 - 0
qt4 debug: Status minimumsize: 0 - 0
qt4 debug: minimumsize: 0 - 0
qt4 debug: Stack Size: 30 - 397
qt4 debug: Stack Size: 480 - 640
qt4 debug: size: 99 - 397
qt4 debug: sizeHint: 99 - 397
qt4 debug: Stack minimumsize: 0 - 0
qt4 debug: Controls minimumsize: 0 - 0
qt4 debug: Central minimumsize: 0 - 0
qt4 debug: Menu minimumsize: 0 - 0
qt4 debug: Input minimuSize: 0 - 0
qt4 debug: Status minimumsize: 0 - 0
qt4 debug: minimumsize: 0 - 0
qt4 debug: Stack Size: 30 - 397
qt4 debug: Stack Size: 480 - 640
qt4 debug: size: 99 - 397
qt4 debug: sizeHint: 99 - 397
qt4 debug: Stack minimumsize: 0 - 0
qt4 debug: Controls minimumsize: 0 - 0
qt4 debug: Central minimumsize: 0 - 0
qt4 debug: Menu minimumsize: 0 - 0
qt4 debug: Input minimuSize: 0 - 0
qt4 debug: Status minimumsize: 0 - 0
qt4 debug: minimumsize: 0 - 0
qt4 debug: Stack Size: 30 - 397
qt4 debug: Stack Size: 480 - 640
qt4 debug: size: 99 - 397
qt4 debug: sizeHint: 99 - 397
qt4 debug: Stack minimumsize: 0 - 0
qt4 debug: Controls minimumsize: 0 - 0
qt4 debug: Central minimumsize: 0 - 0
qt4 debug: Menu minimumsize: 0 - 0
qt4 debug: Input minimuSize: 0 - 0
qt4 debug: Status minimumsize: 0 - 0
qt4 debug: minimumsize: 0 - 0
qt4 debug: Stack Size: 30 - 397
qt4 debug: Stack Size: 480 - 640
qt4 debug: size: 99 - 397
qt4 debug: sizeHint: 99 - 397
qt4 debug: Stack minimumsize: 0 - 0
qt4 debug: Controls minimumsize: 0 - 0
qt4 debug: Central minimumsize: 0 - 0
qt4 debug: Menu minimumsize: 0 - 0
qt4 debug: Input minimuSize: 0 - 0
qt4 debug: Status minimumsize: 0 - 0
qt4 debug: minimumsize: 0 - 0

Re: VLC crashing when switch channel on DB

Posted: 09 Feb 2010 13:38
by VLC_help
Could you save us small TS file which has this change and it crashes VLC?