-
Notifications
You must be signed in to change notification settings - Fork 1
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
Video captions #227
Comments
Maybe GB could, in a backward compatible way, provide the clientID to the upload function somehow. |
There's also https://github.com/xenova/whisper-web, though it seems more useful for transcripts |
The current solution seems to work fine, though needs some fine-tuning to ensure proper length (x words/characters per line). Not sure if it does proper sentences to split by, but that could be an option. |
Would be good to compare the current solution with https://github.com/xenova/whisper-web. The upcoming release there might have better support for word-level timestamps, which would help for subtitles, but even without that it seems to have good output already. |
|
Once captions are generated, an editor a la https://vtt-creator.com (https://github.com/roballsopp/vtt-creator, no open source license) would be nice. https://github.com/opusonline/webvtt-editor could be a starting point. |
Apparently the fastest solution at the moment: https://github.com/FL33TW00D/whisper-turbo |
Ability to create video subtitles on-demand.
Unfortunately it's not possible to do this automatically for new uploads, as the upload queue has no knowledge about which exact block the video is for, and can't update its attributes. And the
onChange
callback doesn't update thetracks
either: https://github.com/WordPress/gutenberg/blob/4494a79e24bfbbcda97ce9af5db3dcb9e81b09f6/packages/block-library/src/video/edit.js#L133-L156The text was updated successfully, but these errors were encountered: