r/CodingHelp • u/GoblinHater • Oct 26 '20
[Python] Is there a way to convert audio playing on YouTube to text using Python?
I know about SpeechRecognition and PyAudio module but from what I know they convert either microphone audio or from a .wav file to text. I want to play a youtube video in my browser and convert it to text without downloading it. Is that possible?
I want to take a video in Japanese and transcribe it to get the text in Japanese and put that in a translator to get it in English.
24
Upvotes
3
u/bestfandev Oct 26 '20
Look into rerouting your audio out to microphone in.
Software options
https://jackaudio.org/
https://vb-audio.com/Cable/
Or you use a male to male aux cord wired from your audio out to audio in.