Last active
May 16, 2019 02:09
-
-
Save lextra2/ba52c42cad923107330373903a7ebce3 to your computer and use it in GitHub Desktop.
FFMPEG.BAT - Encodes the first audio stream of all files that are dropped onto this .bat as .flac and outputs them in the same folder. Requires all files to be in the same location.
This file contains 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 | |
:next | |
if "%~1" == "" goto done | |
ffmpeg -i "%~1" -map_metadata -1 -vn -c:a flac "%~1.flac" | |
shift | |
goto next | |
:done | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment