Timed YouTube video transcripts in .txt and .pdf

Posted by cristyg0101 2 days ago

Counter7Comment4OpenOriginal

hello people,

I want to share with you the tool Im working on at the moment that does exactly what you see in the title, something pretty simple, want feedback please.

have a good day :)

link: https://pelicantools.app/tools/youtube-to-transcript

Comments

Comment by Leftium 1 day ago

Clickable link: https://pelicantools.app/tools/youtube-to-transcript

It would be amazing if clicking the timestamps opened the video at that time. I often want to search inside a video for certain text, then watch the video at that point. (YouTube supports linking to videos at a given timestamp like https://youtu.be/tL9Lw250spc?t=199)

It's kind of possible with the YouTube UI, but not a very good user experience.

Comment by cristyg0101 1 day ago

I've added that, thanks please check it out

Comment by verdverm 2 days ago

Why a closed source webpage over something unix-y like: yt-dlp + rendering tool, for example

    yt-dlp --skip-download --write-sub --write-auto-sub --sub-lang en --sub-format json3 -o transcript <video>

    cue eval json: transcript.en.json3 -e 'strings.Join(list.FlattenN([for _,evt in events if evt.segs != _|_ for _,s in evt.segs { s.utf8} ],2),"")' --out text > transcript.en.txt
Bonus with yt-dlp is that it supports a lot more than YT

Comment by mkbkn 1 day ago

Is there a simple tool to download YouTube transcripts with speaker identification?