Message Boards Message Boards

3
|
11034 Views
|
6 Replies
|
10 Total Likes
View groups...
Share
Share this post:

How to extract audio from Youtube Videos?

Posted 11 years ago
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
Posted 3 years 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.

POSTED BY: Yasmin Hussain

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 BY: Arno Bosse
Posted 3 years ago

There are some YouTube to MP3 converters you can use.

POSTED BY: Updating Name
Posted 3 years 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 BY: Ivy White
Thank you Sean! I'll try it out emoticon
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".
POSTED BY: Sean Clarke
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