Skip to content

Instantly share code, notes, and snippets.

@valentincognito
Last active November 28, 2017 09:40
Show Gist options
  • Save valentincognito/0e3993ff21c4607439006d48b5b8f2b1 to your computer and use it in GitHub Desktop.
Save valentincognito/0e3993ff21c4607439006d48b5b8f2b1 to your computer and use it in GitHub Desktop.
All about this magic plugin

Command line cheat sheet

Images sequence to video

ffmpeg -i DSC_%03d.jpg out.mp4

Standard video codecs

ffmpeg -i input.mp4 -vcodec libx264 -pix_fmt yuv420p standard.mp4

Crop video (full HD example)

ffmpeg -i input.mp4 -vf "crop=3840:2160:0:0" full_hd.mp4

Slow down video

ffmpeg -i input.mp4 -filter:v "setpts=2*PTS" two_times_slower.mp4

Motion interpolation

ffmpeg -i input.mp4 -filter "minterpolate='fps=120'" slowmo_effect.mp4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment