Created
January 28, 2012 21:24
-
-
Save honzajavorek/1695797 to your computer and use it in GitHub Desktop.
Script to convert wma files to mp3
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 | |
for FILENAME in *.wma | |
do | |
NEW_NAME="`basename "$FILENAME" .wma`.mp3" | |
echo "$FILENAME → $NEW_NAME" | |
ffmpeg -i "$FILENAME" -acodec libmp3lame -ab 320k "$NEW_NAME" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment