[FFmpeg-devel] [PATCH] libavfilter-soc: implement pad filter

Stefano Sabatini stefano.sabatini-lala
Mon Apr 27 00:33:45 CEST 2009

On date Sunday 2009-04-26 23:48:51 +0200, Stefano Sabatini encoded:
> Hi, this is based on the vrmss pad filter:
> http://thread.gmane.org/gmane.comp.video.ffmpeg.soc/2779/
> This is not still ready for review, beside the problem of the
> unconditional memcpy it's still missing some checks.
> It is rather an interface study, I strived to extend its syntax to
> be more generic and easier to use (so non-positional parameters are
> used though the use of av_set_options_string).
> It also provides an usage example of M_AU, use it like this:
> ffplay in.avi -vfilters "pad=w=h*AU"
> to get a mathematically appealing w/h image ratio.
> Pad color should be also settable, I think some option like:
> padcolor="..."
> should do the trick, then we need some colorutils.[hc] and some
> parse_color() + convert_color() function to get it in a generic way
> (that would be useful to other filters as well).

Added uninit, still missing checks and documentation.

FFmpeg = Forgiving & Fostering Mystic Ponderous Evanescent Geisha
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pad-implement.patch
Type: text/x-diff
Size: 9898 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090427/9aef71de/attachment.patch>

More information about the ffmpeg-devel mailing list