#21 MPEG-2 decoder crash (with 2+ threads)

closed-out-of-date
MPlayer (86)
5
2013-02-20
2008-12-12
MuldeR
No

Hello!

With the latest build (r28126) the MPEG-2 decoder will produce crazy corrupted output when using 2 or more threads. In SMPlayer it will even crash. And it will crash the hard way: Windows "application has crashed" dialog, NO crash info in MPlayer's log! From the console it won't crash, but the output is totally corrupted. Tested with various MPEG-2 files.

"C:\Program Files (x86)\MPlayer for Window
s\MPlayer.exe" -lavdopts threads=2 D:\_Temp\VIDEO_TS\12-040~2.MPG
MPlayer Sherpya-SVN-r28126-4.2.5 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Core(TM)2 Quad CPU @ 2.40GHz (Family: 6, Model: 15, Step
ping: 7)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2

Playing D:\_Temp\VIDEO_TS\12-040~2.MPG.
MPEG-PS file format detected.
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 4293.2 kbps (536.6 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
The selected video_out device is incompatible with this codec.
Try appending the scale filter to your filter list,
e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffmpeg2] vfm: ffmpeg (FFmpeg MPEG-2)
==========================================================================
==========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
AUDIO: 48000 Hz, 2 ch, s16le, 192.0 kbit/12.50% (ratio: 24000->192000)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
AO: [dsound] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 576 (preferred colorspace: Planar YV12)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
[swscaler @ 00FFEDF4]using unscaled yuv420p -> rgb32 special converter
VO: [directx] 720x576 => 1024x576 BGRA

Exiting... (Quit)

Discussion

  • MuldeR
    MuldeR
    2008-12-12

    Screenshot

     
  • MuldeR
    MuldeR
    2008-12-12

    File Added: mplayer_crash_mpeg2.png

     
  • MuldeR
    MuldeR
    2008-12-12

    Screenshot of distorted output

     
  • same problem with mpeg1

    aditionaly when I try to play my mpeg file (see: crash on corrupt mpeg1+others bug) with threads then mplayer only crash when I play two (or more) files eg:
    >mplayer.exe 1.mpeg 1.mpeg copyof1.mpeg
    without lavdopts=threads=2 mplayer always crash on first file

    offtop: dirac not play on mplayer (signal 11 in decode_video) and is not decodable by ffmpeg (hard crash to windows)

     
  • please try latest builds

     
    • status: open --> open-accepted
     
  • nocimix
    nocimix
    2009-01-15

    In MPlayer-p4-svn-28311 still problem with distorted output. I try this in ubuntu, build r28238, and I see the same problem.

     
    • Status: open-accepted --> closed-out-of-date