Created
October 25, 2019 10:37
-
-
Save stu43005/7923cfbc33ab456639ae64c0e46aff32 to your computer and use it in GitHub Desktop.
convert .wav to .mp3 using ffmpeg
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
| @echo off | |
| for /f "tokens=*" %%G in ('dir /b /s *.wav') do ( | |
| echo `%%~nxG` convert to `%%~nG.mp3` | |
| ffmpeg -hide_banner -i "%%~nxG" -vn -ar 48000 -ac 2 -b:a 320k "%%~nG.mp3" | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment