[FFmpeg-devel] [PATCH] lavfi: add fade filter

Michael Niedermayer michaelni
Tue Feb 22 04:53:13 CET 2011


On Mon, Feb 21, 2011 at 10:22:00PM +0100, Stefano Sabatini wrote:
> On date Monday 2011-02-21 18:06:50 +0100, Michael Niedermayer encoded:
> > On Mon, Feb 21, 2011 at 03:58:17PM +0100, Stefano Sabatini wrote:
> > > On date Monday 2011-02-21 14:24:52 +0100, Michael Niedermayer encoded:
> > > > On Mon, Feb 21, 2011 at 12:02:57PM +0100, Stefano Sabatini wrote:
> > > > > From: Brandon Mintern <bmintern at gmail.com>
> > > > > 
> > > > > Port fade filter from libavfilter soc repo, with minor fixes by
> > > > > Stefano.
> > > > > ---
> > > > >  doc/filters.texi         |   33 +++++++++
> > > > >  libavfilter/Makefile     |    1 +
> > > > >  libavfilter/allfilters.c |    1 +
> > > > >  libavfilter/vf_fade.c    |  170 ++++++++++++++++++++++++++++++++++++++++++++++
> > > > >  4 files changed, 205 insertions(+), 0 deletions(-)
> > > > >  create mode 100644 libavfilter/vf_fade.c
> > > > 
> > > > commited
> > > > 
> > > > ideas for future work:
> > > 
> > > > allow multiple fade in / out per filter
> > > 
> > > Not sure about what you mean here.
> > 
> > fade=in:10:20,fade=out:50:60
> > could be supported as:
> > fade=in:10:20:50:60
> > 
> > and
> > fade=out:10:20:50:60
> > to black a part out (currently not supported with individual filters easily)
> > 
> > and more than 2, that is N such fade in/outs in a single filter would also be
> > usefull
> > for example consider that someone concatenates videos from several scenes to
> > make a movie. She might want to create fade out+fade in at the transitions
> 
> Uhm, so it may support a list:
> fade=out=S:D;in=S:D;out=S:D;...

fade=out=S:D:S:D:S:D:...
doesnt need escaping and is shorter
you cant have 2 out or 2 in after each other so this is not ambigous syntax

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110222/f8e2d3ae/attachment.pgp>



More information about the ffmpeg-devel mailing list