How to record audio from YouTube using Audacity

What settings do I need to configure to record audio from a YouTube video onto Audacity?
I'm running windows 7 and Audacity 2.1.1
brothertruffle880Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

David FavorLinux/LXD/WordPress/Hosting SavantCommented:
Far better way to do this...

https://rg3.github.io/youtube-dl is a python script, so runs on any OS.

This allows you to download any YouTube video + with ffmpeg installed, auto convert them to MP3 or strip out the AAC audio stream, for lossless audio (no transcode).

So instead of watching a video + recording it, you download the video (usually a few seconds) + pull out the audio.

I use the following alias, to pull down MP3 audios.

alias youtube-mp3='youtube-dl -f m4a --extract-audio --audio-format mp3 --audio-quality 5'

Open in new window


Another cool trick about youtube-dl.

If you point it at a playlist, it will pull down all videos in the playlist + convert them all to MP3, if you like.

Also, if your connection breaks or YouTube drops the connection or your machine has to suspend or reboot, just reissue the exact same command + youtube-dl has intelligence built in to resume where it left off...

So if you're 2 hours into downloading a long playlist. Reissue the command + you just resume, rather than downloading the first two hours again.
0
Paul SauvéRetiredCommented:
step 1 - make sure that you Enable Stereo Mix
How to Geek:
How to Enable “Stereo Mix” in Windows and Record Audio from Your PC

step 2 - open Audacity and click on record

step 3 - open the youtube video and click on play
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dbruntonCommented:
This is an interesting question ... seeing as I have the same problem in Windows 10.

However Stereo Mix can't always be enabled on some systems or doesn't exist.  For some Realtek chips installing the Realtek codec solves the problem ... however if you have the ADI chip this doesn't work (at least on my Optiplex 780) as I can't find an ADI codec.

However if you look in the Audacity help pages  file:///C:/Program%20Files%20(x86)/audacity/help/manual/man/tutorial_recording_computer_playback_on_windows.html#wasapi  there is a nice solution there that works for me.

See the section on Windows WASAPI loopback recording that is there.

I'll just add to the description that is there.  Use SHIFT + R to start a new recording session if the recording doesn't seem to be working.
0
Paul SauvéRetiredCommented:
when you open the sound panel, by right-clicking the volume icon is the system tray and selecting Recording devices, you MAY have to right-click in the devices part of the panel and select Show Disabled Devices:Stereo Mix
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
audacity

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.