Midzuki
12th August 2011, 05:22
Offenders:
ffdshow r3919
LAV Video 0.31
MPCVideoDec.ax 1.5.2.3337
Mplayer r33574
ffplay N-31653-gfaa3381
Problem:
If you have a VC-1 clip with non-square pixels, there may be difficulties for the decoders and players listed above. Let's say you create a VC-1 stream at 720x540, and set its PAR to 4:3 (so the video will be displayed at 960x540); ffdshow's libavcodec resizes the image to something slightly greater than 16:9 :eek: BUT, if the video includes information about "Display Width" and "Display Height", then both ffdshow and LAV Video make MPC crash :mad:
ffplay.exe does the following:
ffplay version N-31653-gfaa3381,
Copyright (c) 2003-2011 the FFmpeg developers
built on Jul 28 2011 01:57:12 with gcc 4.6.1
configuration:
<SNIP>
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 9. 0 / 53. 9. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 27. 3 / 2. 27. 3
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 01EBC760] Estimating duration from bitrate,
this may be inaccurate
Input #0, matroska,webm, from 'zz-ms-sekond.mkv':
Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
Stream #0.0: Video: vc1 (Advanced), yuv420p, 960x540 [PAR 1:1 DAR
16:9], PAR 4:3 DAR 64:27,
25 fps, 25 tbr, 1k tbn, 25 tbc (default)
[vc1 @ 024823C0] Bits overconsumption: 59625 > 59600B sq= 0B f=0/0
[vc1 @ 024823C0] concealing 1331 DC, 1331 AC, 1331 MV errors
1313117818.22 A-V: 0.000 s:0.0 aq= 0KB vq= 47KB sq= 0B f=0/0
As for Mplayer and MPCVideoDec.ax, they don't crash, but they do screw the image anyway:
MPlayer Sherpya-SVN-r33574-4.2.5 (C) 2000-2011 MPlayer Team
163 audio & 367 video codecs
Playing zz-ms-sekond.mkv.
libavformat file format detected.
[matroska,webm @ 0029bc10] Estimating duration from bitrate, this may
be inaccurate
[lavf] stream 0: video (vc1), -vid 0
VIDEO: [WVC1] 960x540 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
======================================================================
====
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
======================================================================
====
Audio: no sound
Starting playback...
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [directx] 960x540 => 1280x540 Planar YV12
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
...
...
...
Exiting... (Quit)
vc1-samples.7z @ https://skydrive.live.com/?cid=5acf098e0ebae8d5&sc=documents&uc=1&id=5ACF098E0EBAE8D5%21126
ffdshow r3919
LAV Video 0.31
MPCVideoDec.ax 1.5.2.3337
Mplayer r33574
ffplay N-31653-gfaa3381
Problem:
If you have a VC-1 clip with non-square pixels, there may be difficulties for the decoders and players listed above. Let's say you create a VC-1 stream at 720x540, and set its PAR to 4:3 (so the video will be displayed at 960x540); ffdshow's libavcodec resizes the image to something slightly greater than 16:9 :eek: BUT, if the video includes information about "Display Width" and "Display Height", then both ffdshow and LAV Video make MPC crash :mad:
ffplay.exe does the following:
ffplay version N-31653-gfaa3381,
Copyright (c) 2003-2011 the FFmpeg developers
built on Jul 28 2011 01:57:12 with gcc 4.6.1
configuration:
<SNIP>
libavutil 51. 11. 0 / 51. 11. 0
libavcodec 53. 9. 0 / 53. 9. 0
libavformat 53. 6. 0 / 53. 6. 0
libavdevice 53. 2. 0 / 53. 2. 0
libavfilter 2. 27. 3 / 2. 27. 3
libswscale 2. 0. 0 / 2. 0. 0
libpostproc 51. 2. 0 / 51. 2. 0
[matroska,webm @ 01EBC760] Estimating duration from bitrate,
this may be inaccurate
Input #0, matroska,webm, from 'zz-ms-sekond.mkv':
Duration: 00:00:10.00, start: 0.000000, bitrate: N/A
Stream #0.0: Video: vc1 (Advanced), yuv420p, 960x540 [PAR 1:1 DAR
16:9], PAR 4:3 DAR 64:27,
25 fps, 25 tbr, 1k tbn, 25 tbc (default)
[vc1 @ 024823C0] Bits overconsumption: 59625 > 59600B sq= 0B f=0/0
[vc1 @ 024823C0] concealing 1331 DC, 1331 AC, 1331 MV errors
1313117818.22 A-V: 0.000 s:0.0 aq= 0KB vq= 47KB sq= 0B f=0/0
As for Mplayer and MPCVideoDec.ax, they don't crash, but they do screw the image anyway:
MPlayer Sherpya-SVN-r33574-4.2.5 (C) 2000-2011 MPlayer Team
163 audio & 367 video codecs
Playing zz-ms-sekond.mkv.
libavformat file format detected.
[matroska,webm @ 0029bc10] Estimating duration from bitrate, this may
be inaccurate
[lavf] stream 0: video (vc1), -vid 0
VIDEO: [WVC1] 960x540 0bpp 25.000 fps 0.0 kbps ( 0.0 kbyte/s)
Load subtitles in ./
======================================================================
====
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
======================================================================
====
Audio: no sound
Starting playback...
Movie-Aspect is 2.37:1 - prescaling to correct movie aspect.
VO: [directx] 960x540 => 1280x540 Planar YV12
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
[vc1 @ 01239f34]concealing 510 DC, 510 AC, 510 MV errors
...
...
...
Exiting... (Quit)
vc1-samples.7z @ https://skydrive.live.com/?cid=5acf098e0ebae8d5&sc=documents&uc=1&id=5ACF098E0EBAE8D5%21126