<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>therning.org/ magnus &#187; gstreamer</title>
	<atom:link href="http://therning.org/magnus/archives/tag/gstreamer/feed" rel="self" type="application/rss+xml" />
	<link>http://therning.org/magnus</link>
	<description>Incoherent mumblings</description>
	<lastBuildDate>Mon, 09 Apr 2012 20:24:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Using GStreamer to turn VBR to CBR</title>
		<link>http://therning.org/magnus/archives/124</link>
		<comments>http://therning.org/magnus/archives/124#comments</comments>
		<pubDate>Sun, 30 Apr 2006 19:05:38 +0000</pubDate>
		<dc:creator>Magnus</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[audio webcasts]]></category>
		<category><![CDATA[bitrate]]></category>
		<category><![CDATA[gstreamer]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false">http://therning.org/magnus/archives/124</guid>
		<description><![CDATA[I&#8217;ve been listening to a few episodes of LugRadio and I&#8217;ve found them very enjoying so far. What I haven&#8217;t enjoyed so much though is my silly MP3 player. The episodes are recorded in variable bit rate (VBR) and my player is utterly pants with handling that&#8211;I can&#8217;t rely on the timer, I can&#8217;t see [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been listening to a few episodes of <a href="http://www.lugradio.org/">LugRadio</a> and I&#8217;ve found them very enjoying so far. What I haven&#8217;t enjoyed so much though is my silly MP3 player. The episodes are recorded in variable bit rate (VBR) and my player is utterly pants with handling that&#8211;I can&#8217;t rely on the timer, I can&#8217;t see the total length of a track and I can&#8217;t fast forward. Add to this that the bloody thing doesn&#8217;t remember its position within a track and it&#8217;s obvious just how much pain it&#8217;s bringing me at the moment. In a relatively recent episode someone mentioned <a href="http://gnormalize.sourceforge.net/">gnormalize</a> to turn it into a constant bit rate (CBR) MP3. Just too bad that gnormalize isn&#8217;t available as a Debian package.</p>

<p>&#8220;Why have an entire program written for something that should be simple to do on the commandline using <a href="http://gstreamer.org/">GStreamer</a>?&#8221;</p>

<p>Well, here&#8217;s the command line that recodes an MP3 (no matter what bit rate it has) to an MP3 with a CBR of 96:</p>

<pre><code>gst-launch-0.8 filesrc location=lugradio.mp3 ! mad \
! lame bitrate=96 ! filesink location=lugradio_cbr.mp3
</code></pre>

<p>Now using my player is slightly less painful <img src='http://therning.org/magnus/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Ftherning.org%2Fmagnus%2Farchives%2F124&amp;title=Using%20GStreamer%20to%20turn%20VBR%20to%20CBR" id="wpa2a_2">Share/Bookmark</a></p>]]></content:encoded>
			<wfw:commentRss>http://therning.org/magnus/archives/124/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

