<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; mp3 conversion</title> <atom:link href="http://www.ghacks.net/tag/mp3-conversion/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 17:32:23 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Covert .mp3 to .wav and .ogg from command</title><link>http://www.ghacks.net/2010/02/05/covert-mp3-to-wav-and-ogg-from-command/</link> <comments>http://www.ghacks.net/2010/02/05/covert-mp3-to-wav-and-ogg-from-command/#comments</comments> <pubDate>Fri, 05 Feb 2010 13:18:28 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Music and Video]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[mp3]]></category> <category><![CDATA[mp3 conversion]]></category> <category><![CDATA[mp3 encoding]]></category> <category><![CDATA[ogg]]></category> <category><![CDATA[ogg vorbis]]></category> <category><![CDATA[wav]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=22829</guid> <description><![CDATA[I have a ton of various music files on my machine that are in various states of migrating from .mp3 to different formats. The primary reason for this is because of the issue of licensing between Linux and the MP3 format. And although there are GUI tools to do nearly every job you need, there [...]]]></description> <content:encoded><![CDATA[<p>I have a ton of various music files on my machine that are in various states of migrating from .mp3 to different formats. The primary reason for this is because of the issue of licensing between Linux and the MP3 format. And although there are GUI tools to do nearly every job you need, there are times when the command line is still your friend. For instance, say you want to do batch jobs &#8211; the command line is good for this. Or say you want to (for whatever reason) secure shell into a remote machine and then convert your files. For whatever reason you need, it&#8217;s good to know that the tools are available for the job.</p><p>The tools I am talking about are <em><a
title="mpg123" href="http://www.mpg123.de/" target="_blank">mpg123</a> </em>and <em><a
title="mpg321" href="http://mpg321.sourceforge.net/" target="_blank">mpg321</a></em>. Although mpg321 claims to be a drop-in replacement for mpg123, I still prefer to use both tools (the former for converting .mp3 to .wav and the latter for converting .mp3 to .ogg). And in this article you will see how simple it is (using the command line) to convert these file types.</p><p><span
id="more-22829"></span><strong>Installation</strong></p><p>Since we will be using the command line for the conversion, we&#8217;ll install the tools from the command line. The distribution I am using for example is based on the recent, stable Debian. You will not need to add any repositories to your <strong>/etc/apt/sources.list</strong> file, because all of the tools are found on the standard repositories. To install these tools, follow these steps:</p><ol><li>Open up a terminal window.</li><li>If needed, <em>su</em> to root (if you use <em>sudo</em> in place of root, just add <em>sudo</em> to the beginning of the installation commands below).</li><li>Issue the command <em>apt-get install mpg123 mpg321 vorbis-tools</em></li></ol><p>That&#8217;s it. Now let&#8217;s take a look at how the tools are used.</p><p><strong>Convert .mp3 to .wav</strong></p><p>The first conversion is to .wav. Why use .wav? First and foremost, the .wav file is not compressed and is lossless, so the sound is better. The only downfall is that the files are much bigger. So, if you have a particular file and you want to retain as much quality as you can, .wav is the format to use. Of course, in this instance we are converting a lossy file type (.mp3) so there is already diminished sound quality. But why diminish it further? To make this conversion, the command looks like this:</p><p><em>mpg123 -w output_file.wav input_file.mp3</em></p><p>Where <em>output_file</em> is the name of the .wav file that will be converted from the mp3 file named <em>input_file. </em>So let&#8217;s say you want to convert the file Rush_Tom_Sawyer.mp3 to .wav. That command would look like:</p><p><em>mpg123 -w Rush_Tom_Sawyer.wav Rush_Tom_Sawyer.mp3</em></p><p><em></em><strong>Convert .mp3 to .ogg</strong></p><p>The .ogg format is the open source equivalent to .mp3 and is supported by many players. The .ogg format is a good format to use when creating &#8220;mix cd&#8217;s&#8221; (I&#8217;m old, I still want to say &#8220;mix tapes&#8221;), because you can fit more files per CD than if you were using the .wav format. But to convert the .mp3 to .ogg the command looks like:</p><p><em>mpg321 Input_File.mp3 -w raw &amp;&amp; oggenc raw -o Output_file.ogg</em></p><p>Let&#8217;s examine the same file we converted to .wav above. The command to convert to .ogg from .mp3 would look like:</p><p><em>mpg321 Rush_Tom_Sawyer.mp3 -w raw &amp;&amp; oggenc raw -o Rush_Tom_Sawyer.ogg</em></p><p><em><span
style="font-style: normal">Easy right?</span></em></p><p><em><span
style="font-style: normal"><strong>Final thoughts</strong></span></em></p><p><em><span
style="font-style: normal">Now you can get crafty and create batch scripts that will allow you to do batch conversions. Naturally many will think &#8220;Why would I go through that, when I can just download a handy GUI tool like Soundconverter to do the job? Why? Because it&#8217;s always smart to have the command line option around. One day you might need it. </span></em></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/02/05/covert-mp3-to-wav-and-ogg-from-command/feed/</wfw:commentRss> <slash:comments>40</slash:comments> </item> <item><title>Convert various media formats to Vorbis in Linux</title><link>http://www.ghacks.net/2009/08/31/convert-various-media-formats-to-vorbis-in-linux/</link> <comments>http://www.ghacks.net/2009/08/31/convert-various-media-formats-to-vorbis-in-linux/#comments</comments> <pubDate>Mon, 31 Aug 2009 18:45:20 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Advice]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Music and Video]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[audio conversion]]></category> <category><![CDATA[mp3 conversion]]></category> <category><![CDATA[mp3 to ogg conversion]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=15878</guid> <description><![CDATA[Over the past month I have made it my goal to stop using the proprietary MP3 format for audio in favor of the free, open standard Ogg Vorbis format. The primary reasons for doing this is 1) Modern Linux distributions do not ship with mp3 support built in (due to licensing constraints) and 2) My [...]]]></description> <content:encoded><![CDATA[<p>Over the past month I have made it my goal to stop using the proprietary MP3 format for audio in favor of the free, open standard Ogg Vorbis format. The primary reasons for doing this is 1) Modern Linux distributions do not ship with mp3 support built in (due to licensing constraints) and 2) My Sanza Fuze supports ogg format. Add these two elements the fact that ripping a CD into ogg format is far faster than ripping it into mp3 format, and you can see why I would choose to migrate to ogg.</p><p>Now the problem lies in the fact that I have a fairly large collection of music files that are all in mp3 format. Having to convert 5,000+ files, one by one, via command line would cause even me to pull out my hair. So I decided it was time to search for a tool that would handle the conversion for me. The criteria for this conversion was that the tool had to be easily installed and easily used. My goal is to try to convince new users to shy away from either DRM formats or closed formats. And we all know, when dealing with new users, the easier the better. And so with that in mind, my hunt for the perfect tool landed me with <a
title="Sound Converter" href="http://soundconverter.berlios.de/" target="_blank">Sound Converter</a>.</p><p><span
id="more-15878"></span>Sound Converter is a GNOME-based conversion tool that can read anything the GStreamer library can read, which includes:</p><ul><li>Ogg Vorbis</li><li>AAC</li><li>MP3</li><li>FLAC</li><li>WAV</li><li>AVI</li><li>MPEG</li><li>MOV</li><li>M4A</li><li>AC3</li><li>DTS</li><li>ALAC</li><li>MPC</li></ul><p>Once read, Sound Converter can then convert the file into:</p><ul><li>WAV</li><li>FLAC</li><li>MP3</li><li>AAC</li><li>Ogg Vorbis</li></ul><p>The best feature of Sound Converter is that it can convert a single file or a directory of files. Add to that the usaual simplicty of most GNOME applications and you have the ingredients for a perfect solution. With that said, let&#8217;s get to it.</p><p><strong>Installing Sound Converter</strong></p><p>You will be glad to know Sound Converter is located in the Ubuntu repositories (as well as in the repos for most distributions).  So all you need to do is fire up your Add/Remove Software utility and do the following:</p><ol><li>Search for &#8220;converter&#8221; (no quotes).</li><li>Select (or mark) the Sound Converter entry for installation.</li><li>Click Apply to install.</li></ol><p>That&#8217;s it. After a brief moment Sound Converter will be installed.</p><p><strong>Running Sound Converter</strong></p><div
id="attachment_15884" class="wp-caption alignleft" style="width: 331px"><a
rel="attachment wp-att-15884" href="http://www.ghacks.net/2009/08/31/convert-various-media-formats-to-vorbis-in-linux/sound_converter/"><img
class="size-full wp-image-15884" src="http://www.ghacks.net/wp-content/uploads/2009/08/sound_converter.png" alt="Figure 1" width="321" height="332" /></a><p
class="wp-caption-text">Figure 1</p></div><p>You will find the Sound Converter application in the Sound and Video sub-menu of the Applications menu of the GNOME desktop. When you open up Sound Converter you will be greeted by a very simple main window (see Figure 1). It should be obvious, from the looks of the main window, the developer had simplicity in mind when creating the interface for this tool.</p><div
id="attachment_15886" class="wp-caption alignright" style="width: 312px"><a
rel="attachment wp-att-15886" href="http://www.ghacks.net/2009/08/31/convert-various-media-formats-to-vorbis-in-linux/sound_converter_prefs/"><img
class="size-full wp-image-15886" src="http://www.ghacks.net/wp-content/uploads/2009/08/sound_converter_prefs.png" alt="Figure 2" width="302" height="387" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Pretty much all you do is add files/folders to the list and click convert. Of course you first will need to configure Sound converter to meet your needs. Before you add a single file or folder to the list click on the Edit menu and select Preferences. When the preferences window opens (see Figure 2) you will want to take care of the following options:</p><ul><li>Location: Where you want the converted files to be placed (if it is to be different that where the input files are located.)</li><li>Create Subfolders: Do you want Sound Converter to create subfolders for you? This is used only if you configure Sound Converter to store the output folders in a non-default location.</li><li>Format: What format do you want the output files to be in?</li></ul><p>The most important option is the Format. For my needs the format will be Ogg Vorbis. Once that is complete click Close and you are ready to convert.</p><p><strong>Converting</strong></p><p>There are two ways to add files/folders to the Sound Converter list. The most obvious way is to click either  the Add File or Add Folder buttons and navigate to the file/folder you want to add. Another method is to open the Nautilus file browser and drag and drop the files/folders into the Sound Converter window.</p><p>Once you have all of the files/folders listed in the main windows click the Convert button and Sound Converter will do its thing. In the end what you will have is solid quality converted files in the format of your desire. No command line necessary!</p><p><strong>Final thoughts</strong></p><p>Thank goodness for simple GUI tools that would have previously required creating bash scripts to handle batch conversion. Most users do not have the time or inclination to research creating such scripts. It&#8217;s a good thing Sound Converter is there to handle the job.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/08/31/convert-various-media-formats-to-vorbis-in-linux/feed/</wfw:commentRss> <slash:comments>12</slash:comments> </item> <item><title>Convert Youtube videos to audio in Linux</title><link>http://www.ghacks.net/2009/08/11/convert-youtube-videos-to-audio-in-linux/</link> <comments>http://www.ghacks.net/2009/08/11/convert-youtube-videos-to-audio-in-linux/#comments</comments> <pubDate>Mon, 10 Aug 2009 22:09:46 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Music and Video]]></category> <category><![CDATA[Online Services]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[mp3 conversion]]></category> <category><![CDATA[video to music conversin]]></category> <category><![CDATA[youtube conversion]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=15231</guid> <description><![CDATA[After reading Martin&#8217;s fine article &#8220;Download Youtube Videos&#8221; today, I had to give a bit of a Linux perspective and show how to do this in the Linux operating system. Inititially I assumed this would have to be done via the command line, because that is how I have always done conversions. But I have [...]]]></description> <content:encoded><![CDATA[<p>After reading Martin&#8217;s fine article &#8220;<a
title="Download Youtube Videos" href="http://www.ghacks.net/2009/08/10/download-youtube-videos/" target="_blank">Download Youtube Videos</a>&#8221; today, I had to give a bit of a Linux perspective and show how to do this in the Linux operating system. Inititially I assumed this would have to be done via the command line, because that is how I have always done conversions. But I have found that many people do not like having to do such tasks from the command line. So I sat out to find a good (and by &#8220;good&#8221; I mean easy). It didn&#8217;t take long to find, it didn&#8217;t take long to install, and it didn&#8217;t take too long to get working the way I wanted (which means including mp3 support).</p><p>The tool I eventually settled upon is <a
title="Elltube" href="http://elltube.sourceforge.net/" target="_blank">Elltube</a>. Of  all the available tools this was the easiest to install, get working, and the most reliable. With this tool you will find download and converting Youtube videos a nobrainer. There is only one small hitch. If you want to add mp3 support you will have to do some extra installation (In this case it means installing unsupported files). The distribution I will use for this tutorial is Ubuntu 9.04. I will illustrate converting videos into audio-only mp3 format. This is the format that causes issues with most users due to the necessary installation of mp3-supporting libraries.</p><p><span
id="more-15231"></span><strong>Preparing for the installation of Elltube</strong></p><p>The good news is that everything you need, outside of Elltube itself, will be located in the default repositories. The bad news? You will have to install restricted applications. What this means is that Canonical is not responsible for the updating of these files. With that said you will need to fire up Synaptic. I do not suggest you just open up the Add/Remove Software utility from the menu. Instead open up a terminal window and issue the command:</p><p><em>sudo synaptic</em></p><p>The above command will open up the full-blown Synaptic tool where you will need to do the following:</p><ol><li>Search for &#8220;lame&#8221; (no quotes).</li><li>Scroll down until you see the &#8220;ubuntu-restricted-extras&#8221;.</li><li>Mark &#8220;ubuntu-restricted-extras&#8221; for installation.</li><li>Search for &#8220;ffmpeg&#8221; (no quotes).</li><li>Mark &#8220;ffmpeg&#8221; for installation.</li><li>Click Apply to install.</li></ol><p>Once all of this has installed download the <a
title="Elltube .deb" href="http://sourceforge.net/projects/elltube/files/elltube/0.3/elltube_0.3-1_all.deb/download?use_mirror=voxel" target="_blank">Elltube .deb file</a> and save it to your ~/ directory. After this file download has completed open up a terminal window and issue the following command to install:</p><p><em>sudo dpkg -i ~/elltube_0.3-1_all.deb</em></p><p>which will install Elltube. You are ready to convert.</p><p><strong>Converting a video to mp3 format</strong></p><div
id="attachment_15233" class="wp-caption alignleft" style="width: 370px"><a
rel="attachment wp-att-15233" href="http://www.ghacks.net/2009/08/11/convert-youtube-videos-to-audio-in-linux/elltube/"><img
class="size-full wp-image-15233 " src="http://www.ghacks.net/wp-content/uploads/2009/08/elltube.png" alt="Figure 1" width="360" height="270" /></a><p
class="wp-caption-text">Figure 1</p></div><p>You will find Elltube in your Internet sub-menu of either your Main or Applications menu. When the Elltube application opens you will see the Main window (see Figure1). There isn&#8217;t much to this application from the GUI perspective &#8211; but it serves the purpose well.</p><p>The first thing you need to do is find a video you want to convert on Youtube. Let&#8217;s convert a live version of Rush&#8217;s La Villa Strangiato. Find the URl and then copy and paste into the</p><div
id="attachment_15234" class="wp-caption alignright" style="width: 395px"><a
rel="attachment wp-att-15234" href="http://www.ghacks.net/2009/08/11/convert-youtube-videos-to-audio-in-linux/elltube_details/"><img
class="size-full wp-image-15234 " src="http://www.ghacks.net/wp-content/uploads/2009/08/elltube_details.png" alt="Figure 2" width="385" height="270" /></a><p
class="wp-caption-text">Figure 2</p></div><p>Youtube URL area. When you do this the details of the file will appear in the main window (see Figure 2). Now what you have to do is to select MP3 (audio only) from the Format drop-down and select a Save to location for the download and conversion. When the details are done, click the Download button and the process will begin.</p><p>When the conversion process is complete the &#8220;Video found!&#8221; message will change to let you know it is finished. When it has completed you will have your mp3 file in the Save to folder. You are ready to rock!</p><p><strong>Final thoughts</strong></p><p>Elltube makes the downloading and conversion of Youtube videos as simple as it gets. The ease at which this process is done makes the installation well worth it.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/08/11/convert-youtube-videos-to-audio-in-linux/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
