Skip to content

Instantly share code, notes, and snippets.

View thure's full-sized avatar
🏳️‍🌈

Will Shown thure

🏳️‍🌈
View GitHub Profile
@thure
thure / gist:4197998
Created December 3, 2012 21:02
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