How to convert a single image to mp4 video.
For example, I need to play the same image for 20 seconds (duration will be dynamic)
I know it's possible with ffmpeg. I searched in google & SO but unfortunately, I am not able to find the correct tutorial.
I just want a correct direction.
Any comment or suggestion is welcome.
Basic syntax is
ffmpeg -loop 1 -i image -pix_fmt yuv420p -t 20 out.mp4
The -t option sets the time, in seconds.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With