Download YouTube Videos as MP4

By gantt Last update 12 hours ago — Installed 1,073,510 times.

Download video as MP3

in
Subscribe to Download video as MP3 13 posts, 8 voices



GeorgeT User
FirefoxWindows

Hello, will be available also download video as MP3? I mean something like this addon for firefox.

https://addons.mozilla.org/cs/firefox/addon/eas...

Thanks for your answer

 
gantt Script's Author
Safari

The script has always provided direct download links from youtube.com and not from third-party sites. YouTube doesn't offer MP3 versions of the videos because it's a video site, not an audio site. There are all kinds of sites that convert the videos to MP3, but they usually include a lot of ads, pop-up windows and require Java JRE. I'm not sure it's a good idea to link to one of these sites.

Another option is to download videos as MP4 and use a software that converts to MP3. VLC is a great example and it's also a brilliant video player. http://chitx2000.hubpages.com/hub/Using-VLC-Med...

 
toxicious Scriptwright
FirefoxWindows

I understand what you mean but would it at least be possible to make a second version of this script that would include "Download as MP3" as an option?
I modified the script and added such an option at the bottom which led to video2mp3.com. Worked great I think. Sure it is a 3rd party site, but having to download the whole video and then convert it to mp3 is really not an option I think.

Anyway, I love your script, just having 1 download button is the best so if you won't release a version with a download mp3 option, I might (since your License allows it). But I will of course give 99% credit to you if I do.

 
gantt Script's Author
Safari

Right, it's useful, but don't forget that the site doesn't convert videos instantly: you have to wait until it downloads the video, converts it and then you can download it. You can do the same thing by downloading whatever version of the video you want (480p, 720p etc.) and convert it in VLC. I'll test to see which is faster. There are tons of sites that download YouTube videos and I could simply place a button that links to one of these sites, it would be a lot easier for me, but the user experience wouldn't be great - no more instant downloads.

 
gantt Script's Author
ChromeWindows

I've tried video2mp3.net. It's fast, BUT: it requires Java JRE in Firefox (fewer and fewer people install it), there are pop-up ads and the Firefox extension uses a lot of code from my script (an old version) without including some credit. The Firefox extension has many bad reviews:

"This is useless. It sends you to a third party website to convert, with unnecessary waitings and turns."
"does what it says. but compared to competition, its slow, restricted and packed full of ad popups, adware and according to avast, spyware"
"Even though I clicked on "decline" during the installation process when offered "Funmoods", video2mp3 installed "Funmoods" anyway, which hijacked my Firefox browser and wouldn't let go - even after I deleted it in Control Panel! Look up "Funmoods" in google and see why video2mp3 is so terrible."

 
Iain Cheyne User
FirefoxWindows

I use WinFF to convert from MP4 to MP3. http://winff.org

 
toxicious Scriptwright
FirefoxWindows

Oh I didn't know about the ads and that it used your code, since I use adblocker.

 
Chris Heath Scriptwright
ChromeWindows

@gantt - thanks!

 
Chris Heath Scriptwright
ChromeWindows

hmmm for some reason VLC doesn't seem to be converting correctly ...

i tried WinFF but it was taking forever (seemed like it would have worked)

but while it was a few minutes into stream processing i decided to open up VirtualDub and just export the WAV (from the main file menu) and that took about 3 seconds ... using lame via command line to convert to mp3

a bit of a kludge ... any ideas on a more streamlined or scripted workflow?

 
SouthPark User
FirefoxWindows

I find fre:ac (open source) to be excellent at converting mp4's to mp3 http://portableapps.com/apps/music_video/freac_...

VLC 2.0.5 fixed an mp3 conversion bug from 2.0.4, so you may also find updating that to help.

 
gantt Script's Author
FirefoxWindows

Here's another way to extract the audio part of the video.

1. download ffmpeg http://www.ffmpeg.org/download.html (check the static builds)

2. extract the archive, go to the bin folder

3. open a command line window/terminal and cd to the bin folder

4. type this code:

ffmpeg -i video.mp4 -f mp3 -ab 192000 -vn music.mp3

(video.mp4 is the name of the downloaded video, make sure to include the full path surrounded by quotes: "c:\users\alex\downloads\YouTube video.mp4"; music.mp3 is the generated audio file)

You can also type this code to extract the AAC audio (it's a lot faster):

ffmpeg -i video.mp4 -vn -c:a copy music.m4a

 
Andrew Wong User
FirefoxWindows

Just add it in please :)

I don't care if it has to redirect/open another window. I just want a plain file, not a video file, which i then have to convert. Also, it saves bandwidth

What about using http://www.youtube-mp3.org/redir?url=(WHOLE URL)

 
pwlin Scriptwright
ChromeMacintosh

All these "youtube 2 mp3" sites mentioned in this thread are riddled with popups and banner ads. I think if you link to them in your script, you deserve to ask these sites for money.

ffmpeg, winff, fre:ac or the plain old-school vlc, there are so much good alternatives mentioned here. Don't degrade your script by linking to some shady ad-ridden web site for a simple task of converting mp4 to mp3