Last Updated: June 21, 2019
·
12.15K
· clayman74

How to split flac files by cue and convert to alac on Mac OS X

1. Install required packages

$ brew install cuetools flac ffmpeg shntool

*2. Split flac file by cue *

$ shnsplit -o flac -f file.cue file.flac

3. Download cuetag.sh from https://github.com/gumayunov/split-cue/blob/master/cuetag and fill meta-info for the resulting flac files

$ cuetag file.cue split-track*.flac

4. Convert flac files to alac

$ for i in *.flac; do ffmpeg -i "$i" -acodec alac "`basename "$i" .flac`.m4a"; done;

2 Responses
Add your response

I use iDealshare VideoGo to split flac files by cue and convert to alac on Mac OS X

Step by step guide at http://www.idealshare.net/audio-converter/cue-splitter-for-mac-windows.html

It also helps to split WAV, APE, MP3, AIFF, M4A, and etc.

over 1 year ago ·

This is a great tuto on how to convert flac to m4a files. @muchbetterbig, why the hell do you need a program? Just change the file extension and ffmpeg will take care.

over 1 year ago ·