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

Stefano Sabatini stefano.sabatini-lala
Tue Apr 28 01:17:07 CEST 2009


On date Monday 2009-04-27 00:33:45 +0200, Stefano Sabatini encoded:
> 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.

Updated, please note that this patch cannot be committed neither on
libavfilter-soc since it's missing av_set_options_string(),
(nonetheless I prefer to have it posted rather than keeping it in my
HD).

Regards.
-- 
FFmpeg = Freak and Faboulous Murdering Porno Enigmatic Game
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pad-implement.patch
Type: text/x-diff
Size: 12032 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090428/e798bfc4/attachment.patch>



More information about the ffmpeg-devel mailing list