I am struggling with this command:
ffmpeg -loop 1 -r 5 -i img_0.jpg -c:v libx264 -preset slow -tune stillimage -crf 24 -t 20 $frame_target
it creates 20 sec video with one image. i need to put more images, so i make this like:
ffmpeg -loop 1 -r 5 -i img_%d.jpg -c:v libx264 -preset slow -tune stillimage -crf 24 -t 20 $frame_target
but this thing create video of 20 sec but images are changing multiple times. basically i want to divide time interval and every image should show ones only.
I found the answer:
here
-r 0.5
changes the image after every two seconds and-t
makes the video 22 seconds long.Thanks Preet