Last active
August 6, 2024 16:29
-
-
Save fabiofidanza/4b4869d6826e8a2a5563bdf925200478 to your computer and use it in GitHub Desktop.
Convert all wavs in a folder to mp3 + ogg
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
for f in *.wav; do ffmpeg -i "$f" -c:a libmp3lame -q:a 2 "${f/%wav/mp3}" -c:a libvorbis -q:a 4 "${f/%wav/ogg}"; done | |
HQ | |
for f in *.wav; do ffmpeg -i "$f" -c:a libmp3lame -q:a 0 "${f/%wav/mp3}"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment