<?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>Steve's Software Trek &#187; Music</title>
	<atom:link href="http://steve.kargs.net/category/music/feed/" rel="self" type="application/rss+xml" />
	<link>http://steve.kargs.net</link>
	<description>Open Source Software Haven</description>
	<lastBuildDate>Fri, 09 Dec 2011 15:49:46 +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>Convert to MP3 Konqueror Service Menu</title>
		<link>http://steve.kargs.net/linux/convert-to-mp3-konqueror-service-menu/</link>
		<comments>http://steve.kargs.net/linux/convert-to-mp3-konqueror-service-menu/#comments</comments>
		<pubDate>Tue, 05 Aug 2008 13:17:22 +0000</pubDate>
		<dc:creator>skarg</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Music]]></category>

		<guid isPermaLink="false">http://steve.kargs.net/?p=110</guid>
		<description><![CDATA[I wanted an easy way to convert music to MP3 from various formats under Konqueror in KDE on Kubuntu Linux.  I found an interesting post about creating a KDE Service Menu which got me started in the right direction.  However, I didn&#8217;t like the way ffmpeg converted to 64kbps MP3 quality and the bad sounding [...]]]></description>
			<content:encoded><![CDATA[<p>I wanted an easy way to convert music to MP3 from various formats under Konqueror in KDE on Kubuntu Linux.  I found an <a href="http://ubuntuforums.org/showthread.php?t=684029" target="_blank">interesting post about creating a KDE Service Menu</a> which got me started in the right direction.  However, I didn&#8217;t like the way <a href="http://ffmpeg.mplayerhq.hu/" target="_blank">ffmpeg</a> converted to 64kbps MP3 quality and the bad sounding results regardless of the bitrate settings that I chose.  I tried <a href="http://lame.sourceforge.net/" target="_blank">lame</a>, and was quite pleased with the results.  I also didn&#8217;t like the way the service menu used the entire filename without stripping the dotted extension, so I copied another service menu <a href="http://groups.google.co.th/group/alt.comp.lang.perl/browse_thread/thread/dc04e1d8bd91bb35" target="_blank">perl example</a>.  My &#8220;Convert to MP3&#8243; service menu script goes into the following location:</p>
<pre>/usr/share/apps/konqueror/servicemenus/</pre>
<p>File <a href="http://steve.kargs.net/wp-content/uploads/2008/08/convert_mp3.desktop">convertmp3.desktop</a>:</p>
<pre>[Desktop Entry]
ServiceTypes=audio/*
Actions=convertToMP3

[Desktop Action convertToMP3]
Name=Convert to MP3
Exec=lame -V2 %f "`echo %f | perl -pe 's/\.[^.]+$//'`.mp3"</pre>
<p>Enjoy!</p>
]]></content:encoded>
			<wfw:commentRss>http://steve.kargs.net/linux/convert-to-mp3-konqueror-service-menu/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

