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

Stefano Sabatini stefano.sabatini-lala at poste.it
Mon Jul 18 12:42:59 CEST 2011


On date Tuesday 2011-03-08 13:01:20 +0100, Michael Niedermayer wrote:
> On Tue, Mar 08, 2011 at 11:39:01AM +0100, Stefano Sabatini wrote:
> > On date Tuesday 2011-02-22 04:53:13 +0100, Michael Niedermayer encoded:
> > > 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:
> > [...]
> > > > > 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
> > 
> > What about having two distinct fade and multifade filters?
> 
> iam against that

On the other hand changing the syntax will break scripts (especially
now that the filter was part of a release and has been integrated
since many months), so I'm going to implement a separate filter, which
will extend the old fade syntax.


More information about the ffmpeg-devel mailing list