[FFmpeg-devel] [RFC] Affine video transformation filter
michaelni at gmx.at
Thu Jul 5 22:12:33 CEST 2012
On Thu, Jul 05, 2012 at 09:11:52PM +0200, Nicolas George wrote:
> L'octidi 18 messidor, an CCXX, Michael Bradshaw a écrit :
> > What kind of a global solution, do you mean? One for
> > specifying/parsing the color option or one for applying the color? If
> > you're talking about the specifying/parsing aspect, I've actually
> > wondered what it might be like to have proper AVOptions for filters,
> > but I haven't thought of a decent way to parse them (simplest case is
> > "name=value", separated by colons or something)...
> I mean specifying, but not just the parsing thing. If, for example, I want a
> tile with some space between the frames and some border around the whole
> thing, I will write something like pad=iw+8:ih+8,tile=8x4,pad=iw+16,ih+16.
> If I want the whole background in blue, I need to add color=blue thrice:
> once to the first pad, once to tile (which does not support it, but that is
> irrelevant), once to the second pad.
> It would be nice to be able to write "bg=blue" somewhere once and let all
> filters that have anything to do with a background just use it.
> But I do not have any clear idea on how to do that in practice.
a background description could be added to AVFilterBufReference and
passed on, so for example a underwater video could use blue a
video of outer space black. Or one might even want to specify that
the samples outside the reference rectangle be used when addressable
or one could use the nearest sample from within the rectangle
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
There seems to be only one solution to NIH syndrom, ... a shooting squad
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel