ffmpeg -framerate $FRAMERATE -i "image%05d.jpg" output.mp4
and if we want XVID,
https://trac.ffmpeg.org/wiki/Encode/MPEG-4
ffmpeg -framerate $FRAMERATE -i "image%05d.jpg" -c:v mpeg4 -vtag xvid output.avi
(not yet tested for compatibility with our Blu Ray player.)
What I've used for 4K frames,
ffmpeg -r 30 -f image2 -i "paranal_timelapse_vst_%05d.jpg" -vcodec libx264 -crf 15 -pix_fmt yuv420p paranal_timelapse_vst-4k-frames.mp4
Edit:
# for starting at arbitrary frame number
ffmpeg -r 30 -start_number 405 -f image2 -i "paranal_timelapse_vst_%05d.jpg" -vcodec libx264 -crf 15 -pix_fmt yuv420p partial.mp4
No comments:
Post a Comment