Created
June 12, 2016 21:50
-
-
Save mstevenson/2c57fa4839bdfc5f23d98e0325ad047f to your computer and use it in GitHub Desktop.
Convert Ogg to MP3 with ffmpeg
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 name in *.ogg; do ffmpeg -i "$name" -ab 128k -map_metadata 0:s:0 "${name/.ogg/.mp3}"; done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
works also fine for converting *.wav to *.mp3
👍
thanks!