[FFmpeg-devel] [PATCH] libavfilter-soc: Make the overlay filter able to align to opposite edges
Mon May 11 23:35:30 CEST 2009
On Sun, 10 May 2009, Stefano Sabatini wrote:
> What about some flags like:
Hmm, that at least looks better than my proposal :-)
> Also what about to make x and y parametric, for example they could
> take as parameters the input width, height, and the overlay width and
> height, that would greatly improve flexibility.
> Check the vf_pad.c which I recently posted to see how you can
> implement it (it also requires the av_set_options_string() patch which
> is still pending).
Thanks! This looks like a really good idea. A new patch is attached, which
uses ff_eval2 to parse the x and y offset parameters. This looks like a
much more flexible approach, giving the user possibility to align the
overlay in much more ways.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 3097 bytes
More information about the ffmpeg-devel