Skip to content

Instantly share code, notes, and snippets.

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