Cheat Sheet - ffmpeg

Cheat Sheet - ffmpeg

Smoothing out a video...

ffmpeg -i input.mp4 -filter:v "minterpolate='mi_mode=mci:mc_mode=aobmc:vsbmc=1:fps=30'" output.mp4

Crop a video

ffmpeg -i input.mp4 -filter:v "crop:1920:1080:100:50" output.mp4

Create timelaps

ffmpeg -framerate 30 -pattern_type glob -i "folder-with-photos/*.JPG" -s:v 1440x1080 -c:v libx264 -crf 17 -pix_fmt yuv420p my-timelapse.mp4