Created
May 4, 2017 07:10
-
-
Save echohack/64295d3a8a60e12a4074704ef23e6dfa to your computer and use it in GitHub Desktop.
Use ffmpeg to convert all ogg files in a folder to mp3
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
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