Created
May 11, 2016 11:38
-
-
Save vikjam/e569bf3bfcef9e799f08e210bada4004 to your computer and use it in GitHub Desktop.
Convert FLAC to AAC
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
| # Install ffmpeg with the right codec | |
| brew install ffmpeg --with-fdk-aac | |
| # Actual loop | |
| for i in *flac;do of="${i/.flac/.m4a}"; ffmpeg -i "${i}" -c:a libfdk_aac -b:a 320k "${of}";done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment