Skip to content

Instantly share code, notes, and snippets.

@thure
Created December 3, 2012 21:02
Show Gist options
  • Save thure/4197998 to your computer and use it in GitHub Desktop.
Save thure/4197998 to your computer and use it in GitHub Desktop.
Split .flac and convert to .m4a (ALAC) on MacOS X
brew install flac ffmpeg cuetools shntool
cuebreakpoints 1.cue | shnsplit -o flac 1.flac
for f in split-track*.flac
do
ffmpeg -i "$f" -acodec alac "${f%.flac}.m4a";
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment