Created
September 27, 2017 12:50
-
-
Save thebabush/0d3c6ae9c96f83482d4df5f328ccb774 to your computer and use it in GitHub Desktop.
Convert all WAVs in a directory to MP3s (VBR 150/195 kbps) using ffmpeg on windows
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
REM Put this file in a directory and double click on it | |
REM Some details: | |
REM - ffmpeg must be in the system PATH | |
REM - you can change the bitrate easily by changing the "q" parameter (https://trac.ffmpeg.org/wiki/Encode/MP3) | |
for /f "tokens=1 delims=." %%a in ('dir /B *.wav') do ffmpeg -i "%%a.wav" -q:a 3 "%%a.mp3" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment