<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-20612474</id><updated>2011-04-22T05:50:16.160+07:00</updated><title type='text'>Pongtawat</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://pongtawat.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20612474/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://pongtawat.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Pongtawat</name><uri>http://www.blogger.com/profile/00942977105656177908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-20612474.post-113781212098818559</id><published>2006-01-21T08:41:00.000+07:00</published><updated>2006-01-21T10:50:49.540+07:00</updated><title type='text'>High Quality MP3 Ripping with Sound Juicer</title><content type='html'>If you search around for a method to enable MP3 ripping with Sound Juicer on Ubuntu, you will end up with a method to install &lt;span style="font-style: italic;"&gt;gstreamer-lame&lt;/span&gt; and  add MP3 profile to Sound Juicer's output profile (&lt;span style="font-style: italic;"&gt;gnome-audio-profiles-properties&lt;/span&gt;) with the following GStreamer pipeline:&lt;br /&gt;&lt;br /&gt;audio/x-raw-int,rate=44100,channels=2 ! lame name=enc&lt;br /&gt;&lt;br /&gt;With this pipeline, LAME is set to encode MP3 at 128kbps CBR which is most portable but not very high quality.&lt;br /&gt;&lt;br /&gt;After searching for a method to adjust encoding quality, I found another option:&lt;br /&gt;&lt;br /&gt;audio/x-raw-int,rate=44100,channels=2 ! lame name=enc preset=standard&lt;br /&gt;&lt;br /&gt;This one set LAME to standard preset profile. But there is no explaination on what standard preset is and how can I control the bitrate and other options. But most importantly, this option&lt;br /&gt;After some more research, I found &lt;span style="font-style: italic;"&gt;gst-inspect&lt;/span&gt; which could be used to inspect GStreamper plugins/elements properties. By "&lt;span style="font-style: italic;"&gt;gst-inspect lame&lt;/span&gt;" I now know that I could set the quality by using option &lt;span style="font-style: italic;"&gt;vbr-quality&lt;/span&gt;. Thus, now my pipeline is the following:&lt;br /&gt;&lt;br /&gt;audio/x-raw-int,rate=44100,channels=2 ! lame name=enc vbr=4 vbr-quality=2 vbr-min-bitrate=128 quality=2&lt;br /&gt;&lt;br /&gt;"vbr=4" tell LAME to use new VBR algorithm, "vbr-quality=2" set the quality level to 2 (0 is best) which give average bitrate around 190kbps, "vbr-min-birate=128" tell LAME not to use bitrate below 128kbps. Note that bitrate for silence sound can be lower than this vlaue. If you want a hard minimum, use "vbr-hard-min" instead. The option "quality=2" tell LAME to optimize internal algorithm for good quality (default is "quality=5"). "quality=0" is best, but it is very slow. FYI, vbr-quality=3 and lower is considered high quality and transparent for most listeners. The previously mentioned "present=standard" option is equilent to "&lt;span style="font-style: italic;"&gt;vbr=2 vbr-quality=2&lt;/span&gt;".&lt;br /&gt;&lt;br /&gt;There are many more options to play around with. Please see "&lt;span style="font-style: italic;"&gt;gst-inspect lame&lt;/span&gt;" for options details. For a good explanation of &lt;a href="http://wiki.hydrogenaudio.org/index.php?title=LAME"&gt;LAME encoder setting&lt;/a&gt;, please see the article on &lt;a href="http://wiki.hydrogenaudio.org/index.php?title=LAME"&gt;hydrogenaudio.org&lt;/a&gt;. You may also read &lt;a href="http://lame.sourceforge.net/USAGE"&gt;LAME Usage Manual&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Another good tweak is setting how Sound Juicer read audio CD. Normally, Sound Juicer use CD Paranoia to read CD at paranoid mode 4, i.e. using "cdda2wav-style overlap checking". For high quality CD ripping, one usually wants full paranoid mode. This can be done by setting "apps/sound-juicer/paranoia" in GConf, via Configuration Editor, to value "255" which mean "full paranoia" mode. Again, I get this number from "gst-inspect cdparanoia" :)  Using full paranoid mode is considerbly slower but hopefully will give higher quality results.&lt;br /&gt;&lt;br /&gt;Keywords: mp3, cd ripping, audio, linux&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/20612474-113781212098818559?l=pongtawat.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://pongtawat.blogspot.com/feeds/113781212098818559/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=20612474&amp;postID=113781212098818559' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/20612474/posts/default/113781212098818559'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/20612474/posts/default/113781212098818559'/><link rel='alternate' type='text/html' href='http://pongtawat.blogspot.com/2006/01/high-quality-mp3-ripping-with-sound.html' title='High Quality MP3 Ripping with Sound Juicer'/><author><name>Pongtawat</name><uri>http://www.blogger.com/profile/00942977105656177908</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry></feed>
