[FFmpeg-user] Crop, Scale, Pad without distortion

Gyan ffmpeg at gyani.pro
Tue Jan 28 06:43:46 EET 2020



On 28-01-2020 04:44 am, Devin Heitmueller wrote:
> On Mon, Jan 27, 2020, 5:05 PM Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>
>> Hans wants to crop black bars so above will not (completely) work for
>> him...
>>
>> Carl Eugen
>>
> FWIW, I've done a bunch of aspect ratio conversion based on AFD (including
> cropping out letterbox/pillarbars and dealing with nonsquare pixels), and
> I've had the best success with crop->pad->scale.  There is also at least
> one bug in the scale filter where it doesn't properly handle upstream
> filters changing the properties of the the scaler input link, which causes
> incorrect scaling.

Is this with a recent build (> 15 Jan 2020)?

Gyan


More information about the ffmpeg-user mailing list