[FFmpeg-devel] [RFC] Affine video transformation filter

Nicolas George nicolas.george at normalesup.org
Thu Jul 5 21:11:52 CEST 2012


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.


Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120705/28bdb5cd/attachment.asc>


More information about the ffmpeg-devel mailing list