Last active
January 3, 2016 02:49
-
-
Save cldotdev/8398268 to your computer and use it in GitHub Desktop.
wmv to flv with ffmpeg
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 | |
| # Usage: ./wmv2flv.sh <intput.wmv> <output.flv> | |
| if [ $# -eq 0 ]; then | |
| echo "Usage: ./wmv2flv.sh <intput.wmv> <output.flv>" | |
| exit 1 | |
| fi | |
| ffmpeg -i $1 -acodec libmp3lame -ar 22050 -ab 96000 -deinterlace \ | |
| -nr 500 -aspect 4:3 -r 20 -g 500 -me_range 20 -b 270k -deinterlace \ | |
| -f flv -y $2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment