Skip to content

Instantly share code, notes, and snippets.

@chuckleplant
Created January 5, 2017 09:34
Show Gist options
  • Save chuckleplant/dc6688ac9093445ad9de135e3aaaddb6 to your computer and use it in GitHub Desktop.
Save chuckleplant/dc6688ac9093445ad9de135e3aaaddb6 to your computer and use it in GitHub Desktop.
Converts files to MP3 using FFMPEG, on Windows. Note that you can change m4a to almost any other audio format and ffmpeg will still convert.
@echo off
FOR /F "tokens=*" %%G IN ('dir /b *.m4a') DO ffmpeg -i "%%G" -acodec libmp3lame -ab 128k "%%G.mp3"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment