[FFmpeg-devel] [PATCH] automatic letterboxing

Michael Niedermayer michaelni
Wed Jan 2 13:57:26 CET 2008


On Wed, Jan 02, 2008 at 01:23:37PM +0100, Morten Hustveit wrote:
> Hi,
> 
> 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
> automatically.
> 
> I have attached a patch adding the '-letterbox' option, which will automatically
> calculate the correct pad band sizes for either letterboxing or pillar boxing.

sounds like that belongs to libavfilter

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I do not agree with what you have to say, but I'll defend to the death your
right to say it. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080102/c5c6290e/attachment.pgp>



More information about the ffmpeg-devel mailing list