E
E
elisey4742016-12-27 14:58:43
linux
elisey474, 2016-12-27 14:58:43

How to apply fade filter in ffmpeg?

I have a video. It is necessary that in 4 seconds from the beginning of the video the screen turns black and fade in starts for half a second. I use this command:
ffmpeg -threads 2 -i VIDEO1.mp4 -filter_complex "fade=t=in:st=4:d=0.5" -c:a ac3 -b:a 384k -b:v 12000k -bufsize 12000k VIDEO2 .mp4
However, everything up to 4 seconds also turns black, but you need the video to run normally for 4 seconds, then the screen turns black and fade in starts. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
Человек с Казахстана, 2016-12-27
@LenovoId

Это вариант ? atzar.ru/ffmpeg-image-fade-in-out-to-video

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question