-
-
Notifications
You must be signed in to change notification settings - Fork 829
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[keyframe] Handle missing frames within an input video
If a frame is missing in a video sequence, instead of throwing an exception straight away, try reading the next frame. If the next frame is valid, then push dummy scores for the missing frame, and keep processing the input video. Otherwise, do throw the exception and stop the process. The dummy scores will be ignored in the final keyframe selection (explicitly in the case of the motion accumulation computation, implicitly when applying the weights during the sharpness selection).
- Loading branch information
Showing
1 changed file
with
44 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters