Created
April 15, 2021 14:32
-
-
Save gedsic/a9222989b4acbf5f3b3b8935d03ef878 to your computer and use it in GitHub Desktop.
Convert FLAC to MP3 using 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
| #!/bin/bash | |
| BITRATE="320k" | |
| for fil in *.flac | |
| do | |
| ffmpeg -i "$fil" -ab $BITRATE -map_metadata 0 -id3v2_version 3 "${fil%.flac}.mp3"; | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment