Created
April 28, 2025 12:57
-
-
Save kampar/5a4b8b05da8fd36dd2d55efb411bf996 to your computer and use it in GitHub Desktop.
Convert all mp3 within current directory into smaller 64kbps
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
@echo off | |
for %%F in (*.mp3) do ( | |
if not exist "%%~nF.64.mp3" ( | |
echo Converting "%%F" to "%%~nF.64.mp3"... | |
ffmpeg -i "%%F" -map_metadata 0 -codec:a libmp3lame -b:a 64k "%%~nF.64.mp3" | |
) else ( | |
echo "%%~nF.64.mp3" already exists, skipping. | |
) | |
) | |
echo Done! | |
pause |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://kampar.wordpress.com/2025/04/28/ffmpeg-to-convert-existing-mp3-320kbps-into-smaller-64kbps/