Created
March 4, 2019 19:06
-
-
Save s4y/8b74130d4dfa5ce814d6fc79813a4516 to your computer and use it in GitHub Desktop.
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/bash | |
if [[ $# < 1 ]]; then | |
echo "usage: $0 input.mov [ffmpeg_opts]..." 1>&2 | |
exit 1 | |
fi | |
infile="$1" | |
shift | |
outfile="${infile%.*}.mp4" | |
ffmpeg -i "$infile" -profile:v main -level 3.1 -preset medium "$@" "$outfile" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment