Created
May 25, 2019 14:41
-
-
Save aldoridhoni/c1e10e4fa802cd22d26ec9b6282e32f4 to your computer and use it in GitHub Desktop.
divx pioneer
This file contains hidden or 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 | |
for input in "$@"; do | |
output="${input%%.*}.avi" | |
# does not work if filename has multiple dot | |
ffmpeg -i "$input" -c:v mpeg4 -vtag DIVX -s 640x480 -qscale:v 10 -c:a libmp3lame -qscale:a 0 "$output" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment