Possible Duplicate:
Downloading a youtube video
How to download an MP3 track from a YouTube video
Is there any app like the one from DVDvideosoft but for linux to download and convert videos to mp3? Without the need to download them first. If it is not what app should I use without the terminal? I have 12.10.
youtube-dl
has a command line option to extract the audio into an mp3 and discard the video downloaded:This works in my version of
youtube-dl
, which is 2012.09.27. Downloadyoutube-dl
from its website.You could always try clipgrab you can download youtube videos and also select which format you would like it to be in. It has a nice interface also...
ppa:clipgrab-team/ppa (Click here for instructions on using PPAs.)
by adding this ppa you will get the clipgrab package...you can search for youtube videos via this application and also copy and paste the link to the video into it and it will download the video, also you can select the format you want it in.
Ubuntu. Convert youtube video to mp3 on-line with a command line script.
http://iasptk.com/ubuntu-convert-youtube-video-mp3-line-command-line-script/
Before you can use the script make sure you have "youtube-dl" and "ffmpeg" installed. We will use youtube-dl to download youtube videos, and ffmpeg to convert them into the mp3 format. Create a new file...
...and paste the following script:
(avconv is used in DEBIAN and UBUNTU instead of ffmpeg)
Save and close gedit. Now install the script somewhere easily accessible.
Now you can convert youtube videos into mp3 files by using the following command (including the double quotes):
youtube2mp3 "youtube-link" "mp3-file.mp3"
For this script to work, avconv OR ffmpeg must be able to use the libmp3lame code (libavcodec-extra-53 and libavcodec-extra-52), not provided with the ffmpeg on Ubuntu (see installation).
Also, the script is very verbose. Use the following command if you don't want to see all the messages on your screen:
You can also use the following command to make the script run in the background. This way you will be able to run multiple instances of the script at the same time.
How it works
The way this script works is really simple. First it downloads the youtube video into a temporary file, converts the video to mp3 and then deletes the temporary file. Let's go through this script step-by-step.
The first line of the script assigns a random .flv filename to the variable $x.
The second line downloads the youtube video into the temporary file named $x. It automatically downloads the HQ version of the video if it's available.
The third line extracts the audio from the video and converts it into an mp3 file with the filename you specified.
The last line removes the temporary file created in step 2.
youtube-dl install from Ubuntu Software Center
youtube-dl is a small command-line program to download videos from YouTube.com and other sites that don't provide direct links to the videos served.
You can use jDownloader. You can paste a youtube link and it offers you to download the video and the audio as mp3 separately. You can install jDownloader using the ppa.
There is a Add-on Named as Easy youtube downloader , I will use it often to get the Video files as MP3 and you can add that to Firefox and Chrome browsers .
Typo alert!!
It should be:
Try "xVideoServiceThief":
http://xviservicethief.sourceforge.net
It can download FLV files and do automated conversion into any desired format.