You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can work for videos that have captions/subtitles (YouTube can even auto-generate them). Each caption has a time range that is supposed to be displayed for:
WEBVTT
00:01.000 --> 00:04.000
- Never drink liquid nitrogen.
00:05.000 --> 00:09.000
- It will perforate your stomach.
- You could die.
We could simply skip every range that doesn't have captions (subtitles?). Fortunately, the cloning algorithm already implements skipping according to an array of time ranges, so it's a matter of bootstrapping stuff:
WofWca
changed the title
feat: new skipping algorithm: based on captions (subtitles)
feat: new skipping algorithm: based on caption (subtitle) timing
Mar 15, 2023
WofWca
changed the title
feat: new skipping algorithm: based on caption (subtitle) timing
feat: new skipping algorithm: based on caption (subtitle) timings
Mar 15, 2023
Fadi suggested this.
It can work for videos that have captions/subtitles (YouTube can even auto-generate them). Each caption has a time range that is supposed to be displayed for:
We could simply skip every range that doesn't have captions (subtitles?). Fortunately, the cloning algorithm already implements skipping according to an array of time ranges, so it's a matter of bootstrapping stuff:
jumpcutter/src/entry-points/content/ElementPlaybackControllerCloning/ElementPlaybackControllerCloning.ts
Line 427 in 90931ad
See https://developer.mozilla.org/en-US/docs/Web/Guide/Audio_and_video_delivery/Adding_captions_and_subtitles_to_HTML5_video for more on captions in browsers.
The text was updated successfully, but these errors were encountered: