Create CUE for CD capturing in Linux and compress it to flac

Source: Internet
Author: User
Tags cddb

In Windows, we usually use EAC to compress captured rails to generate CUE. However, in Linux, it will be a little troublesome and we need to do it ourselves. After repeated searches and attempts, I summarized a set of fairly good methods. The software and processes used are as follows.

Software used:Abcde, mkcue, flac. (They are all software under the command line. Please install them on your own .)

The name of abcde is very interesting. His full name is a better cd encoder. It depends on cdparanoia. It can automatically connect to the CDDB database to obtain the cd information, and we also manually modify the information during the software running process (however, it is recommended to directly modify the final generated cue for convenience ). It supports specifying the final format by using commands. It supports vorbis, mp3, flac, spx, nmpc, wav, and m4a formats, but the encoder needs to be downloaded by itself.

Mkcue is used to generate a cue file. For cd with no information or poor network conditions on CDDB, we need to do the cue by ourselves. At this time, mkcue is used.

Flac is a common tool for compression.

Process:

1. Track Capture:

Abcde-1-o flac

Parameter description: "-1" indicates that the entire cd is captured as a file. Otherwise, one audio track is a file. "-o" in "-o flac" is used to specify the output format, "-P" specifies the use of pipelines rather than temporary wav Files. Other common parameters include "-B", which is generally used to balance the volume of each audio track. For more information, see abcde -- help.

Output location description:

It does not provide the function of specifying the output location (at least 2.5.4 is not provided). By default, the file is output to the current directory. If a temporary wav file is used, it creates a temporary folder named "abcde. xxxxxx", where "xxxxx" indicates a random number. For final output, it creates a folder with "artist-album name" and saves each file with "album name"/"audio track number-track name.

1', use cdparanoia to capture tracks

Cdparanoia 1--w [output-file-name]

Output-file-name example use cdda.wav in the current directory

2. Generate cue:

Mkcue> output. cue

Note: mkcue outputs standard output information by default and must be redirected to a file. It can only provide the most basic audio track interval information, does not protect information such as the singer/track name, you need to manually edit the cue file.

(3, compressed to flac :)

If you have captured only wav files, you can use flac to manually compress them.

Flac-8 xxx.wav

Parameter description:-0 ~ -8 indicates the compression level. 0 is the fastest, and 8 is the smallest. The output file is the xxx.flac file under the same directory.

The command is summarized as follows:

Abcde-1-o flac

Mkcue> output. cue

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.