分页: 1 / 2

CDRipping

发表于 : 2005-09-07 22:51
oneleaf
"Ripping" a cd is to take the cd and re-encode it in another format, usually Ogg vorbis, mp3 or AAC.
Hoary Hedgehog

To rip a cd into Ogg, simply open Sound Juicer from Applications--> Sound & Video --> Sound Juicer CD Ripper and extract it.
Mp3 Encoding

To encode MP3s, you can use Sound Juicer (installed by default) which uses gstreamer and the LAME mp3 encoder. The following should also work with other programs that use gstreamer:

First, install the gstreamer0.8-lame package (available in the HOARY-EXTRAS repository). Create a new profile in gnome-audio-profiles-properties. Edit this profile and set Gstreamerpipeline to audio/x-raw-int,rate=44100,channels=2 ! lame name=enc. Optionally, you can add bitrate=<some bitrate> to the end of this line if you want a specific (constant) bitrate other than the default of 128. Finally, set File Extension to mp3, click the Active checkbox and then OK.

Before the first use of Sound Juicer, launch the command gst-register-0.8. Now, you should be able to rip MP3s.
Creating a new profile

To have a look on all settings available for mp3 you can use Gstreamer Pipeline Editor or simply run gst-inspect-0.8 lame in terminal.

After installing gstreamer pipline editor, run it from the programming menu. From the Utility Palette window select Codec->Encoder->Audio->lame and look at all the properties you can select in the Properties window (you may need to enable it from the View menu item if it is not visible).

Executing gst-inspect-0.8 in your terminal, all lame-options are listed with an short description and available values.

With your optionlist on hand, you can now launch the command gnome-audio-profiles-properties and create a new profile. Enter any options as listed in Gstreamer Pipeline Editor or gst-inspect-0.8 into the pipeline key of your profile as shown below:

Profilename: New MP3 Profile
Description: As You like
Gstreamerpipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc OPTION_1=VALUE_1 ...
Fileext: mp3

For example you could create this profile with VBR-New using default quality:

Profilename: VBR-New-Profile with default quality
Description: As You like
Gstreamerpipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=4 vbr-quality=5
Fileext: mp3

Remember to run gst-register-0.8 before running Sound Juicer to get the created/changed profile!



https://wiki.ubuntu.com/CDRipping

发表于 : 2005-09-10 13:15
millenniumdark
cd抓取

发表于 : 2005-09-10 13:18
millenniumdark
抓取cd意思是复制cd的内容,并以其他格式重新编码,通常是Ogg vorbis, mp3 或 AAC。
作者:Hoary Hedgehog
译者:Jonah.Simon

发表于 : 2005-09-10 13:22
millenniumdark
将cd抓取为Ogg,只需从Applications--> Sound & Video --> Sound Juicer CD Ripper打开Sound Juicer,然后extract即可。

发表于 : 2005-09-10 13:27
millenniumdark
mp3编码

发表于 : 2005-09-10 13:30
millenniumdark
要转成MP3,你可以使用Sound Juicer(默认安装),这使用gstreamer和LAME mp3 encoder。下面的说明对其他使用gstreamer的程序应该同样适用:

发表于 : 2005-09-10 13:42
millenniumdark
首先,安装gstreamer0.8-lame包(在HOARY-EXTRAS仓里有)。从gnome-audio-profiles-properties建立一个新的配置文件。编辑该配置
文件,将Gstreamerpipeline设置为audio/x-raw-int,channels=2 ! lame name=enc.如果你不想使用默认的128比特率,而想持续使用某
一特定比特率,你可以在上述行的末尾加上bitrate=<某某比特率>。最后,将文件扩展名设为mp3,点击Active确认按钮就行了。

发表于 : 2005-09-10 13:45
millenniumdark
在初次使用Sound Juicer之前,运行命令gst-register-0.8。现在该可以抓取MP3了。

发表于 : 2005-09-10 13:46
millenniumdark
建立新配置文件

发表于 : 2005-09-10 13:49
millenniumdark
你可以使用Gstreamer Pipeline Editor或者在终端下运行gst-inspect-0.8来查看适用于mp3的所有设置。

发表于 : 2005-09-10 13:56
millenniumdark
安装 gstreamer pipline editor之后,从programming菜单运行它。从Utility Palette窗口选择Codec->Encoder->Audio->lame,察看
你能在Properties窗口选择的所有属性(如果看不到Properties窗口,你需要从View菜单设置,使其显示)。

发表于 : 2005-09-10 13:59
millenniumdark
在你的终端下执行gst-inspect-0.8,将列出所有lame选项,以及相应的简短说明和可取值。

发表于 : 2005-09-10 14:02
millenniumdark
有你的选项列表在手边,你可以运行命令gnome-audio-profiles-properties,建立一个新配置文件。

Profilename: New MP3 Profile
Description: 随你
Gstreamerpipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc OPTION_1=VALUE_1 ...
Fileext: mp3

发表于 : 2005-09-10 14:18
millenniumdark
例如:你可以建立这样一个使用默认品质的VBR-New配置文件:

Profilename: VBR-New-Profile with default quality
Description: 随你
Gstreamerpipeline: audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=4 vbr-quality=5
Fileext: mp3

发表于 : 2005-09-10 14:18
millenniumdark
别忘了在运行Sound Juicer前运行gst-register-0.8,以便获得新建/修正的配置文件!