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

Stefano Sabatini stefano.sabatini-lala
Sun Apr 26 23:48:51 CEST 2009

Hi, this is based on the vrmss pad filter:

This is not for still 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-position parameters are used
using av_set_option_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:

should do the trick, then we need some colorutils.[hc] and a
parse_color() + convert_color() function to get it in a generic way
(that would be useful to other filters as well).

FFmpeg = Foolish Fundamental Minimalistic Purposeless Enhancing Guide
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pad-implement.patch
Type: text/x-diff
Size: 9680 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090426/a29f7f3d/attachment.patch>

More information about the ffmpeg-devel mailing list