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

Method _get_cutting_list

scenedetect/scene_manager.py:375–380  ·  view source on GitHub ↗

Return a sorted list of unique frame numbers of any detected scene cuts.

(self)

Source from the content-addressed store, hash-verified

373 return sorted(scene_list)
374
375 def _get_cutting_list(self) -> list[FrameTimecode]:
376 """Return a sorted list of unique frame numbers of any detected scene cuts."""
377 if not self._cutting_list:
378 return []
379 # Ensure all cuts are unique by using a set to remove all duplicates.
380 return [cut for cut in sorted(set(self._cutting_list))]
381
382 def _process_frame(
383 self,

Callers 2

get_scene_listMethod · 0.95
get_cut_listMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected