Last active
April 10, 2024 19:03
-
-
Save IanoNjuguna/d8a68055285829b4356cc6390d8eafe0 to your computer and use it in GitHub Desktop.
When executed, this batch script converts all video files (mp4) in a folder to audio files (mp3) and stores them in the output\ folder (automatically created). NOTE: You should have ffmpeg installed before execution.
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 | |
mkdir outputs | |
for %%a in ("*.mp4") do ffmpeg -i "%%a" -b:a 192K -vn "outputs\%%~na.mp3" | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment