I'm trying to convert a png file to mp4 file but I get 0bytes mp4 files.
Here is my code structure:
ffmpeg -r [framerate] -i [images] -s [resolution] -vcodec libx264 [videofilename].mp4
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.Sign up to join this community
When creating film from images, you need to specify input "framerate" as decribed in Create a video slideshow from images
-framerate 1/5 before tag
-i for example will make each image be shown for 5s in the film.