[FFmpeg-user] Wrong aspect ratio correction

Kimio Miyamura xanadu at apost.plala.or.jp
Mon Feb 9 14:01:05 CET 2015


2015/02/09 21:42, Carl Eugen Hoyos <cehoyos <at> ag.or.at> wrote:

> Kimio Miyamura <xanadu <at> apost.plala.or.jp> writes:
> 
>> I have some wrong aspect rationed video which size is 
>> 856x480 pixel and 103 pixel black band on both side.
>> 
>> I thought they can be corrected with -filter:v crop 
>> like the following:
>> 
>> $ ffplay -i v01.wmv -vf "crop=856:480:103:0"
> 
> Did you try "crop=650:480:103:0"?

Yes I have tried -vf "crop=650:480:103:0" and I get black band removed video.  But I think this video might have wrong aspect ratio.  If I add scale filter after crop filter i.e. -vf "crop=650:480:103:0,  scale=856:480", I get 4:3 aspect ratio video.


// Miya


More information about the ffmpeg-user mailing list