Difference between revisions of "CUE Splitting"

From ArchWiki
Jump to: navigation, search
(Undo revision 132372 by Wsduvall (talk))
(Include instructions for bin/cue files)
(9 intermediate revisions by 7 users not shown)
Line 1: Line 1:
[[Category: Audio/Video (English)]]
+
[[Category:Audio/Video]]
[[Category: HOWTOs (English)]]
+
 
+
 
This article describes how to split audio file basing on CUE metadata.
 
This article describes how to split audio file basing on CUE metadata.
  
Line 7: Line 5:
 
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 16: 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==
Line 27: Line 35:
 
   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==
 
==Splitting, Converting to FLAC, and Tagging==
This script will convert APE+CUE files to tagged FLAC: https://bbs.archlinux.org/viewtopic.php?id=75774.
+
* 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.
  
You can also try split2flac script from AUR: http://aur.archlinux.org/packages.php?ID=28877.
+
==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==
 
==References==
Line 38: Line 52:
 
* [http://en.wikipedia.org/wiki/Cue_file What is CUE?]
 
* [http://en.wikipedia.org/wiki/Cue_file What is CUE?]
 
* [[Convert Any To Mp3]]
 
* [[Convert Any To Mp3]]
* [[Rip_Audio_CDs]]
+
* [[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