[FFmpeg-user] Command line option to convert to square pixels?
Jamie Tufnell
diesql at googlemail.com
Wed Dec 28 16:26:24 CET 2011
On Sat, Nov 19, 2011 at 11:43 PM, Dan Flett <dflett at bigpond.net.au> wrote:
>
>> On Nov 18, 2011, at 18:06 , Jamie Tufnell wrote:
>>
>> > How can I convert to square pixels IF necessary, AND
>> maintain height
>> > based the input file's display aspect ratio?
[snip]
> When doing any sort of scaling, the first thing in my -vf sequence is this:
>
> -vf scale=iw*sar:ih
>
> This scales the width to make square pixels. Any subsequent transformations
> are then done on square pixel video.
Great, thanks!
J
More information about the ffmpeg-user
mailing list