Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
12th August 2011, 05:22 | #1 | Link | ||
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
[SOLVED] VC-1 Aspect Ratio vs.Libav/FFmpeg
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 BUT, if the video includes information about "Display Width" and "Display Height", then both ffdshow and LAV Video make MPC crash ffplay.exe does the following: Quote:
Quote:
Last edited by Midzuki; 28th August 2011 at 08:45. Reason: add link to samples ++ fix typo |
||
13th August 2011, 11:00 | #2 | Link |
Registered User
Join Date: Jun 2005
Posts: 278
|
Crash should be because of bug in FFmpeg VC-1 decoder, I sent a patch: http://ffmpeg.org/pipermail/ffmpeg-d...st/113852.html.
Concerning PAR, FFmpeg says the PAR is set to 3:2, not 4:3, I think it is parsing the custom PAR incorrectly: http://ffmpeg.org/pipermail/ffmpeg-d...st/113854.html |
16th August 2011, 20:18 | #4 | Link |
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
To whom this may interest , the ArcSoft VC-1 decoder also presents aspect-ratio issues Like "ffdshow+wmv9", it converts the 16:9 flag to 18:9 ( = 2:1) OTOH, my 960x408 (1:1) encode of Sintel is "wisely" scaled to 16:9, because "broadcasting and Blu-Ray are all that matters"
Last edited by Midzuki; 16th August 2011 at 21:05. |
19th August 2011, 06:18 | #6 | Link | |
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Quote:
OTOH, in ffdshow r3972 (from xvidvideo.ru), the dämn design flaw has not been fixed yet -.- Last edited by Midzuki; 19th August 2011 at 07:05. Reason: update; too many typos |
|
28th August 2011, 08:52 | #7 | Link |
Unavailable
Join Date: Mar 2009
Location: offline
Posts: 1,480
|
Now, ...
ffdshow (r3976 and r3978) == OK ffplay N-32071-g276f43b == OK MPCVideoDec.ax == OK LAV Video 0.33 == OK As for Mplayer, the only problem is find an up-to-date Windows build I know, there exists the so-called "Mplayer-WW", but it's not "the real thing" Last edited by Midzuki; 28th August 2011 at 08:53. Reason: formatting |
Thread Tools | Search this Thread |
Display Modes | |
|
|