How can this be so fast? I tried it with two random urls, and the transcripts were instant, like less than 100ms.
YouTube Transcript – read YouTube videos
61–70 of 144 posts
Re: YouTube Transcript – read YouTube videos
#62If you want an CLI version of a similar idea, you can use yt-dlp and some simple jq to pull down the captions for a file: curl `\ yt-dlp -j "https://www.youtube.com/watch?v=aeWyp2vXxqA" | \ jq -r '.automatic_captions.en[] | select(.ext=="json3") | .url'`
Not all YouTube videos with spoken text have automatic captions.
Re: YouTube Transcript – read YouTube videos
#63A supremely useful site that searches YouTube transcripts is https://youglish.com . It shows you pronunciations in context for any word or name.
Re: YouTube Transcript – read YouTube videos
#64This script for whisper.cpp works really well https://github.com/ggerganov/whisper.cpp/blob/master/example... for my purposes I changed the output from subtitles to txt (so I could pipe the result into chatgpt)
Tell us more :)
Re: YouTube Transcript – read YouTube videos
#65If you go to the homepage with clear cookies it's just endless amounts of utterly dogshit cookie cutter content. Same clickbait thumbnails with a person pulling an idiotic expression. Even the videos masquerading as educational are entertainment at best. If I had kids I'd do everything in my power to keep them away from YouTube.
Re: YouTube Transcript – read YouTube videos
#66> No transcripts were found for any of the requested language codes: ('en',) For this video ([...]) transcripts are available in the following languages: [...]
It even knows what language is available, so why no dump that instead?
Re: YouTube Transcript – read YouTube videos
#67This script for whisper.cpp works really well https://github.com/ggerganov/whisper.cpp/blob/master/example... for my purposes I changed the output from subtitles to txt (so I could pipe the result into chatgpt)
> so I could pipe the result into chatgpt Tell us more :)
Re: YouTube Transcript – read YouTube videos
#68Why it is hard-coded to English? When I try to transcribe a video in any other language it throws the error: > No transcripts were found for any of the requested language codes: ('en',) For this video ([...]) transcripts are available in the following languages: [...] It even knows what language is available, so why no dump that instead?
Re: YouTube Transcript – read YouTube videos
#69Earlier quoted context omitted.
Good idea, but I don't follow anyone on YouTube. I was thinking about searching the Web for a bit of info, the search hits include YouTube videos (but no finer resolution than "this entire video"). A search engine could, narrow in on the few sentences AV in the video that it thinks correspond to what I was searching for, and summarize that, and also link me to the AV start timepoint in case I also want to watch the v…
Google does exactly that, if a video shows up in the search results, it shows you only the relevant small part.
Is this what you mean? (Pardon if I'm not familiar with the latest Google Search features; I've mostly been using DDG lately, so don't have occasion to see all the features that exhibit only occasionally.)
Re: YouTube Transcript – read YouTube videos
#70Hook this up to a language model, and maybe a user could instantly get the one sentence worth of information that the YouTube video creator buries in 10 minutes of monetized noise. And also save yourself time when the creator teases that they provide the info, but it turns out they don't, they're just trying to get views.
Similarly Google incentivizes longer webpages, so now we have recipes that start with a novella about grandma’s cooking before showing the actual recipe.
It used to be nice to see a video’s thumbs up to thumbs down ratio to know if you’ve been click baited or not before watching the whole video. But that signal has been removed now too.