特殊:Badtitle/NS100:CDRipping:修订间差异
小 New page: {{From|https://help.ubuntu.com/community/CDRipping}} {{Languages|php5}} "Ripping" is the process of taking a CD and copying tracks from it onto your computer or portable music player. CD... |
小无编辑摘要 |
||
(未显示2个用户的19个中间版本) | |||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/CDRipping}} | {{From|https://help.ubuntu.com/community/CDRipping}} | ||
{{Languages| | {{Languages|UbuntuHelp:CDRipping}} | ||
"Ripping" is the process of taking a CD and copying tracks from it onto your computer or portable music player. CD ripping is sometimes called 'CD extraction'. | "Ripping" is the process of taking a CD and copying tracks from it onto your computer or portable music player. CD ripping is sometimes called 'CD extraction'. | ||
== CD Ripping Basics == | == CD Ripping Basics == | ||
This section provides a brief overview of how CD ripping works and the various options available to you when ripping your CDs. | This section provides a brief overview of how CD ripping works and the various options available to you when ripping your CDs. | ||
=== How It Works === | === How It Works === | ||
Music on a CD is stored in an ''uncompressed'' format. This means that while the sound quality of a CD is very high, a large amount of storage space is required for only a few tracks. A 700MB CD can store only 80 minutes of uncompressed music, and copying uncompressed music to your computer's hard drive will take up a great deal of storage capacity. | Music on a CD is stored in an ''uncompressed'' format. This means that while the sound quality of a CD is very high, a large amount of storage space is required for only a few tracks. A 700MB CD can store only 80 minutes of uncompressed music, and copying uncompressed music to your computer's hard drive will take up a great deal of storage capacity. | ||
It is possible to ''compress'' music so that it takes up much less space, making it more suitable for storing on a computer or portable music player. The method used to compress the music affects the quality and size of the resulting music file on your computer. In general, the smaller you make the file, the poorer quality the music will be. | It is possible to ''compress'' music so that it takes up much less space, making it more suitable for storing on a computer or portable music player. The method used to compress the music affects the quality and size of the resulting music file on your computer. In general, the smaller you make the file, the poorer quality the music will be. | ||
'''Lossless compression''' is a way of reducing the size of a music file without any loss in quality. However, the resultant files still tend to be quite large. | '''Lossless compression''' is a way of reducing the size of a music file without any loss in quality. However, the resultant files still tend to be quite large. | ||
'''Lossy compression''' reduces the quality of your music but results in much smaller file sizes. Lossy compression is very commonly used, and by choosing a sufficiently high quality setting, many people are unable to tell the difference between the compressed and uncompressed sound. | '''Lossy compression''' reduces the quality of your music but results in much smaller file sizes. Lossy compression is very commonly used, and by choosing a sufficiently high quality setting, many people are unable to tell the difference between the compressed and uncompressed sound. | ||
A '''codec''' (''co''der/''dec''oder) is a piece of software which converts audio from one format to another. Codecs also allow you to play music of a given format on your computer. Some codecs are freely-available, whereas other are patented/proprietary and so must be bought or licensed. By default, Ubuntu only uses free/open codecs such as Vorbis or FLAC, although you can optionally install non-free codecs. See [[UbuntuHelp:FreeFormats|FreeFormats]] and [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] for more information. | |||
A '''codec''' (''co''der/''dec''oder) is a piece of software which converts audio from one format to another. Codecs also allow you to play music of a given format on your computer. Some codecs are freely-available, whereas other are patented/proprietary and so must be bought or licensed. By default, Ubuntu only uses free/open codecs such as | |||
When you rip a CD, each track on the CD is converted to your chosen format and stored as a file on your computer. Because a CD represents a considerable amount of data, all of which must be converted, the ripping process may take a while for your computer to complete. Once a track has been ripped to your computer, you can listen to it using a music player application. | When you rip a CD, each track on the CD is converted to your chosen format and stored as a file on your computer. Because a CD represents a considerable amount of data, all of which must be converted, the ripping process may take a while for your computer to complete. Once a track has been ripped to your computer, you can listen to it using a music player application. | ||
=== Music File Formats === | === Music File Formats === | ||
There are many different file formats available for you to store your music with, and each has its advantages and disadvantages. A small selection of popular formats which can be used with Ubuntu can be found below: | There are many different file formats available for you to store your music with, and each has its advantages and disadvantages. A small selection of popular formats which can be used with Ubuntu can be found below: | ||
* '''Ogg Vorbis''' - A lossy open audio format with excellent support in Ubuntu. See http://vorbis.com/ for more information. | * '''Ogg Vorbis''' - A lossy open audio format with excellent support in Ubuntu. See http://vorbis.com/ for more information. | ||
* '''FLAC''' - A popular lossless open audio format. See http://flac.sourceforge.net/ for more information. | * '''FLAC''' - A popular lossless open audio format. See http://flac.sourceforge.net/ for more information. | ||
* '''MP3''' - The most commonly-used music format, which is supported by most portable music players. MP3 is a patented format. | * '''MP3''' - The most commonly-used music format, which is supported by most portable music players. MP3 is a patented format. | ||
* '''AAC''' - The format used by the popular Apple iPod music players. AAC is a patented format. | * '''AAC''' - The format used by the popular Apple iPod music players. AAC is a patented format. | ||
See [[UbuntuHelp:FreeFormats|FreeFormats]] and [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] for more information. | |||
See FreeFormats and RestrictedFormats for more information. | |||
The format you choose to use will probably depend on your personal preferences, whether you already have music in a specific format and what formats any music players that you own support. | The format you choose to use will probably depend on your personal preferences, whether you already have music in a specific format and what formats any music players that you own support. | ||
=== Song Names and Metadata === | === Song Names and Metadata === | ||
When you rip music onto your computer, additional information (termed ''metadata'' or ''track data'') can be stored about it. Many compressed audio formats support 'tags', which are simply labels that you can apply to your songs to denote their genre, which artist performed the track and so on. Many CD-ripping applications are able to automatically retrieve information such as track and album names from the Internet and automatically apply these to your songs. | When you rip music onto your computer, additional information (termed ''metadata'' or ''track data'') can be stored about it. Many compressed audio formats support 'tags', which are simply labels that you can apply to your songs to denote their genre, which artist performed the track and so on. Many CD-ripping applications are able to automatically retrieve information such as track and album names from the Internet and automatically apply these to your songs. | ||
== Ubuntu Default CD Ripping Software == | == Ubuntu Default CD Ripping Software == | ||
To rip a CD, you will require a suitable CD-ripping application. One is installed by default on Ubuntu, and there are others available through Ubuntu's software channels. | To rip a CD, you will require a suitable CD-ripping application. One is installed by default on Ubuntu, and there are others available through Ubuntu's software channels. | ||
=== Sound Juicer === | === Sound Juicer === | ||
Sound Juicer is Ubuntu's default CD-ripping application, and also has the ability to play your CDs and download track data from the Internet. | Sound Juicer is Ubuntu's default CD-ripping application, and also has the ability to play your CDs and download track data from the Internet. | ||
https://help.ubuntu.com/community/CDRipping?action=AttachFile&do=get&target=sound-juicer.png | |||
To rip a CD using Sound Juicer, simply insert an audio CD; Sound Juicer should start automatically. Alternatively, you can select Sound Juicer from '''Applications --> Sound & Video --> Audio CD Extractor'''. By default, the CD will be encoded into the Ogg``Vorbis format, a [[UbuntuHelp:FreeFormats|Free Format]]. If you wish to rip a CD to a non-free format such as MP3 or AAC, you will need to install some additional software. | |||
To rip a CD using Sound Juicer, simply insert an audio CD; Sound Juicer should start automatically. Alternatively, you can select Sound Juicer from '''Applications --> Sound & Video --> | |||
==== Installing Additional Audio Formats ==== | ==== Installing Additional Audio Formats ==== | ||
This section provides instructions on how to enable support for audio formats not installed by default in Ubuntu. | This section provides instructions on how to enable support for audio formats not installed by default in Ubuntu. | ||
===== MP3 Encoding ===== | ===== MP3 Encoding ===== | ||
'''WARNING:''' the gstreamer LAME plugin, used in the instructions below, is broken and will produce substandard quality MP3s. You can track the bug [https://bugs.launchpad.net/ubuntu/+source/sound-juicer/+bug/195483 here]. If you want to create MP3s, it is recommended not to use Sound Juicer; use a program that doesn't interface with LAME through gstreamer instead. Good examples are [[UbuntuHelp:[RubyRipper|RubyRipper]]] and [[UbuntuHelp:[ABCDE|ABCDE]]]. | |||
| | {|border="1" cellspacing="0" | ||
|https://help.ubuntu.com/community/CDRipping?action=AttachFile&do=get&target=mp3-profile.png | |||
|} | |||
If you live in a country where it is legal to use this format, to encode MP3s, you can use Sound Juicer which uses gstreamer and the LAME mp3 encoder. The following should also work with other programs that use gstreamer: | If you live in a country where it is legal to use this format, to encode MP3s, you can use Sound Juicer which uses gstreamer and the LAME mp3 encoder. The following should also work with other programs that use gstreamer: | ||
<ol><li>[[UbuntuHelp:AddingRepositoriesHowto|Enable the universe and multiverse repositories]]. Then, install the package <code><nowiki>ubuntu-restricted-extras</nowiki></code>. | |||
</li><li>If you now restart Sound Juicer via Applications > Sound & Video > Audio CD Extractor you will find the new audio formats available under Edit > Preferences.</li></ol> | |||
===== AAC Encoding ===== | ===== AAC Encoding ===== | ||
If you live in a country where it is legal to use this format, to encode AAC files, you can use Sound Juicer which uses gstreamer and the FAAC encoder. The following should also work with other programs that use gstreamer: | If you live in a country where it is legal to use this format, to encode AAC files, you can use Sound Juicer which uses gstreamer and the FAAC encoder. The following should also work with other programs that use gstreamer: | ||
<ol><li>[[UbuntuHelp:AddingRepositoriesHowto|Enable the universe and multiverse repositories]]. Then, install the <code><nowiki>gstreamer0.8-faac</nowiki></code> and <code><nowiki>gstreamer0.8-ffmpeg</nowiki></code> packages to encode AAC files, and the <code><nowiki>gstreamer0.8-mad</nowiki></code> package to play them back. | |||
</li><li>Open Sound Juicer, click "Preferences" from the "Edit Menu", click "Edit Profiles" and choose "New". Call your new profile "AAC Encoding", or whatever else you feel like. | |||
</li><li>Edit this profile and set Gstreamerpipeline to <code><nowiki>audio/x-raw-int,rate=44100,channels=2 ! faac ! ffmux_mp4</nowiki></code>. | |||
</li><li>Finally, set File Extension to m4a, click the Active checkbox and then OK. | |||
</li><li>Restart Sound Juicer for the changes to take effect.</li></ol> | |||
For a full explanation of all of the options that faac takes, run <code><nowiki>gst-inspect faac|less</nowiki></code> in the Terminal and look at the end under "Element Properties". | For a full explanation of all of the options that faac takes, run <code><nowiki>gst-inspect faac|less</nowiki></code> in the Terminal and look at the end under "Element Properties". | ||
E.g. to create a low complexity AAC use <code><nowiki>audio/x-raw-int,rate=44100,channels=2 ! faac profile=2 ! ffmux_mp4</nowiki></code> some mobile players better support LC AAC. | |||
== Kubuntu Default CD Ripping Software == | == Kubuntu Default CD Ripping Software == | ||
There are two methods of ripping an Audio CD in a default installation of Kubuntu. One is using Konqueror's '''audiocd:/''' KIO-slave and the other is '''KaudioCreator''' (KMenu->Multimedia->KaudioCreator). On inserting the Audio CD, you should be presented with the KDE Audio CD Daemon asking you what you wish to do. To use the KIO-slave method (which is relatively easier), select the 'Open in a new Window' option. Or, if you prefer using KAudioCreator, select the '''Extract and Encode Audio tracks''' option. | There are two methods of ripping an Audio CD in a default installation of Kubuntu. One is using Konqueror's '''audiocd:/''' KIO-slave and the other is '''KaudioCreator''' (KMenu->Multimedia->KaudioCreator). On inserting the Audio CD, you should be presented with the KDE Audio CD Daemon asking you what you wish to do. To use the KIO-slave method (which is relatively easier), select the 'Open in a new Window' option. Or, if you prefer using KAudioCreator, select the '''Extract and Encode Audio tracks''' option. | ||
=== Using audiocd:/ to rip a CD === | === Using audiocd:/ to rip a CD === | ||
In Konqueror's location bar, type '''audiocd:/''' and press enter. You should now see the tracks in the CD along with folders named Ogg Vorbis, FLAC, MP3 etc. Click on the folder which corresponds to the format in which you wish to encode, eg. Ogg Vorbis. | In Konqueror's location bar, type '''audiocd:/''' and press enter. You should now see the tracks in the CD along with folders named Ogg Vorbis, FLAC, MP3 etc. Click on the folder which corresponds to the format in which you wish to encode, eg. Ogg Vorbis. | ||
https://help.ubuntu.com/community/CDRipping?action=AttachFile&do=get&target=audiocd1.png | |||
Now, copy the tracks that you need from that folder and paste it in the desired location (/home/kubuntu in the example). The tracks are ''automagically'' ripped, encoded and copied to the location you specified! | Now, copy the tracks that you need from that folder and paste it in the desired location (/home/kubuntu in the example). The tracks are ''automagically'' ripped, encoded and copied to the location you specified! | ||
https://help.ubuntu.com/community/CDRipping?action=AttachFile&do=get&target=copying.png | |||
''Note: Copying speeds might not be as fast as those achieved when copying a file directly from the CD as the files are also being ripped and encoded.'' | ''Note: Copying speeds might not be as fast as those achieved when copying a file directly from the CD as the files are also being ripped and encoded.'' | ||
If you wish to modify some of the settings (like editing the tagging sytax or modifying the encoding settings), you can access it either through System Settings (KMenu->System Settings->Sound and Multimedia->Audio CD) or through KDE Control Center (kcontrol). | If you wish to modify some of the settings (like editing the tagging sytax or modifying the encoding settings), you can access it either through System Settings (KMenu->System Settings->Sound and Multimedia->Audio CD) or through KDE Control Center (kcontrol). | ||
https://help.ubuntu.com/community/CDRipping?action=AttachFile&do=get&target=settings1-1.png | |||
=== Using KAudioCreator === | === Using KAudioCreator === | ||
Launch '''KaudioCreator''' (Kmenu->Multimedia->KaudioCreator). It should automatically display the tracks in the disc. You can modify the settings to suit your needs (Settings->Configure KaudioCreator), and also choose an encoder. Click on the '''Rip Selection''' icon to start the Ripping and encoding process. | Launch '''KaudioCreator''' (Kmenu->Multimedia->KaudioCreator). It should automatically display the tracks in the disc. You can modify the settings to suit your needs (Settings->Configure KaudioCreator), and also choose an encoder. Click on the '''Rip Selection''' icon to start the Ripping and encoding process. | ||
=== Installing Additional Audio Formats === | === Installing Additional Audio Formats === | ||
==== MP3 Encoding ==== | ==== MP3 Encoding ==== | ||
MP3 support is not included in Kubuntu by default (see RestrictedFormats for more information). However, if you wish to encode tracks in this format, you will need to install the '''''lame''''' package which can be found in the ''multiverse'' repository (see [[UbuntuHelp:Repositories/Kubuntu|Adding/Enabling Repositories]] for more information). | MP3 support is not included in Kubuntu by default (see [[UbuntuHelp:RestrictedFormats|RestrictedFormats]] for more information). However, if you wish to encode tracks in this format, you will need to install the '''''lame''''' package which can be found in the ''multiverse'' repository (see [[UbuntuHelp:Repositories/Kubuntu|Adding/Enabling Repositories]] for more information). | ||
== Other CD Ripping Software == | == Other CD Ripping Software == | ||
In alphabetical order. | In alphabetical order. | ||
=== ABCDE === | === ABCDE === | ||
Those who want a no-nosense, fast, customizable ripping solution should try [http:// | Those who want a no-nosense, fast, customizable ripping solution should try [http://code.google.com/p/abcde/ ABCDE]. | ||
And example conversion from CD to AAC/MP4: | |||
<pre><nowiki> | |||
abcde -a cddb,read,encode,tag,move,playlist,clean -d /dev/cdrom -o m4a -V -x | |||
</nowiki></pre> | |||
=== Grip === | === Grip === | ||
I have been using [http://nostatic.org/grip/ Grip] | I have been using [http://nostatic.org/grip/ Grip] until Edgy. It's very easy to use but still very configurable. | ||
Note: Grip is no longer supported by its developers, or by Debian or Ubuntu. It has been removed from the repositories in Ubuntu 9.10. | |||
=== Ripper X === | |||
To install: | |||
<pre><nowiki> | |||
sudo apt-get install ripperx | |||
</nowiki></pre> | |||
=== RubyRipper === | === RubyRipper === | ||
[http://wiki.hydrogenaudio.org/index.php?title=Rubyripper RubyRipper] has been recommended in many forum threads and seems to be one of Linux's best ripping solutions. Also, many feel the closest to EAC in quality of rips. | [http://wiki.hydrogenaudio.org/index.php?title=Rubyripper RubyRipper] has been recommended in many forum threads and seems to be one of Linux's best ripping solutions. Also, many feel the closest to EAC in quality of rips. | ||
[http://wiki.hydrogenaudio.org/index.php?title=Rubyripper RubyRipper] is not included in the default Ubuntu install and is not included in any of the repositories. Fortunately there is a DEB package available. | |||
[http://wiki.hydrogenaudio.org/index.php?title=Rubyripper RubyRipper] is not included in the default Ubuntu install and is not included in any of the repositories. | |||
To install: | To install: | ||
<ol><li>Install dependencies by typing in the terminal:<pre><nowiki> | |||
sudo apt-get install cd-discid cdparanoia flac lame mp3gain normalize-audio ruby-gnome2 ruby vorbisgain</nowiki></pre> | |||
</li><li>Download the DEB package from [http://linux.softpedia.com/progDownload/Rubyripper-Download-20741.html here] and follow the instructions.</li></ol> | |||
== Additional Resources == | == Additional Resources == | ||
* Comparison of popular audio codecs - http://www.xiph.org/vorbis/listen.html | * Comparison of popular audio codecs - http://www.xiph.org/vorbis/listen.html | ||
* Creative Commons audio search - http://creativecommons.org/find/ | * Creative Commons audio search - http://creativecommons.org/find/ |
2010年5月19日 (三) 21:52的最新版本
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/CDRipping }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/af | • {{#if: UbuntuHelp:CDRipping|Afrikaans| [[::CDRipping/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ar | • {{#if: UbuntuHelp:CDRipping|العربية| [[::CDRipping/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/az | • {{#if: UbuntuHelp:CDRipping|azərbaycanca| [[::CDRipping/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/bcc | • {{#if: UbuntuHelp:CDRipping|جهلسری بلوچی| [[::CDRipping/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/bg | • {{#if: UbuntuHelp:CDRipping|български| [[::CDRipping/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/br | • {{#if: UbuntuHelp:CDRipping|brezhoneg| [[::CDRipping/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ca | • {{#if: UbuntuHelp:CDRipping|català| [[::CDRipping/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/cs | • {{#if: UbuntuHelp:CDRipping|čeština| [[::CDRipping/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/de | • {{#if: UbuntuHelp:CDRipping|Deutsch| [[::CDRipping/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/el | • {{#if: UbuntuHelp:CDRipping|Ελληνικά| [[::CDRipping/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/es | • {{#if: UbuntuHelp:CDRipping|español| [[::CDRipping/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/fa | • {{#if: UbuntuHelp:CDRipping|فارسی| [[::CDRipping/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/fi | • {{#if: UbuntuHelp:CDRipping|suomi| [[::CDRipping/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/fr | • {{#if: UbuntuHelp:CDRipping|français| [[::CDRipping/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/gu | • {{#if: UbuntuHelp:CDRipping|ગુજરાતી| [[::CDRipping/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/he | • {{#if: UbuntuHelp:CDRipping|עברית| [[::CDRipping/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/hu | • {{#if: UbuntuHelp:CDRipping|magyar| [[::CDRipping/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/id | • {{#if: UbuntuHelp:CDRipping|Bahasa Indonesia| [[::CDRipping/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/it | • {{#if: UbuntuHelp:CDRipping|italiano| [[::CDRipping/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ja | • {{#if: UbuntuHelp:CDRipping|日本語| [[::CDRipping/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ko | • {{#if: UbuntuHelp:CDRipping|한국어| [[::CDRipping/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ksh | • {{#if: UbuntuHelp:CDRipping|Ripoarisch| [[::CDRipping/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/mr | • {{#if: UbuntuHelp:CDRipping|मराठी| [[::CDRipping/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ms | • {{#if: UbuntuHelp:CDRipping|Bahasa Melayu| [[::CDRipping/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/nl | • {{#if: UbuntuHelp:CDRipping|Nederlands| [[::CDRipping/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/no | • {{#if: UbuntuHelp:CDRipping|norsk| [[::CDRipping/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/oc | • {{#if: UbuntuHelp:CDRipping|occitan| [[::CDRipping/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/pl | • {{#if: UbuntuHelp:CDRipping|polski| [[::CDRipping/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/pt | • {{#if: UbuntuHelp:CDRipping|português| [[::CDRipping/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ro | • {{#if: UbuntuHelp:CDRipping|română| [[::CDRipping/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/ru | • {{#if: UbuntuHelp:CDRipping|русский| [[::CDRipping/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/si | • {{#if: UbuntuHelp:CDRipping|සිංහල| [[::CDRipping/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/sq | • {{#if: UbuntuHelp:CDRipping|shqip| [[::CDRipping/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/sr | • {{#if: UbuntuHelp:CDRipping|српски / srpski| [[::CDRipping/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/sv | • {{#if: UbuntuHelp:CDRipping|svenska| [[::CDRipping/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/th | • {{#if: UbuntuHelp:CDRipping|ไทย| [[::CDRipping/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/tr | • {{#if: UbuntuHelp:CDRipping|Türkçe| [[::CDRipping/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/vi | • {{#if: UbuntuHelp:CDRipping|Tiếng Việt| [[::CDRipping/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/yue | • {{#if: UbuntuHelp:CDRipping|粵語| [[::CDRipping/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/zh | • {{#if: UbuntuHelp:CDRipping|中文| [[::CDRipping/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/zh-hans | • {{#if: UbuntuHelp:CDRipping|中文(简体)| [[::CDRipping/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:CDRipping | UbuntuHelp:CDRipping | {{#if: | :}}CDRipping}}/zh-hant | • {{#if: UbuntuHelp:CDRipping|中文(繁體)| [[::CDRipping/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:CDRipping|:CDRipping|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :CDRipping/zh | | {{#ifexist: CDRipping/zh | | {{#ifeq: {{#titleparts:CDRipping|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:CDRipping|1|-1|}} | zh | | }}
"Ripping" is the process of taking a CD and copying tracks from it onto your computer or portable music player. CD ripping is sometimes called 'CD extraction'.
CD Ripping Basics
This section provides a brief overview of how CD ripping works and the various options available to you when ripping your CDs.
How It Works
Music on a CD is stored in an uncompressed format. This means that while the sound quality of a CD is very high, a large amount of storage space is required for only a few tracks. A 700MB CD can store only 80 minutes of uncompressed music, and copying uncompressed music to your computer's hard drive will take up a great deal of storage capacity. It is possible to compress music so that it takes up much less space, making it more suitable for storing on a computer or portable music player. The method used to compress the music affects the quality and size of the resulting music file on your computer. In general, the smaller you make the file, the poorer quality the music will be. Lossless compression is a way of reducing the size of a music file without any loss in quality. However, the resultant files still tend to be quite large. Lossy compression reduces the quality of your music but results in much smaller file sizes. Lossy compression is very commonly used, and by choosing a sufficiently high quality setting, many people are unable to tell the difference between the compressed and uncompressed sound. A codec (coder/decoder) is a piece of software which converts audio from one format to another. Codecs also allow you to play music of a given format on your computer. Some codecs are freely-available, whereas other are patented/proprietary and so must be bought or licensed. By default, Ubuntu only uses free/open codecs such as Vorbis or FLAC, although you can optionally install non-free codecs. See FreeFormats and RestrictedFormats for more information. When you rip a CD, each track on the CD is converted to your chosen format and stored as a file on your computer. Because a CD represents a considerable amount of data, all of which must be converted, the ripping process may take a while for your computer to complete. Once a track has been ripped to your computer, you can listen to it using a music player application.
Music File Formats
There are many different file formats available for you to store your music with, and each has its advantages and disadvantages. A small selection of popular formats which can be used with Ubuntu can be found below:
- Ogg Vorbis - A lossy open audio format with excellent support in Ubuntu. See http://vorbis.com/ for more information.
- FLAC - A popular lossless open audio format. See http://flac.sourceforge.net/ for more information.
- MP3 - The most commonly-used music format, which is supported by most portable music players. MP3 is a patented format.
- AAC - The format used by the popular Apple iPod music players. AAC is a patented format.
See FreeFormats and RestrictedFormats for more information. The format you choose to use will probably depend on your personal preferences, whether you already have music in a specific format and what formats any music players that you own support.
Song Names and Metadata
When you rip music onto your computer, additional information (termed metadata or track data) can be stored about it. Many compressed audio formats support 'tags', which are simply labels that you can apply to your songs to denote their genre, which artist performed the track and so on. Many CD-ripping applications are able to automatically retrieve information such as track and album names from the Internet and automatically apply these to your songs.
Ubuntu Default CD Ripping Software
To rip a CD, you will require a suitable CD-ripping application. One is installed by default on Ubuntu, and there are others available through Ubuntu's software channels.
Sound Juicer
Sound Juicer is Ubuntu's default CD-ripping application, and also has the ability to play your CDs and download track data from the Internet. To rip a CD using Sound Juicer, simply insert an audio CD; Sound Juicer should start automatically. Alternatively, you can select Sound Juicer from Applications --> Sound & Video --> Audio CD Extractor. By default, the CD will be encoded into the Ogg``Vorbis format, a Free Format. If you wish to rip a CD to a non-free format such as MP3 or AAC, you will need to install some additional software.
Installing Additional Audio Formats
This section provides instructions on how to enable support for audio formats not installed by default in Ubuntu.
MP3 Encoding
WARNING: the gstreamer LAME plugin, used in the instructions below, is broken and will produce substandard quality MP3s. You can track the bug here. If you want to create MP3s, it is recommended not to use Sound Juicer; use a program that doesn't interface with LAME through gstreamer instead. Good examples are [[UbuntuHelp:[RubyRipper|RubyRipper]]] and [[UbuntuHelp:[ABCDE|ABCDE]]].
If you live in a country where it is legal to use this format, to encode MP3s, you can use Sound Juicer which uses gstreamer and the LAME mp3 encoder. The following should also work with other programs that use gstreamer:
- Enable the universe and multiverse repositories. Then, install the package
ubuntu-restricted-extras
. - If you now restart Sound Juicer via Applications > Sound & Video > Audio CD Extractor you will find the new audio formats available under Edit > Preferences.
AAC Encoding
If you live in a country where it is legal to use this format, to encode AAC files, you can use Sound Juicer which uses gstreamer and the FAAC encoder. The following should also work with other programs that use gstreamer:
- Enable the universe and multiverse repositories. Then, install the
gstreamer0.8-faac
andgstreamer0.8-ffmpeg
packages to encode AAC files, and thegstreamer0.8-mad
package to play them back. - Open Sound Juicer, click "Preferences" from the "Edit Menu", click "Edit Profiles" and choose "New". Call your new profile "AAC Encoding", or whatever else you feel like.
- Edit this profile and set Gstreamerpipeline to
audio/x-raw-int,rate=44100,channels=2 ! faac ! ffmux_mp4
. - Finally, set File Extension to m4a, click the Active checkbox and then OK.
- Restart Sound Juicer for the changes to take effect.
For a full explanation of all of the options that faac takes, run gst-inspect faac|less
in the Terminal and look at the end under "Element Properties".
E.g. to create a low complexity AAC use audio/x-raw-int,rate=44100,channels=2 ! faac profile=2 ! ffmux_mp4
some mobile players better support LC AAC.
Kubuntu Default CD Ripping Software
There are two methods of ripping an Audio CD in a default installation of Kubuntu. One is using Konqueror's audiocd:/ KIO-slave and the other is KaudioCreator (KMenu->Multimedia->KaudioCreator). On inserting the Audio CD, you should be presented with the KDE Audio CD Daemon asking you what you wish to do. To use the KIO-slave method (which is relatively easier), select the 'Open in a new Window' option. Or, if you prefer using KAudioCreator, select the Extract and Encode Audio tracks option.
Using audiocd:/ to rip a CD
In Konqueror's location bar, type audiocd:/ and press enter. You should now see the tracks in the CD along with folders named Ogg Vorbis, FLAC, MP3 etc. Click on the folder which corresponds to the format in which you wish to encode, eg. Ogg Vorbis. Now, copy the tracks that you need from that folder and paste it in the desired location (/home/kubuntu in the example). The tracks are automagically ripped, encoded and copied to the location you specified! Note: Copying speeds might not be as fast as those achieved when copying a file directly from the CD as the files are also being ripped and encoded. If you wish to modify some of the settings (like editing the tagging sytax or modifying the encoding settings), you can access it either through System Settings (KMenu->System Settings->Sound and Multimedia->Audio CD) or through KDE Control Center (kcontrol).
Using KAudioCreator
Launch KaudioCreator (Kmenu->Multimedia->KaudioCreator). It should automatically display the tracks in the disc. You can modify the settings to suit your needs (Settings->Configure KaudioCreator), and also choose an encoder. Click on the Rip Selection icon to start the Ripping and encoding process.
Installing Additional Audio Formats
MP3 Encoding
MP3 support is not included in Kubuntu by default (see RestrictedFormats for more information). However, if you wish to encode tracks in this format, you will need to install the lame package which can be found in the multiverse repository (see Adding/Enabling Repositories for more information).
Other CD Ripping Software
In alphabetical order.
ABCDE
Those who want a no-nosense, fast, customizable ripping solution should try ABCDE. And example conversion from CD to AAC/MP4:
abcde -a cddb,read,encode,tag,move,playlist,clean -d /dev/cdrom -o m4a -V -x
Grip
I have been using Grip until Edgy. It's very easy to use but still very configurable. Note: Grip is no longer supported by its developers, or by Debian or Ubuntu. It has been removed from the repositories in Ubuntu 9.10.
Ripper X
To install:
sudo apt-get install ripperx
RubyRipper
RubyRipper has been recommended in many forum threads and seems to be one of Linux's best ripping solutions. Also, many feel the closest to EAC in quality of rips. RubyRipper is not included in the default Ubuntu install and is not included in any of the repositories. Fortunately there is a DEB package available. To install:
- Install dependencies by typing in the terminal:
sudo apt-get install cd-discid cdparanoia flac lame mp3gain normalize-audio ruby-gnome2 ruby vorbisgain
- Download the DEB package from here and follow the instructions.
Additional Resources
- Comparison of popular audio codecs - http://www.xiph.org/vorbis/listen.html
- Creative Commons audio search - http://creativecommons.org/find/
- Wikipedia article on ripping - http://en.wikipedia.org/wiki/Cd_ripping