mirror of
https://github.com/CCExtractor/ccextractor.git
synced 2026-02-14 13:35:43 +00:00
Correct timing issues #207
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Rosehip1248 on GitHub (Dec 2, 2016).
I played the file through PotPlayer as VLC frame by frame doesn’t display subtitles. Attached are several screenshots where the subtitles were not necessarily needed to be displayed. However, subtitles are displayed before or after they have to be displayed to have a lead-in or lead out time. This ensures that the person watching the program has time to read the closed captions. A typical lead out can be 500ms as this tends to be the default in subbing software, such as Aegisub. Lead-ins tend to be shorter as a character before has just spoken, the default being 125-200ms.
Sometimes, subtitles are timed to a scene as this makes it easier for the user to read them and understand who is speaking. This is achieved by creating keyframes for the video which detect a scene change and are correct to the millisecond. Attached are subtitles which I timed in Aegisub - which are better suited to the scene, while ensuring characters per second are low so a user can still read the subtitles.
Closed captions tend to be snapped one after each other (there is no time gap between the previous line), to ensure flicker does not occur and become annoying for the user to watch. Usually, subtitles have a millisecond gap between them, causing flicker to occur. In the sample material, there was a slight flicker present. However, this wasn’t too noticeable.
Longer sentences tend to be split as they look better this way. This makes it easier for the user to read the subtitles and can identify when there is a pause between people saying something. Within this clip, there was split sentences where a pause occurred, but to a hard of hearing person it would be hard to identify this as the pause was timed to a scene with no comma. While I re-timed the subtitles, I also ensured that flicker didn’t occur along with split sentences making more sense.
Sample material used - https://sampleplatform.ccextractor.org/sample/297a44921a12ca5c69242ba898d0d5047bea25a1633f4a514ecbbc50ba41d638
Re-timed Files.zip





@cfsmp3 commented on GitHub (Jan 20, 2017):
GSoC qualification: This issues gives 4 points (don't underestimate this task).
@jimboH commented on GitHub (Feb 20, 2018):
I would like to work on this issue.
@cfsmp3 commented on GitHub (Feb 20, 2018):
@jimboH go for it :-) good luck!
@sr6033 commented on GitHub (Mar 15, 2018):
I am kind of confused. Have you modified the code as mentioned in last line or suggesting such an edit?
@dhrumilp15 commented on GitHub (Jan 19, 2020):
For clarification,
OR
I'm really just trying to isolate the issue - are the produced subtitles are late (first question) or should we pursue a more involved solution in which we determine when different characters begin speaking to correct the subtitles originally present in the video (second question)?
@cfsmp3 commented on GitHub (Dec 14, 2025):
Closing - timing issues fixed