Created
October 17, 2018 00:32
-
-
Save patillacode/5c94ba2b984f4833072292cbc360d8ae to your computer and use it in GitHub Desktop.
Small script convert wav to mp3
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 | |
ffmpeg -i "$i" -vn -ar 44100 -ac 2 -ab 320k -f mp3 "${i%%.*}.mp3" | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment