Skip to content

Instantly share code, notes, and snippets.

@spohnan
Created September 4, 2021 17:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save spohnan/90ca67392c276bfab3ba406d538f06f9 to your computer and use it in GitHub Desktop.
Save spohnan/90ca67392c276bfab3ba406d538f06f9 to your computer and use it in GitHub Desktop.
ffmpeg mov screenshot speedup
# https://trac.ffmpeg.org/wiki/How%20to%20speed%20up%20/%20slow%20down%20a%20video
# setpts at .02 is about 1min->1sec and is great for longish running, 10min, video captures with little activity
docker run --rm -v $(pwd):/tmp jrottenberg/ffmpeg -i /tmp/screenshot.mov -filter:v "setpts=0.02*PTS" -preset slow -crf 18 /tmp/test3.m4v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment