Skip to content

Instantly share code, notes, and snippets.

@aldoridhoni
Created May 25, 2019 14:41
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save aldoridhoni/c1e10e4fa802cd22d26ec9b6282e32f4 to your computer and use it in GitHub Desktop.
divx pioneer
#!/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