Generate a 2-fps mp4 from images using FFMPEG

前端 未结 1 1129
故里飘歌
故里飘歌 2021-01-26 17:59

Need to create a video from a series of images. The video needs to have a low frame rate. This is the command I use to create the video.

ffmpeg.exe -r 2 -i image         


        
1条回答
  •  长情又很酷
    2021-01-26 18:14

    Some players, like VLC, don't like low framerate videos.

    Use

    ffmpeg.exe -framerate 2 -i images/%3d.jpg -r 8 -c:v libx264 -pix_fmt yuvj420p output.mp4
    

    Each frame will still last for 0.5 seconds but output rate is 8 which should play in VLC.

    0 讨论(0)
提交回复
热议问题