MCPcopy Create free account
hub / github.com/Breakthrough/PySceneDetect / Mode

Class Mode

scenedetect/detector.py:109–115  ·  view source on GitHub ↗

Which mode the filter should use for enforcing minimum scene length.

Source from the content-addressed store, hash-verified

107 """Filters fast-cuts to enforce minimum scene length."""
108
109 class Mode(Enum):
110 """Which mode the filter should use for enforcing minimum scene length."""
111
112 MERGE = 0
113 """Merge consecutive cuts shorter than filter length."""
114 SUPPRESS = 1
115 """Suppress consecutive cuts until the filter length has passed."""
116
117 def __init__(self, mode: Mode, length: TimecodeLike):
118 """

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected