Skip to content

Instantly share code, notes, and snippets.

@ofZach
Created November 21, 2016 08:02
Show Gist options
  • Save ofZach/73a7f53ec051b126d33e93db01f001af to your computer and use it in GitHub Desktop.
Save ofZach/73a7f53ec051b126d33e93db01f001af to your computer and use it in GitHub Desktop.
w/ speed up or slow down:
ffmpeg -i INPUT -crf 14 -vf "scale=640:640, setpts=1.0*PTS" -c:a copy -tune grain OUTPUT
(adjust crf for compression amount and 1.0*PTS for speed up / down)
w/out speed up:
ffmpeg -i INPUT -crf 14 -filter:v scale=640:640 -c:a copy -tune grain OUTPUT
(adjust crf for compression amount)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment