How to record audio from YouTube using Audacity

brothertruffle880
brothertruffle880 used Ask the Experts™
on
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
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
David FavorLinux/LXD/WordPress/Hosting Savant
Distinguished Expert 2018
Commented:
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.
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
dbruntonQuid, Me Anxius Sum?  Illegitimi non carborundum.
Commented:
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.
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

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial