Last active
March 29, 2020 19:33
-
-
Save psaia/3241cc16aae23ef836e611ffbf1adaae to your computer and use it in GitHub Desktop.
Some handy ffmpeg configs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Note: Lower the -crf, higher the quality. | |
# Good for screencasts: | |
ffmpeg -i INPUT.mov -preset veryslow -tune stillimage -y -vcodec h264 -crf 29 -an OUTPUT.mp4 | |
# Cropping (84px from top, 555 height): | |
ffmpeg -i INPUT.mov -filter:v "scale=-1:700,crop=iw:555:0:84" -preset veryslow -tune stillimage -y -vcodec h264 -crf 29 -an OUTPUT.mp4 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment