[FFmpeg-devel] [PATCH] Fix odd width or height from scaling filter expression

Michael Niedermayer michaelni at gmx.at
Tue Aug 21 23:15:34 CEST 2012

On Tue, Aug 21, 2012 at 11:47:30AM +0200, Jeroen Ost wrote:
> > it also would break intentional rescaling to a odd dimension, like
> > scale=101:103
> > Given that, i think such rounding if done, should be optional
> Ok, well in that case, no patch is necessary for the scaling filter.
> Same could be achieved by dividing by 2 and multiplying again.
> But then the padding filter should be fixed; it is assuming even
> dimensions. Are all other components (encoders, filters) happy with
> odd resolutions ?

each encoder has its own limits some can handle odd resolutions
some need even, some need multiple of 16 and some are even limited to
a fixed set of resolutions

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120821/d16822e6/attachment.asc>

More information about the ffmpeg-devel mailing list