[FFmpeg-user] FFMPEG Image overlay Fade in and out on Video not working properly, ,
Moritz Barsnick
barsnick at gmx.net
Mon Aug 24 15:28:14 CEST 2015
On Mon, Aug 24, 2015 at 06:17:52 -0700, ankur456799 wrote:
> Thanks man for yours continue reply ...
> like this :-
> -i input.mp4 -shortest -loop 1 -i 57982344.png -filter_complex
> "[1:v]fade=t=in:st=5:d=1,fade=t=out:st=10:d=1[over];[0:v][over]overlay=0:0 "
> -c:v libx264 -crf 23 output.mp4
As an output option (please do read up on ffmpeg's command line
handling, it's important), i.e. _after all_ the input files.
> -i input.mp4 -loop 1 -i 57982344.png -shortest -filter_complex
> "[1:v]fade=t=in:st=5:d=1,fade=t=out:st=10:d=1[over];[0:v][over]overlay=0:0 "
> -c:v libx264 -crf 23 output.mp4
(CRF 23 is default, no particular need to put it here, BTW.)
Moritz
More information about the ffmpeg-user
mailing list