[FFmpeg-devel] [PATCH] Add vf_scale.c filter

Vitor Sessak vitor1001
Tue Mar 3 18:32:19 CET 2009

Stefano Sabatini wrote:
> On date Friday 2009-02-27 16:44:46 +0100, Michael Niedermayer encoded:
>> On Fri, Feb 27, 2009 at 12:56:08PM +0100, Stefano Sabatini wrote:
>>> Hi all, 
>>> as in subject.
>> first quick question
>> does
>> crop, expand and slices work? (a single pix_fmt working is enough)
> crop seems to work, but it doesn't work like in mplayer, syntax is
> x:y:w:h, also default is not centered, this should be changed I
> think.
> slices seem to work fine after the Vitor's patch, expand is currently
> not implemented and the padding implementation in ffmpeg.c is
> currently half-broken, so I think we need an expand filter as well.

Yes, we do not have ATM an expand filter. A good starting point for 
whoever wants to implement one would be the thread "[FFmpeg-soc] expand 
filter (alternative to pad syntax)". Do not miss particularly this 
suggestion from Michael: 
http://lists.mplayerhq.hu/pipermail/ffmpeg-soc/2008-May/003686.html .


More information about the ffmpeg-devel mailing list