MP3 converters that support YouTube as a source are common, despite the sometimes vague laws that apply (see the "Copyright and Private Copies" box). The names of these tools are often quite similar and among them are a few online services, such as Filsh.net, Convert2mp3.net, and Youtube-mp3.org. You can even get Firefox plugins that do the job [1].
Copyright and Private Copies
Downloading YouTube videos – even if only for their audio tracks – has at least two legal ramifications: copyright and YouTube terms of use. If in doubt, study the YouTube terms of use carefully or consult a professional.
Some copyright laws have tight restrictions, despite the gray areas. The same goes for ripping audio CDs and video DVDs.
Downloading a YouTube video would constitute making a private copy only if the uploader were the author – and this is where the problem lies. YouTube allows users to upload videos. If the material is not their own, downloading it would be illegal.
However, the case might be that a music label would use its own accounts and channels to put videos online. Thus, be sure before downloading that the legal framework is clear. According to YouTube, downloading copyright material is not allowed.
Among native converters is the very popular and free (as in beer) YouTube to MP3 Converter [2], which Ubuntu users can find in the Ubuntu Software Center. From there, you can easily install before going through the Ubuntu One payment platform (Figure 1). Note that the software is proprietary and, although you are forced through the U1 payment platform, you are not charged anything.
Why the tool appears in Software Center as purchasable, when it is actually free, is not clear. In any case, if you are not comfortable going through the payment process (to end up not paying anything), you can always install the tool directly from the manufacturer's website [3].
In its download area, the manufacturer provides complete 32/64-bit DEB packages for Debian or Ubuntu for version 2.6.7, whereas the apt repository already has version 2.8.6.
The choice for this test, therefore, boiled down to choosing the quickest version to integrate via the command line. The lines in Listing 1 import the repository and the associated PGP key. A source code update is subsequently required to prepare the software.
Listing 1
Installing YouTube to MP3
$ sudo add-apt-repository ,http://www.mediahuman.com/packages/ubuntu' $ sudo apt-key adv --keyserver pgp.mit.edu --recv-keys D808832C7D19F1F3 $ sudo apt-get update $ sudo apt-get install youtube-to-mp3
YouTube to MP3 is based on Qt 4.8.3 and uses ffmpeg, libmp3lame0, and libavcodec-extra53. How the manufacturer intended to peddle the paid version became clear after starting it for the first time with Ubuntu 13.04. With Ubuntu Web Apps, Dash first takes you to the manufacturer's website for either outright purchase or a trial version with a license code (Figure 2).
In the second attempt, the version from the manufacturer's repository came back again, but this time for Ubuntu 12.04 and 12.10. However, you can ignore all this because the program works fine in its free version. Intentionally or not, the manufacturer is avoiding using the methods of payment implemented in the USC or Ubuntu Web Apps for some reason.
YouTube to MP3 works as a downloader and converter. It provides several ways to add the URL of a desired track. The simplest way is by drag and drop from the YouTube window to the "drag here" area of the tool (Figure 3).
The software checks the link and shows the video's title. Alternatively, you can use the familiar keyboard shortcuts to copy from the clipboard and clicking the Add URL icon.
YouTube to MP3 also lets you automate the process. At the bottom of the window, click the gear icon and select Auto add from clipboard. To make things even easier, you can use the Automatically download function (Figure 4).
If you didn't opt for automatic downloads, you can click to the right of the title entry on the down-arrow icon. Unlike other tools of the kind, YouTube to MP3 actually downloads only the audio track.
The conversion progresses automatically and the output files appear in your home directory in Music/Downloads by MediaHuman. Nothing more needs to be done, the program's obvious primary goal is downloading and converting without further configuration.
A few other options are worth playing around with, however. Among other things, the application provides a batch processing function for converting any number of videos in one go. Select the option Add multiple URLs from the settings menu.
If you want to apply individual tags to the MP3 files before conversion, click Preferences and go to the Tags tab.
On the Music tab, you can set the target format. The program also supports OGG and M4A container formats, in addition to MP3. The Original M4A option turns off conversion completely. You can set the targeted bit rate or quality level on the same tab.
With the Network tab, you have the option of setting up operation over SOCKS5 or HTTP Proxy. With Download, you can set a global limit for bandwidth or the number of concurrent downloads (Figure 5). You can activate the speed limit mode with the snail icon at the bottom of the window. In the first General tab, you'll find the same options encountered earlier in the main window, such as activating automatic downloads and converting from the clipboard. You can also turn automatic update searches on and off.
YouTube to MP3 belongs to the pleasant variety of software that excels without much fanfare. The program does what's expected and doesn't overwhelm the user with countless parameters. Somewhat disconcerting, however, is the manufacturer's all too close connection with Canonical and YouTube. The partnership might make the installation (and payment) easier under Ubuntu, but the program would make just as good an impression under openSUSE or Fedora.
Infos