How do you convert an entire directory with ffmpeg?

前端 未结 26 2154
长发绾君心
长发绾君心 2020-11-22 04:33

How do you convert an entire directory/folder with ffmpeg via command line or with a batch script?

26条回答
  •  青春惊慌失措
    2020-11-22 04:56

    This will create mp4 video from all the jpg files from current directory.

    echo exec("ffmpeg -framerate 1/5 -i photo%d.jpg -r 25 -pix_fmt yuv420p output.mp4");
    

提交回复
热议问题