I have a few hundred .wav files that I need to convert to both ogg and mp3 format. Is there a way that I can do this in batch either from Audacity or from some other command line tool?
|
From a Unix-like (Linux, OSX, etc) commandline, ffmpeg can be used like this:
This will convert every WAV in a directory into one MP3 and one OGG; note that it's case-sensitive (the above command will convert every file ending in .wav, but not .WAV). If you want a case-insensitive version:
To convert every WAV in a directory recursively (that is: every WAV in the current directory, and all directories in the current directory), you could use
(Max respect to Dennis for his response here for finding me a working implementation of find with ffmpeg) For case-insensitive search with find, use A note on |
||||
|
|
|
Looks like you can use oggenc to convert WAV into OGG, and you can use lame to convert WAV into MP3. |
|||
|
|
|
You could use foobar2000 with encoders for ogg and mp3. I believe you can find encoders at rarewares. |
|||
|
|