Skip to content

Instantly share code, notes, and snippets.

@asus4
Created August 2, 2014 12:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save asus4/f733a99301024ee5b81d to your computer and use it in GitHub Desktop.
Save asus4/f733a99301024ee5b81d to your computer and use it in GitHub Desktop.
convert all mov files to flv
#!/bin/zsh
# normalize
function toflv() {
ffmpeg -i $1 -acodec copy -vcodec copy ${1%.mov}.flv
}
while [ "$1" != "" ]
do
toflv $1
shift
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment