Live data from Hacker News

YouTube Transcript – read YouTube videos

youtubetranscript.com

61–70 of 144 posts

Re: YouTube Transcript – read YouTube videos

#62
post #57

If 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.

https://news.ycombinator.com/item?id=34041455

Re: YouTube Transcript – read YouTube videos

#63

A supremely useful site that searches YouTube transcripts is https://youglish.com . It shows you pronunciations in context for any word or name.

Thanks for the link! This site actually has a database of youtube transcripts unlike OP. Shame you can't search fixed strings, like two words in exact order. Though it seems genuinely useful for learning pronunciation as advertised.

Re: YouTube Transcript – read YouTube videos

#64
post #45

This 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

#65
Pretty nice. The sliver of content still worth watching on YouTube doesn't have repetitive stuff or padding to make it to the 10 min mark though.

If 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
Why 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

#67
post #45

This 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 :)

Nothing too exciting, just “summarize this” followed by the transcript in quotes, it works very well

Re: YouTube Transcript – read YouTube videos

#68

Why 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?

Probably because it’s a hackathon style project that was slapped together and isn’t intended to support every use case. I’d recommend reaching out to the author with your feedback

Re: YouTube Transcript – read YouTube videos

#69
post #56

Earlier 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.

I've never seen this before now, but I just got a Google search result video page with a kind of table-of-contents index on one of the video hits just now. (These TOC entries don't correspond to the marked segments on the timeline. I don't know whether this is something YouTube is doing, or something the content creator did.)

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

#70
post #38

Hook 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.

YouTube created that problem by incentivizing longer videos. And now we have videos with tons of fluff.

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.

Post reply on HN