Last active
May 27, 2016 18:25
-
-
Save maurostorch/6071055 to your computer and use it in GitHub Desktop.
Convert a set of wav file from a directory to MP3 with avconv
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 i in *.wav; do avconv -i "$i" -c libmp3lame -ac 2 -b:a 192k "`echo $i|sed 's\wav\mp3\g'`" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
On Ubuntu 13.04 just install the following packages:
sudo apt-get install libavcodec-extra-53 ffmpeg