I have to rewrite it partially... until then, please READ THIS
---------------------------------------------------------------------------------------------------
Like many people here, I want to backup my CD collection so that I will be able to burn a copy of one of my audio CD in case of lost or degradation. If you have enough diskspace on your harddrives, you'll also be able to listen your whole music collection without using your original CDs.
As many people are asking questions about how to do this in the most simple way, I decided to write here this howto and I hope it will be helpfull.
The aim of the game is to produce a single backup file for each CD. This file must be an exact copy of the original audio CD (with tracks/cue points, ISRC, cdtext or ISO/Data track if needed) and it must be directly playable on a computer (as easily as you play an audio CD). It will include all the tags (artist, title, genre, date, ...) needed for each track of the CD, so these informations can be displayed when the file is played or can be used when the file is "splitted" and encoded to multiple ogg/mp3/aac/... . The backup file should also be able to "embed" some usefull files like lyrics or .jpg files of the cover and/or the art/booklet.
All that is possible and it's named "Matroska"!
Here is how to do it in Windows:
This methode may not be the best, but it is the most simple I found. I use it and it works very well.
1) You have to get some tools:
- Matroska -> the Matroska Pack Full
- Tools for making Matroska files -> mkvtoolnix
- a lossless encoder -> Flac
- a good audio CD ripper -> EAC
- a powerfull player/tagger -> Foobar2000 Special
Download an install this tools. Be carefull to always download the full version (note the lite one).
2) Configure eac :
- after installing EAC you have to configure it for your CD drive (very important)
- don't forget to check the boxes "Retrieve UPC/ISRC codes in CUE sheet generation" and "Use CD-Text information in CUE sheet generation" in the "EAC/EAC options/tools tab" menu (F9)
- in the "EAC/compression options" menu (F11), go to the "external compression" tab
- check the "Use external program compression" box
- select "User defined encoder"
- set "Use file extension" to .flac
- set your flac.exe path
- set the "Additional command line options" to :
--best -V %s -T Artist="%a" -T Album="%g" -T Date="%Y" -T Genre="%m"
- bitrate / quality parmeters had no effects
- uncheck all the other checkboxes exept (unless you really need it) " Delete WAV after compression"
Now EAC should be configured and ready for ripping. If you need more help on EAC configuration, you should find some good topics about that on the HA forums.
3) Rip your audio CD
With EAC:
- Put your audio CD in the extracting CD drive
- Get CD information on remote freedb (Alt+G)
- Verify that all the tags (titles/artist(s)/date/genre) are correct (fix them if necessary)
- go to "Action/Copy Image & Create CUE Sheet/Compressed
- select the emplacement where you want to save your .flac and .cue files (for me it's c:\riptmp\)
- give a good file name to the .flac file (album_artist - album_title.flac) and launch the rip!
After some time, you should have two file in the selected emplacement:
c:\tmprip\album_artist - album_title.flac.flac
c:\tmprip\album_artist - album_title.fllac.cue
You can notice the .flac.flac extension; this is a bug (.flac.cue is normal). just rename the file so that you have:
c:\tmprip\album_artist - album_title.flac
c:\tmprip\album_artist - album_title.fllac.cue
4) Prepare the "embeded" documents (optional but recommended)
--- recommended ---
- scan the cover of the CD (scan at 300 dpi is nice for printing) and save it as:
c:\tmprip\cover.jpg
if your audio CD contain a data track (CD extra) just save it as:
c:\tmprip\track#.iso
--- optional ---
you can add anything you find usefull:
.jpg files of the art/booklet/back
.html (recommended) or plain text files of the lyrics
text files for notice, comments, etc ...
5) Merge everything into a single file
In the mkvtoonix directory (previously installed) launch mmg.exe
- "Input" tab :
- "Input file" add c:\tmprip\album_artist - album_title.flac
- "Attachements" tab :
- "Attachements" add c:\tmprip\album_artist - album_title.flac.cue
- set "MIME type:" to text/plain
--- recommended ---
- "Attachements" add c:\tmprip\cover.jpg
- "Attachements" add c:\tmprip\track#.iso
--- optional ---
- "Attachements" add c:\tmprip\lyrics.html
- "Attachements" add what you find usefull ... (book01.jpg/book02.jpg/back.jpg/...)
--- ! don't forget to set the correct MIME type each time you add a file ! ---
- "Global" tab:
- "Chapters" : set "Chapter file" to c:\tmprip\album_artist - album_title.flac.cue
- set "Output filename" to d:\backup\album_artist - album_title.mka (d:\backup\ is for me, choose what you want
"Start muxing" !!!
After some time you should have a new file:
d:\backup\album_artist - album_title.mka
This is your audio CD backup file... Everything into a single file! That what we want.
Unfortunatly, the tags (artist/title/genre/date/etc ...) for each track is not retrieved from the cuesheet so we have to use an other tool to fix this...
6) Add the tags
We can now test the .mka file opening it with Foobar2000.
Normaly, it works fine... all the tracks are displayed and you can skip from one to an other. But, if you right click on a track and go to its properties, you'll find that the tags are not well set. To fix this, we have to set the tags from freedb: Select all tracks, rightclick "freedb/get Tags", select the right disk in the database "preview", verify if all the informations are correct (cf section 3 - Rip), "Tag files" !!!
Now all the tags are correctly set and saved to the mka file.
You can delete all the files in "c:\tmprip\" and start over at section 3 with another CD.
If you don't want to play your .mka file in foobar, you can use Media Player Classic that works also very well.
Another usefull tool is The Matroska Shell Extension wich enable you to browse your .mka files and show tags/attachements/informations.
That's all folks!
Here is how to do it in Linux:
Sections 1 to 5 are alsmost the same as in Windows expect that you must use cdparanoia instead of EAC (and cdrdao + toc2cue to get the cuesheet) and everything have to be done on the command line (AFAIK). There may be some scripts to do all automagically... If you have any information, it's welcome
The issue is that Foobar doesn't exist in Linux ... So to set the correct flags in the .mka file chapters, we would need some cue2xml tool.
A simple software with a nice (GTK) GUI to do all this would be great, unfortunatly I'm not skilled enough in coding to do it myself (If anybody wants to do it, I can help).
I hope all this will be usefull. Questions and comments are welcome.
-------------------------------------------------------------------------------------------------
This guide is outdated
I have to rewrite it partially... until then, please READ THIS
