[FFmpeg-devel] [PATCH] Fix issue2359: ffmpeg -aspect 16:9 doesn't work
Wed Feb 2 19:37:09 CET 2011
On date Wednesday 2011-02-02 11:41:12 -0500, Mike Scheutzow encoded:
> This patch fixes the -aspect option for me. ffmpeg now correctly
> overrides the image aspect ratio at the input to the encoder.
> This patch is has been tested with "-vcodec mpeg4", "-vcodec copy"
> and "-vf scale=w:h".
> When testing, make sure you encode with a codec that implements
> arbitrary aspect ratio (mpeg4 does, mpeg2 does not.)
> Also, do not be confused by an unrelated bug. The ffmpeg status msg
> for the output file SAR & DAR shows the wrong values if the input file
> SAR is not exactly equal to the output file SAR.
> However, 'ffmpeg -i infile' seems to accurately report the SAR and DAR,
> so you can use this to check how a file was encoded.
The patch is mangled so it is not very readable. But note that Michael
committed a proper fix to the videolan repo, I don't know which is the
plan for synching it with the ffmpeg.git repo.
FFmpeg = Furious Frenzy Mean Power Elastic Gargoyle
More information about the ffmpeg-devel