目錄表

ffmpeg

convert mov to mp4

ffmpeg -i movie.mov -vcodec copy -acodec cop out.mp4

convert a set of jpeg to mp4

ffmpeg -framerate 30 -i image-%05d.jpg -c:v libx264 -profile:v high -crf 20 -pix_fmt yuv420p output.mp4

If you images are like this:

image-1
image-2
...
image-35

then change the -i part to -i image-%00d.

ref

https://askubuntu.com/questions/610903/how-can-i-create-a-video-file-from-a-set-of-jpg-images