GiveawayOfTheDay.com Series (15)
So a little drop by, regarding today’s GOTD.
It’s been a long time since I promissed myself I would pin such crapware being “given away” at GOTD.
Obviously, these are software any sensible person would ever buy. One must be a total ignorant to pay only one dollar for such things, and even for free, I’d be sorry some 4freers could rely on such crap.
To make myself clear: I didn’t download today’s GOTD, and I won’t be.
According to the description, you can use this to grab a video on youtube and convert it into mp3 (I guess the point is to get a song from its video clip).
In a nutshell, to use this software :
- you go to youtube.com
- it grabs the video
- it converts it to mp3
Each time a multimedia (video and/or audio) is converted, the is quality loss.
As the file you grabbed from youtube is not necessarily top notch quality, you should really want to avoid additional quality loss.
So, converting should be last resort…
Basically, a video is a combination of two streams :
- a succession of images, displaying at a given framerate
- an audio stream
When you see the images and ear the audio at the same time, that means that the streams have been multiplexed in a video file.
A wiser strategy to get audio should be to demultiplex the video file.
So? What should we do?
As the today’s gotd claims to be youtube exclusive, here is a method that works with youtube.
1/ Grab the video.
No need to install anything. No need to dive into your browser cache. You’re just a click away from a neat little mp4 file.
Visit this page, and add the “Get YouTube Video” bookmarklet to your browser favorites.
Then when you’re watching a video at youtube and want to download it, just select that favorite. You should at least one download link : download standard MP4, and, if available, download HD (it’s also an mp4 file)
2/ Extract the audio
You’ll need a demultiplexer.
There are many that are free, providing both command line and GUIs.
For instance, MP4Muxer , which is fully portable.
You also have the well know Yamb which is a GUI for mp4box
In any case, you’ll just get the audio part of the video, without conversion (and therefore without any quality loss).
If audio was mp3 in the video, you’ll get a mp3 file ; as for mp4 files from youtube, you’ll get aac files.
Let’s grab yamb and install it.
I’ll assume installation path is : c:\program files\yamb
We could use the GUI of course, but I see some interest in speaking about mp4box command line capabilities.
Imagine you downloaded your youtube mp4 and stored it in c:\download as myYouTubeVideo.mp4...
In command line you’ll type "c:\program files\yamb\mp4box.exe" -raw 1 "c:\download\myYouTubeVideo.mp4"
And you’ll then find an aac file in your c:\download folder
Basically the syntax is as follows :
mp4box.exe -raw StreamId video_file
The fact is you should provide the correct streamId corresponding to the audio. Each time I tested a youtube video, it appears the audio was in stream #1
Note that for avi files, mp4 is smarter.
You can use mp4box.exe -aviraw audio avi_video_file without knowing the audio streamId.
Unfortunately, it doesn’t seem to work with mp4 files.
So why is command-line interesting in our case ?
I propose you that we tweak our windows so a right-click on an mp4 file will allow us to automatically extract audio. We could set the trick with nirsoft FileTypeMan but I did it for you.
Open notepad, paste exactly what follows. (I assume mp4box is in the yamb folder)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\QuickTime.mp4\shell\Extract audio]
@=”Extract audio”
[HKEY_CLASSES_ROOT\QuickTime.mp4\shell\Extract audio\command]
@=”\”C:\\Program Files\\Yamb\\MP4Box.exe\” -raw 1 \”%1\”"
Now save as something.reg and double-click it. Say yes. Delete the reg file.
Now you should see a new context menu option on mp4 files. If you click on extract audio, you should see an audio file in the same folder as the video.
Oh oh wait… we do not need anymore the mp4 video file. Why bothering deleting it by hand?
Open notepad. Copy and paste as follows (I assume mp4box is in yamb folder) ):
@echo off
"C:\Program Files\Yamb\MP4Box.exe" -raw 1 %1
del %1
exit
Save as extractAUdioFromMp4.bat (or whatever you like) and store it in c:\program files (or wherever you like).
Now open notepad again and paste what follows (adapt names and locations if required)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\QuickTime.mp4\shell\Extract audio and delete]
@=”Extract audio and delete”
[HKEY_CLASSES_ROOT\QuickTime.mp4\shell\Extract audio and delete\command]
@=”\”C:\\Program Files\\extractAUdioFromMp4.bat\” \”%1\”"
Save as something.reg, double-click, blabla… delete the reg file.
You should now see an extract audio and delete menu entry…
In a nutshell all you have to do to what the today’s gotd is doing without paying a penny, without installing crap on your computer, is very simple, and you’ll even get a little better quality audio file.
- get the bookmarklet
- install yamb (or use mp4muxer but you’ll have to adapt your command line on your own)
if you want to just extract audio:
- open once the notepad and copy paste the first reg file I showed you
if you want to extract audio and delete useless video file:
- open twice the notepad and copy paste the bat file and the reg file… (don’t forget to save the bat file in program files)
Programs like today’s gotd are real shame !
Enjoy everybody !
.
Related posts:
The layout is not obvious… for the reg files you must also copy and paste the Windows Registry Editor Version 5.00 line.
It must be the very first line of the reg file, followed by a blank line…
Sorry Franck!
I hope it’s ok now.
Regards !
Perfect
!
For easy download of youtube videos, just change the y from youtube in the URL to 3
So http://www.youtube.com/watch?v=bR3K5uB-wMA&NR becomes http://www.3outube.com/watch?v=bR3K5uB-wMA&NR
You’ll get a webpage where you can choose to download the mp4 version (high quality) or the flv version (mostly low quality) of the video.
No hassle, no adware, just plain and simple downloading.
Will give it a try…
Thanks Franck for another interesting geek trick.
Smart move Franck. Congrats !
Impressed like always.
Well done Franck!
Thanks Franck&4Free!
Awesome tip Franck !
It’s great to have that with a simple right-click.
Chapeau!
Franck strikes again!
Nice tip buddy!
Thank you Franck!
Another useful one.
Your solution is very ingenious.
Congrats Franck!
Thanks guys!
There are some nice freeware tools that extract audio streams without encoding. My favorites are AoA Audio Extractor Free and Pazera Free Audio Extractor.
aoamedia.com/audioextractor.htm
pazera-software.com/products/audio-extractor/
But Francks solution via right-click-menu is faster and more elegant! Thanks a lot, I will try it right now!
This is really a helpful hint. But, as my opinion, if I ever have to resort to Youtube to get a mp3/aac file, I wouldn’t mind the little extra loss of information in the file. Because as undesireable Youtube’s audio quality is, the loss is hardly noticeable.
I have no need for a program to download videos from youtube, I simply use an extension in firefox called Downthemall, which allows you to download videos and images from most websites.
Thanks for the guide, nice trick!
Will try it one day.
Either do what the article says or just change ‘youtube’ into ‘3outube’ (like Merlin said) Or change youtube into kickyoutube (that’s what I mostly do). So youtube.com/watch?v=u55fpsbzAfk would result in
kickyoutube.com/watch/?v=u55fpsbzAfk on that page you can still see the youtube video and on top you can select what video ‘type’ you want do download in (mp4, flv, HD, 3GP, iphone, psp, mp3, gif). Just click the type you want (for example MP4), then press the ‘GO’ button, the ‘GO’ button will now change into a button with th text ‘DOWN’ (this can take a few seconds). Next right-click on the down button and choose “Save link as…” (or ’save linked content as…’ in opera) to download…
(Note the HD button, can of course only work when the video has an HD version available, the mp4 should always work…)
Also note that HD files are always bigger (and better) then the other formats available
Thanks for the trick Franck!
However, for “newbies”, I would suggest that Merlin’s “3 instead of y” solution and Sirnh1’s “inserting kick in front of youtube” solution are both very good.
Boy, we sure do learn interesting things as 4Free’ers…..
Wow, the benefits of community. Thanks Franck, Merlin, Sirnh1, 4Free, and everybody.
Thanks Frank — great tips — very useful!
Although I’m still fully convinced converting a video is not necessarily the best solution (because of quality loss) given that it’s sometimes (often) possible to download straight in a standard format (eg : mp4 from youTube as explained above) I may understand some people prefer an handy and fully automated way to grab a video from the web and use it within a real video format (ie. not flv)…
I say that because I just stumble upon aTube Catcher presented on Libellules.ch a French-speaking Swiss blog.
Please note I didn’t try this software, but it seems much better than the clumsy video-downloader-YouTube-Ipod-Ipad-blabla stuff from GOTD and unknown company.
Please also note that aTubeCatcher claims it has the 100% Clean Softpedia Label.
But it’s not clickable and I can’t find it either by searching directly on softpedia.
That said, Softpedia offers this program as a download :
- free, but ad-supported;
- with a very good user rating
Maybe that will interest someone over here
Have a nice day, all !!!
Thank you Franck!