How to capture audio stream for youtube video embedded in electron app?

I have been looking for a way to capture audio for a an embedded youtube video in my electron app, all the solutions I found where for the Web media API which it seems that it only works with microphone, is there any way to accomplish that?

Not touching that with a 100ā€™ pole, as iā€™m fairly sure ā€œHelp me steal audio from a youtube videoā€ is grounds for lawsuits.

1 Like

Iā€™m not stealing anything, Iā€™m just working on an app that helps in taking note from videos and one of the features is speech2text

You can feed the stream to YouTubeā€™s own speech to text api.

If the video has closed captioning enabled, go under the video to the three dots menu, and choose ā€˜open transcriptā€™.

Youtubeā€™s already done it for you in that case.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.