• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Extracting audio from youtube videos in Linux- Solution

Joined
Jun 28, 2008
Messages
1,668 (0.29/day)
Location
Newcastle
Processor Intel Core i5 3570K
Motherboard MSI H61m-P31/w8
Cooling Stock
Memory 2*8GB DDR3
Video Card(s) XFX HD7850
Case Coolermaster Elite 330
Audio Device(s) Realtek HD audio
Power Supply Corsair RM650
Software Windows 10
Right, having spent the last few hours looking for a way to download some songs off youtube (damned impossible to find a CD with them on, just as hard to find a torrent) I found that every single website seemed to be overly eager to jump into the terminal and use ffmpeg or whatever, not one of these methods worked.
Turns out their eagerness to jump into the terminal made them miss something rather obvious:
www.listentoyoutube.com
That site lets you take just the audio out of the videos, why the hell every site that provides a method of doing this needs to jump into the terminal I don't know but for this reason they get a :nutkick:.
That's the end of a RIGHT pain in the arse problem.
 
Joined
Dec 10, 2007
Messages
7,185 (1.21/day)
Location
Adelaide Australia
System Name Becca 2
Processor AMD A10 4600m quad core @ 2.3 ghz
Motherboard dunno
Cooling Logitech alto connect
Memory 16 Gig ddr3 1600mhz
Video Card(s) Ati HD 7660G + & 7470M
Storage 1 TB
Audio Device(s) onboard crap
Software Windows 7 Home Premium 64 bit with sp1
Joined
Jun 28, 2008
Messages
1,668 (0.29/day)
Location
Newcastle
Processor Intel Core i5 3570K
Motherboard MSI H61m-P31/w8
Cooling Stock
Memory 2*8GB DDR3
Video Card(s) XFX HD7850
Case Coolermaster Elite 330
Audio Device(s) Realtek HD audio
Power Supply Corsair RM650
Software Windows 10
This is sort of to serve as a heads up to anyone who has as dodgy search criteria as myself (didn't realise there were websites that did this, I thought listen to youtube was a windows app).
 
Joined
Dec 10, 2007
Messages
7,185 (1.21/day)
Location
Adelaide Australia
System Name Becca 2
Processor AMD A10 4600m quad core @ 2.3 ghz
Motherboard dunno
Cooling Logitech alto connect
Memory 16 Gig ddr3 1600mhz
Video Card(s) Ati HD 7660G + & 7470M
Storage 1 TB
Audio Device(s) onboard crap
Software Windows 7 Home Premium 64 bit with sp1
I think you can dl yt videos direct with the page source code not sure bout audio though.
 
Joined
Jun 28, 2008
Messages
1,668 (0.29/day)
Location
Newcastle
Processor Intel Core i5 3570K
Motherboard MSI H61m-P31/w8
Cooling Stock
Memory 2*8GB DDR3
Video Card(s) XFX HD7850
Case Coolermaster Elite 330
Audio Device(s) Realtek HD audio
Power Supply Corsair RM650
Software Windows 10
It's easy as pie to download the videos, ENDLESS apps for that! I'm now sticking with this method, it works and is quick, no buggering round with Pytube or anything else.
 

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
46,283 (7.69/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
Just use the Flashgot Firefox extension to download the .flv file, and play it with VLC.
 
I

InTeL-iNsIdE

Guest
And real player has this capability, although I hate that POS anyway :p
 

btarunr

Editor & Senior Moderator
Staff member
Joined
Oct 9, 2007
Messages
46,283 (7.69/day)
Location
Hyderabad, India
System Name RBMK-1000
Processor AMD Ryzen 7 5700G
Motherboard ASUS ROG Strix B450-E Gaming
Cooling DeepCool Gammax L240 V2
Memory 2x 8GB G.Skill Sniper X
Video Card(s) Palit GeForce RTX 2080 SUPER GameRock
Storage Western Digital Black NVMe 512GB
Display(s) BenQ 1440p 60 Hz 27-inch
Case Corsair Carbide 100R
Audio Device(s) ASUS SupremeFX S1220A
Power Supply Cooler Master MWE Gold 650W
Mouse ASUS ROG Strix Impact
Keyboard Gamdias Hermes E2
Software Windows 11 Pro
And real player has this capability, although I hate that POS anyway :p

I don't think Real Player Linux has that browser extension. Real Player Linux is severely crippled compared to the Windows version.
 
Joined
Jun 28, 2008
Messages
1,668 (0.29/day)
Location
Newcastle
Processor Intel Core i5 3570K
Motherboard MSI H61m-P31/w8
Cooling Stock
Memory 2*8GB DDR3
Video Card(s) XFX HD7850
Case Coolermaster Elite 330
Audio Device(s) Realtek HD audio
Power Supply Corsair RM650
Software Windows 10
Just use the Flashgot Firefox extension to download the .flv file, and play it with VLC.

You then get it on your iPod/ MP3 player how? Meh, it's a lot easier to do it via a website which was the point of this post for the next poor sod who wants to do this and has a bad grasp of search criteria.
 
Joined
Dec 8, 2008
Messages
1,334 (0.24/day)
source audio --> youtube AAC --> 60kbps MP3
That's double raping the audio.

Proper way to do this is to download the video from Youtube with something like Video DownloaHelper or Yousabletubefix, every video will at least have a mp4 version which contains 128kbps stereo AAC audio.
Then demux the file with tools like AVIdemux to get the audio. note that the resulting file will need a container.


edit: Jesus Christ that site even downsampled it to 22khz!
 
Last edited:
Top