View Full Version : [ubuntu] record audio from youtube with audacity

July 22nd, 2008, 01:47 AM
I have tried recording tracks from you tube on audacity and
I recorded it and it seems to say check input output and something
else in configuration can someone help me step by step to record
audio( I dont have a mic) record audio from my soundcard on my computer
and make a audio or mp3 file from it , Thanks. first time trying audacity.

July 22nd, 2008, 02:01 AM
did you try looking at youtube? i watched the first 20 seconds or so of this one and it looks like he's doing what you want!

there are online services that will extract the mp3 for you too, like

July 22nd, 2008, 06:19 AM
It is possible in Linux to record internally from one source to another. No need for a mic and static noise. The software that does this is jack. Install qjackctl for a gui.

July 22nd, 2008, 06:55 AM
The flash player will download the videos to /tmp. They're named randomly, e.g. FlashDlna4t. You can play them with mplayer (and others I would suppose). If you can play them, there is a way to extract the audio. You can do it with avidemux, I just tried. The one I tried used mp3 for the audio (avidemux will tell you this).

August 7th, 2008, 05:15 AM
i just tried this and avidemux says it cant open the file

August 7th, 2008, 05:20 AM
You can use mplayer to dump the audio:

mplayer -dumpaudio input.flv -dumpfile output.mp3

August 7th, 2008, 05:28 AM
cool that worked..thanks...is there a way to specify a bitrate? it comes out at 64kbps...or is that the best that youtube videos can be encoded at?

August 7th, 2008, 05:32 AM
Generally the audio from youtube videos is low bitrate. You can dump and reencode at the same time with ffmpeg although I don't think it provides any real quality differences.

ffmpeg -i input.flv -ab 128 -ar 44100 output.mp3