-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Add support for transcripts #2564
Comments
For replacing captions, note that there wouldn't be any styling info (positioning, color, etc) with the transcriptions (also some videos like 0hEvBW2NFQU will give spammy transcripts with mismatched timestamps but this also happens on normal VTT captions) |
For supporting transcripts there's videojs-transcript though it doesn't appear to be maintained. |
I imagine this would help both for people with disabilities and also for tools which use the transcript as a source for summarization. |
Yep transcripts are great for that. Since the issue opened in 2021, the logic for requesting transcripts has been added to the code to be used as a workaround for captions on larger instances. Now all that's left to do is to add a proper API endpoint for video transcriptions, and a UI component. |
Any movement on this since Jan? |
I've finished implementing a basic transcripts feature into Invidious. You can find the code over at my branch here https://github.com/syeopite/invidious/tree/transcripts-support The feature is pretty much done but I'd like to work on a couple more QOL improvements, particularly to people with JS enabled, before sending a PR upstream. |
Add support for transcripts
They're accessed via the following InnerTube endpoint:
https://www.youtube.com/youtubei/v1/get_transcript?key=AIzaSyAO_FJ2SlqU8Q4STEHLGCilw_Y9_11qcW8
And requested via "params":
<protobuf encoded video-id>
Notes:
caption
endpoint (do their content differ?)Issue opened on the behalf of @syeopite, and thanks to @TiA4f8R for the screenshot :)
The text was updated successfully, but these errors were encountered: