Last active
May 22, 2021 09:55
-
-
Save stephan-nordnes-eriksen/530c1e4ed4055413fd4c198c49c5f2d3 to your computer and use it in GitHub Desktop.
.bat script for drag-n-dropping audio files to convert them into .wav with ffmpeg. Assumes globally available ffmpeg command
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
if [%1]==[] goto :eof | |
:loop | |
@echo converting %1 to .wav | |
ffmpeg -i %1 "%~dpn1%.wav" | |
shift | |
if not [%1]==[] goto loop | |
echo Done | |
@pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Simply save this as a .bat file on a windows machine, and drag-n-drop any number of audio files (or even video) to output a .wav file for each input file in the same directory as they came from.