[FFmpeg-soc] [PATCH] Add fade filter to libavfilter
Benoit Fouet
benoit.fouet at free.fr
Wed Mar 31 11:47:20 CEST 2010
Hi,
On Wed, 31 Mar 2010 00:43:50 -0400 Brandon Mintern wrote:
> I am happy to present my first-ever open source code contribution, a
> "fade" filter for libavfilter! Here is some example usage:
>
> # Fade in first 30 frames of video
> ffmpeg -i input.avi -vfilters fade=in:1:30 output.avi
>
> # Fade out last 45 frames of a 200-frame video
> ffmpeg -i input.avi -vfilters fade=out:156:45 output.avi
>
> # Fade in first 25 frames and fade out last 25 frames of a 1000-frame video
> ffmpeg -i input.avi -vfilters "fade=in:1:25, fade=out:976:25" output.avi
>
Would it be possible to (also ?) make it work as follow ?
ffmpeg -i input -vfilters "fade=in:25, fade=out:25"
That's to say: begin fade in at frame 0 and finish fade out at last frame.
Ben
More information about the FFmpeg-soc
mailing list