Difference between revisions of "CUE Splitting"

From ArchWiki
Jump to: navigation, search
(Created page with "This article describes how to split audio file basing on CUE file. ==Installation== Probably you need this bundle: pacman -S cuetools shntool flac wavpack mac mp3info vorbis-t...")
 
(Include instructions for bin/cue files)
(17 intermediate revisions by 9 users not shown)
Line 1: Line 1:
This article describes how to split audio file basing on CUE file.
+
[[Category:Audio/Video]]
 +
This article describes how to split audio file basing on CUE metadata.
  
 
==Installation==
 
==Installation==
 
Probably you need this bundle:
 
Probably you need this bundle:
 
   pacman -S cuetools shntool flac wavpack mac mp3info vorbis-tools
 
   pacman -S cuetools shntool flac wavpack mac mp3info vorbis-tools
 +
 +
If you want to split iso/bin files, you will also need bchunk:
 +
  pacman -S bchunk
  
 
==Splitting==
 
==Splitting==
 +
To split APE or WavPack files, use:
 +
 
   cuebreakpoints file.cue | shntool split file.ape
 
   cuebreakpoints file.cue | shntool split file.ape
 
or
 
or
Line 13: Line 19:
  
 
Then you probably want to convert them into OGG or MP3. See [[Convert Any To Mp3]] for example.
 
Then you probably want to convert them into OGG or MP3. See [[Convert Any To Mp3]] for example.
 +
 +
To split bin/cue files, use:
 +
  bchunk -v -w file.bin file.cue out
 +
 +
This will split file.bin according to file.cue, and produce out01.wav, out02.wav, etc.
  
 
==Tagging==
 
==Tagging==
 +
 
Use
 
Use
 +
 
   cuetag.sh file.cue track01.mp3 track02.mp3 track03.mp3 track04.mp3
 
   cuetag.sh file.cue track01.mp3 track02.mp3 track03.mp3 track04.mp3
 +
 
or
 
or
 +
 
   cuetag.sh file.cue *.mp3
 
   cuetag.sh file.cue *.mp3
to copy tags from CUE to MP3. cuetag.sh supports FLAC, OGG and MP3 tags.
+
 +
to copy tags from CUE to MP3. cuetag.sh supports FLAC, OGG and MP3 tags. cuetag.sh is included with cuetools.
 +
 
 +
==Splitting, Converting to FLAC, and Tagging==
 +
* This script will convert APE+CUE files to tagged FLAC: https://bbs.archlinux.org/viewtopic.php?id=75774.
 +
* You can also try [https://aur.archlinux.org/packages.php?ID=55880 split2flac] script from AUR
 +
* Also you may use [https://aur.archlinux.org/packages.php?ID=31026 flacon] - progam which extracts individual tracks from one big audio file containing the entire album of music and saves them as separate audio files.
 +
 
 +
==Split a single FLAC using CUE==
 +
* install {{Pkg|shntool}} {{Pkg|cuetools}}
 +
* <code>shntool split -f *.cue -o flac *.flac</code>
 +
* <code>cuetag.sh *.cue split-track*.flac</code>
 +
from [https://bbs.archlinux.org/viewtopic.php?pid=702289#p702289]
 +
 
 +
==References==
 +
* [http://en.wikipedia.org/wiki/Monkey%27s_Audio What is APE?]
 +
* [http://en.wikipedia.org/wiki/Cue_file What is CUE?]
 +
* [[Convert Any To Mp3]]
 +
* [[Rip Audio CDs]]

Revision as of 03:48, 6 October 2012

This article describes how to split audio file basing on CUE metadata.

Installation

Probably you need this bundle:

 pacman -S cuetools shntool flac wavpack mac mp3info vorbis-tools

If you want to split iso/bin files, you will also need bchunk:

 pacman -S bchunk

Splitting

To split APE or WavPack files, use:

 cuebreakpoints file.cue | shntool split file.ape

or

 cuebreakpoints file.cue | shntool split file.wv

it produces .wav files

Then you probably want to convert them into OGG or MP3. See Convert Any To Mp3 for example.

To split bin/cue files, use:

 bchunk -v -w file.bin file.cue out

This will split file.bin according to file.cue, and produce out01.wav, out02.wav, etc.

Tagging

Use

 cuetag.sh file.cue track01.mp3 track02.mp3 track03.mp3 track04.mp3

or

 cuetag.sh file.cue *.mp3

to copy tags from CUE to MP3. cuetag.sh supports FLAC, OGG and MP3 tags. cuetag.sh is included with cuetools.

Splitting, Converting to FLAC, and Tagging

Split a single FLAC using CUE

  • install shntool cuetools
  • shntool split -f *.cue -o flac *.flac
  • cuetag.sh *.cue split-track*.flac

from [1]

References