Created
October 1, 2012 11:44
-
-
Save AlexanderBrevig/3811139 to your computer and use it in GitHub Desktop.
Batch convert .wav to .mp3 or .ogg
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
:: you must have oggenc or lame codecs installed and available in your PATH | |
cd path/to/your/folder/of/wav/files/to/convert | |
:: replace BITRATE with what you need, and use either of the following lines: | |
for /F %v IN ('dir /b *.wav') DO oggenc -m BITRATE %v | |
for /F %v IN ('dir /b *.wav') DO lame -b BITRATE %v |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment