Skip to content

Instantly share code, notes, and snippets.

@ksysctl
Created August 15, 2013 16:38
Show Gist options
  • Select an option

  • Save ksysctl/6242334 to your computer and use it in GitHub Desktop.

Select an option

Save ksysctl/6242334 to your computer and use it in GitHub Desktop.
Split cue into individual flac files
# dependencies
sudo apt-get install flac bchunk ffmpeg
# convert to a wave file
ffmpeg -i INPUT.ape OUTPUT.wav
# split the .wav into individual tracks
bchunk -w OUTPUT.wav INPUT.cue BASE_FILENAME
# convert to flac
flac --best BASE_FILENAME*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment