[FFmpeg-devel] [PATCH] automatic letterboxing
Wed Jan 2 13:27:58 CET 2008
Morten Hustveit a ?crit :
> I am converting some oddly shaped videos into a common resolution, and need to
> add pad bands around the image to preserve image aspect ratio. As far as I can
> tell, ffmpeg does not currently support calculating pad band sizes
> I have attached a patch adding the '-letterbox' option, which will automatically
> calculate the correct pad band sizes for either letterboxing or pillar boxing.
I find it extremely suspect that the pixel aspect ration does not enter
into the computations...
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel