-
-
Save denisdemaisbr/cbe54d6c977a666796814f1fc5964bd4 to your computer and use it in GitHub Desktop.
ffmpeg convert video to 480p
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
#!/bin/sh | |
set -e | |
# TODO: | |
# - check arguments | |
# - check file | |
ffmpeg -i $1 -s hd480 -c:v libx264 -crf 23 -c:a aac -strict -2 `basename $1 .mp4`_480p.mp4 | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment