Skip to main content
-framerate affects the image2 demuxer so it has to go before `-i`
Source Link
Gyan
  • 37.1k
  • 6
  • 64
  • 106

If you add to command line -framerate this will make what you want. The command will be:

ffmpeg -pattern_type glob -framerate 5/8 -i '*_0[0-5].png' -framerate 5/8 -r 25 -t 8 -c:v libx264 -pix_fmt yuv420p output.mp4

This value (5/8) will ensure you have 5 "frames" for 8 seconds

If you add to command line -framerate this will make what you want. The command will be:

ffmpeg -pattern_type glob -i '*_0[0-5].png' -framerate 5/8 -r 25 -t 8 -c:v libx264 -pix_fmt yuv420p output.mp4

This value (5/8) will ensure you have 5 "frames" for 8 seconds

If you add to command line -framerate this will make what you want. The command will be:

ffmpeg -pattern_type glob -framerate 5/8 -i '*_0[0-5].png' -r 25 -t 8 -c:v libx264 -pix_fmt yuv420p output.mp4

This value (5/8) will ensure you have 5 "frames" for 8 seconds

Source Link
Romeo Ninov
  • 6.5k
  • 5
  • 21
  • 20

If you add to command line -framerate this will make what you want. The command will be:

ffmpeg -pattern_type glob -i '*_0[0-5].png' -framerate 5/8 -r 25 -t 8 -c:v libx264 -pix_fmt yuv420p output.mp4

This value (5/8) will ensure you have 5 "frames" for 8 seconds