Skip to content

Conversation

@Breakthrough
Copy link
Owner

With the new flash filter, cuts may be placed behind the current frame.

This is similar to AdaptiveDetector, but when the new filter was landed, the max look behind property of the detector wasn't updated. Fixes #416.

With the new flash filter, cuts may be placed behind the current frame.

This is similar to AdaptiveDetector, but when the new filter was landed,
the max look behind property of the detector wasn't updated. Fixes #416.
@Breakthrough Breakthrough requested a review from wjs018 September 28, 2024 16:05
@Breakthrough Breakthrough self-assigned this Sep 29, 2024
@Breakthrough Breakthrough added this to the 0.6.5 milestone Sep 29, 2024
@wjs018
Copy link
Collaborator

wjs018 commented Oct 5, 2024

Another part of the codebase I am not super familiar with, but I think I got myself up to speed. Basically, the ContentDetector (and, by inheritance, the AdaptiveDetector) sets the min_scene_len which is then passed on to the FlashFilter as the max_behind property. This is then used to define the event_buffer_length property for the detector. This corrects the problem in #416 where that property isn't overriden from the default of 0.

@Breakthrough Breakthrough merged commit 08eb26e into main Oct 6, 2024
@Breakthrough
Copy link
Owner Author

Many thanks for the review @wjs018

@Breakthrough Breakthrough deleted the issue-416 branch November 11, 2024 01:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

detect_scenes seems to fail when used with callback

3 participants