Message Boards Message Boards

GROUPS:

How to extract audio from Youtube Videos?

Posted 7 years ago
2057 Views
|
6 Replies
|
10 Total Likes
|
Hi,

I'm new to Mathematica and I'm interested in extracting the audio portion of a youtube video (such as the ones found on KhanAcademy). 
I've messed around with URLFetch and other similar functions, but I don't think they will work.

Has anyone been able to do this? If not, could anyone point me in a possible direction?

Cheers,
Jonathan
6 Replies
In most cases, Youtube delivers its videos as Flash content, so there isn't going to be a simple way to import the video and work with it. But, there are a lot of applications people have made online to extract audio like you mentioned which you can find by searching online.

If you want to import a video from Youtube into Mathematica and work with it, I would recommend using an application to convert the video to one of the supportable formats for Import: http://reference.wolfram.com/mathematica/guide/MultimediaFormats.html. Most likely you will want to find an application to convert the video to "AVI".
Thank you Sean! I'll try it out emoticon
Posted 11 days ago

Hi, friend. To extract audio from video, I personally use online audio extractor - Clideo or an easy-to-use desktop editor - Joyoshare Media Cutter. Both of them can extract audio from YouTube videos without quality loss. More, the latter can convert the extracted audio to any other format and gives editing tools.

Posted 11 days ago

There are some YouTube to MP3 converters you can use.

Take a look at https://youtube-dl.org With this, you can download YouTube videos as (typically) MP4 or MKV files and then extract the audio from this. AFAIK can also run youtube-dl with a flag to just capture the audio portion.

Posted 10 days ago

Go to YouTube and copy the video link, open the 4K Video Downloader window, and click "Paste Link". The parsing process should take up to several seconds, depending on the video length. Another smaller window will pop up. Select the "Extract Audio" option.

Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract