Skip to content

Instantly share code, notes, and snippets.

@psenough
Created August 22, 2018 04:07
Show Gist options
  • Save psenough/dce2563b5782dc62b265c2b397a9a89e to your computer and use it in GitHub Desktop.
Save psenough/dce2563b5782dc62b265c2b397a9a89e to your computer and use it in GitHub Desktop.
batch script to convert all wavs in a directory to 44.1 320kbps mp3s using ffmpeg
@ECHO OFF
FOR %%f IN (*.wav) DO (
echo Converting: %%f
ffmpeg -i "%%f" -ar 44100 -ab 320k -map_metadata 0 "%%~nf.mp3"
)
echo Finished
PAUSE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment