Page 1 of 1

Deinterlace filter crash with mutlicast client

Posted: 20 May 2008 09:00
by s3rg3
Hello to everyone!

You're my last chance... For week and week I'm looking for a solution to my problem :
I currently used vlc as a client of multicast streams (mpeg2 over mpegTS) on small Windows XP configuration (it's an industrial project). VLC is pretty instable on this configuration, when I stress it, it crashes in less than 5 minutes (it seems that's libmpeg2 which crash). What I've seen is that when I remove 'deinterlace' filter, it works better. But I need deinterlacement, because the stream is interlaced (I can't deinterlaced it on the server). So It means that the problem is linked to the small configuration, what is the best configuration of VLC for multicast stream on a small configuration?
I've tried with 0.8.6c, d, f... Same result...

Thank you for your help...

Re: Deinterlace filter crash with mutlicast client

Posted: 20 May 2008 15:55
by Jean-Baptiste Kempf
Can you give us a Backtrace?
Can you give us the messages?

Re: Deinterlace filter crash with mutlicast client

Posted: 21 May 2008 10:12
by s3rg3
Bellow an extract of the log file...
At the last line, we can see a warning concerning 'message queue overfow'. I ever clean message log at each seconds (I use the axvlc), could it be not sufficient?

Code: Select all

main debug: `udp://@239.255.0.11' gives access `udp' demux `' path `@239.255.0.11' main debug: thread 1092 (input) created at priority 1 (input/input.c:265) main debug: creating demux: access='udp' demux='' path='@239.255.0.11' main debug: looking for access_demux module: 0 candidates main warning: no access_demux module matched "udp" main debug: creating access 'udp' path='@239.255.0.11' main debug: looking for access2 module: 6 candidates access_udp debug: opening server=:0 local=239.255.0.11:1234 main debug: net: connecting to '[]:0@[239.255.0.11]:1234' main debug: looking for network module: 1 candidate ipv6 debug: 239.255.0.11: Host or service not found main debug: using network module "ipv6" main debug: removing module "ipv6" main debug: looking for network module: 1 candidate ipv4 debug: resolving 239.255.0.11:1234... ipv4 debug: resolving :0... ipv4 debug: Winsock best interface is 2 ipv4 debug: using interface 0xc701a8c0 ipv4 debug: IP_ADD_MEMBERSHIP multicast request main debug: using network module "ipv4" main debug: removing module "ipv4" main debug: using access2 module "access_udp" main debug: pre buffering access_udp debug: detected TS over raw UDP main debug: creating demux: access='udp' demux='' path='@239.255.0.11' main debug: looking for demux2 module: 46 candidates main debug: using demux2 module "ts" main debug: looking for a subtitle file in C:\Program Files\tele ts debug: DEMUX_SET_GROUP 0 00000000 access_udp warning: unimplemented query in control main debug: `udp://@239.255.0.11' successfully opened ts debug: pid[1311] unknown ts debug: pid[1312] unknown ts debug: pid[1313] unknown ts debug: PATCallBack called ts debug: new PAT ts_id=1 version=1 current_next=1 ts debug: * number=13501 pid=501 ts debug: PMTCallBack called ts debug: new PMT program number=13501 version=1 pid_pcr=1311 ts debug: * es pid=1311 type=2 fcc=mpgv main debug: selecting program id=13501 main debug: looking for decoder module: 28 candidates main debug: using decoder module "libmpeg2" main debug: thread 5892 (decoder) created at priority 0 (input/decoder.c:159) ts debug: * es pid=1312 type=3 fcc=mpga main debug: looking for decoder module: 28 candidates main debug: using decoder module "mpeg_audio" main debug: thread 6192 (decoder) created at priority 2 (input/decoder.c:159) ts debug: * es pid=1313 type=3 fcc=mpga ts warning: first packet for pid=1311 cc=0x3 ts warning: first packet for pid=1312 cc=0x6 ts warning: first packet for pid=1313 cc=0x4 mpeg_audio debug: MPGA channels:2 samplerate:48000 bitrate:128 main debug: looking for audio output module: 3 candidates aout_directx debug: OpenAudio aout_directx debug: found device: Primary Sound Driver aout_directx debug: found device: Realtek AC97 Audio aout_directx debug: found device: USB Audio Device libmpeg2 debug: 544x576 (display 544,576), aspect 576000, sar 24:17, 25.000 fps aout_directx debug: device supports 2 channels aout_directx debug: device supports 1 channel aout_directx debug: creating DirectSoundThread main debug: thread 5712 (DirectSound Notification Thread) created at priority 15 (directx.c:372) aout_directx debug: DirectSoundThread ready main debug: using audio output module "aout_directx" main debug: output 's16l' 48000 Hz Stereo frame=1 samples/4 bytes main debug: mixer 'fl32' 48000 Hz Stereo frame=1 samples/8 bytes main debug: filter(s) 'fl32'->'s16l' 48000 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "float32tos16" main debug: found a filter for the whole conversion main debug: looking for audio mixer module: 3 candidates main debug: using audio mixer module "float32_mixer" main debug: input 'mpga' 48000 Hz Stereo frame=1152 samples/1161 bytes main debug: filter(s) 'mpga'->'fl32' 48000 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "mpgatofixed32" main debug: found a filter for the whole conversion main debug: filter(s) 'fl32'->'fl32' 52800 Hz->48000 Hz Stereo->Stereo main debug: looking for audio filter module: 24 candidates main debug: using audio filter module "bandlimited_resampler" main debug: found a filter for the whole conversion vout_directx debug: DirectXCloseSurface vout_directx debug: DirectXCloseDisplay vout_directx debug: DirectXCloseDisplay clipper vout_directx debug: DirectXCloseDisplay display vout_directx debug: DirectXCloseDDraw vout_directx debug: CloseVideo vout_directx debug: DirectXEventThread terminating vout_directx debug: DirectXCloseWindow vout_directx debug: WinProc WM_DESTROY main debug: thread times: real 0m1.281250s, kernel 0m0.000000s, user 0m0.000000s main debug: thread 6444 joined (directx.c:509) main debug: removing module "vout_directx" main debug: thread times: real 0m1.218750s, kernel 0m0.078125s, user 0m0.000000s main debug: thread 6332 joined (video_output/video_output.c:461) main debug: removing module "deinterlace" main debug: thread times: real 0m1.296875s, kernel 0m0.031250s, user 0m0.031250s main debug: thread 6096 joined (video_output/video_output.c:461) main warning: refcount is 1, delaying before deletion (id=827,type=-9) main error: refcount is 1, delaying again (id=827,type=-9) main error: waited too long, cancelling destruction (id=827,type=-9) main debug: no usable vout present, spawning one main debug: Registering subpicture channel, ID: 2 main debug: Registering subpicture channel, ID: 3 main debug: Registering subpicture channel, ID: 4 main debug: Registering subpicture channel, ID: 5 main debug: new aspect-ratio 4:3, sample aspect-ratio 24:17 main debug: window size: 515x388 main debug: cropping picture 544x576 to 0,0,544x576 main debug: window size: 515x388 main debug: looking for video filter module: 1 candidate deinterlace debug: using blend deinterlace mode deinterlace debug: using blend deinterlace method main debug: using video filter module "deinterlace" deinterlace debug: spawning the real video output main debug: new aspect-ratio 4:3, sample aspect-ratio 24:17 main debug: window size: 515x388 main debug: cropping picture 544x576 to 0,0,544x576 main debug: window size: 515x388 main debug: looking for video output module: 7 candidates vout_directx debug: creating DirectXEventThread main debug: waiting for thread completion main debug: waiting for thread completion vout_directx debug: DirectXCreateWindow vout_directx debug: created video sub-window main debug: thread 6256 (DirectX Events Thread) created at priority 0 (directx.c:278) vout_directx debug: DirectXEventThread running vout_directx debug: DirectXInitDDraw vout_directx debug: directx-device: vout_directx debug: DirectXEnumCallback: Primary Display Driver, display vout_directx debug: DirectXEnumCallback: Intel(R) 82852/82855 GM/GME Graphics Controller, \\.\DISPLAY1 vout_directx debug: selecting Intel(R) 82852/82855 GM/GME Graphics Controller, \\.\DISPLAY1 vout_directx debug: screen dimensions (0x0,1024x768) vout_directx debug: DirectDraw Capabilities: overlay=1 yuvoverlay=1 can_deinterlace_overlay=1 colorkey=1 stretch=1 bltfourcc=1 vout_directx debug: End DirectXInitDDraw vout_directx debug: DirectXCreateDisplay vout_directx debug: DirectXCreateClipper vout_directx debug: disabling screen saver main debug: using video output module "vout_directx" main debug: waiting for thread completion vout_directx debug: NewPictureVec overlay:yes chroma:YV12 vout_directx debug: YUV overlay created successfully vout_directx debug: End NewPictureVec (succeeded) main debug: got 1 direct buffer(s) main debug: picture in 544x576 (0,0,544x576), chroma I420, ar 4:3, sar 24:17 main debug: picture user 544x576 (0,0,544x576), chroma I420, ar 4:3, sar 24:17 main debug: picture out 544x576 (0,0,544x576), chroma I420, ar 4:3, sar 24:17 main debug: direct render, mapping render pictures 0-6 to system pictures 1-7 main debug: thread 6496 (video output) created at priority 1 (video_output/video_output.c:421) main debug: got 8 direct buffer(s) main debug: picture in 544x576 (0,0,544x576), chroma I420, ar 4:3, sar 24:17 main debug: picture user 544x576 (0,0,544x576), chroma I420, ar 4:3, sar 24:17 main debug: picture out 544x576 (0,0,544x576), chroma I420, ar 4:3, sar 24:17 main debug: direct render, mapping render pictures 0-6 to system pictures 1-7 main debug: thread 6292 (video output) created at priority 1 (video_output/video_output.c:421) main warning: dts != current_pts (1991389) main warning: vout synchro warning: pts != current_date (-40000) main warning: late picture skipped (1665389) main warning: late picture skipped (1216556) main warning: late picture skipped (767878) main warning: late picture skipped (318867) message warning: message queue overflowed