Difference between revisions of "CUE Splitting"

From ArchWiki
Jump to: navigation, search
(Include instructions for bin/cue files)
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
[[Category:Audio/Video]]
 
[[Category:Audio/Video]]
 
 
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 6: 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 15: 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 29: Line 38:
  
 
==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
You can also try split2flac script from AUR: https://aur.archlinux.org/packages.php?ID=28877.
+
* 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.
  
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==
 
==References==

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