Timed YouTube video transcripts in .txt and .pdf

Timed YouTube video transcripts in .txt and .pdf

6 pointsby cristyg01011 comments

Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • Is there a simple tool to download YouTube transcripts with speaker identification?
  • 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
  • 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.

  • I've added that, thanks please check it out