FFmpeg: How to add a fading effect to the video slides?

329 Views Asked by At

I have a text file with the names of the images (paths) which I'm using in the video. The file looks like this

file 'image1.jpg'
file 'image2.jpg'
file 'image3.jpg'
file 'image4.jpg'
file 'image5.jpg'

And the ffmeg command is

ffmpeg -y -r 1/5 -f concat -safe 0 -i imagenames.txt -i some_audio.mp3 -c:v libx264 -vf fps=30 -pix_fmt yuv420p -t 30 output.mp4

And I need to add a fading effect to the video slides ( frames ). And I wonder, is it possible to do it using a text file for the images?

0

There are 0 best solutions below