[FFmpeg-user] Last frame with wrong duration - video from images

Leonardo lsbplsb at yahoo.com
Tue Jun 23 16:49:07 EEST 2020


Hi,
all suggestions work as expected

ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 video.mp4

ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt yuv420p -r 30 -s 1920x1080 video.mp4
ffmpeg -framerate 1/5 -i figura%03d.png -c:v libx264 -pix_fmt yuv420p -vf scale=1920:1080,fps=30 video.mp4
I really appreciate this. Thanks :)

Even after reading the documentation, I could not understand the differences between "-r 30" and "fps=30". Could someone explain?
Kind regards,Leonardo
  


More information about the ffmpeg-user mailing list