A tool for capturing captions and transcripts from online videos
simonwillison.net
simonwillison.net
I'm constantly finding myself remembering a part of a video I saw a long time ago (e.g. Robert Sapolsky's hour-long lectures on human behavioral biology) and I've wasted more than a few days just trying to figure out which of his two dozen lectures it was. Filmot solved this for me, but I still have this problem with badly captioned videos or non-yt videos. This tool seems perfect for building a personal, searchable collection
I may pivot to this Github Action so my CPU doesn't explode.
[0] jack at koptional dot com
https://github.com/featurestoreorg/serverless-ml-course
Disclaimer: I am involved in it.
The automatic thing is interesting, and i'll have to check how to use whisper, i have a ton of old DVD rips that either have no subtitles or opensubtitles that have severe timing issues that make them unusable with a dumb player (like roku).
(No affiliation).
Not a lawyer but pretty sure that is a violation of their ToS
The workflow I've written here is a shortcut for writing content directly to the repository. You could go and run the commands on your laptop and copy-and-paste the extracted captions into a file and push them to the repo... but Actions are specifically designed to automate that kind of process.
(Also: I've shown this to GitHub people who have worked on Actions and they thought it was really cool.)
I would have reached out to GH to ask for permission instead of asking for forgiveness.
I'll take my chances. If they tell me it's not a supported use-case, I'll update the project to tell people they shouldn't use it.
Now that you're top of HN and they might see more abuse of their systems, it'll just come more quickly.
Great work on the actions though, it is a pleasure to read the source code. Learning a few tricks in there.
> if using GitHub-hosted runners, any other activity unrelated to the production, testing, deployment, or publication of the software project associated with the repository where GitHub Actions are used.
is far more pertinent, and can be solved by self-hosting a runner.
EDIT: TIL you can! That's wild.
Kinda breaks the spirit of GHA, IMO. I like it, but I think it's a bad path to start down. Entirely IMO, keep in mind.
https://simonwillison.net/2022/Sep/30/action-transcription/ is my full write-up of the project
https://github.com/simonw/action-transcription is the project repository.