Last active
January 1, 2022 22:13
-
-
Save JakeTrock/ee04bc600cbc8990bf19a76ee81f50ab to your computer and use it in GitHub Desktop.
makes an mp3 as small as possible with ffmpeg
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
mkdir filtered && for f in *.mp3 ; do ffmpeg -i "$f" -ab 128k -map_metadata -1 "./filtered/${f%.}.opus"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
for recursive action!
find -name "*.mp3" -exec ffmpeg -i {} -ab 128k -map_metadata -1 {}.opus \;