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

Method get_frames

scenedetect/common.py:317–329  ·  view source on GitHub ↗

[DEPRECATED] Get the current time/position in number of frames. Use the `frame_num` property instead. :meta private:

(self)

Source from the content-addressed store, hash-verified

315 return self.frame_num
316
317 def get_frames(self) -> int:
318 """[DEPRECATED] Get the current time/position in number of frames.
319
320 Use the `frame_num` property instead.
321
322 :meta private:
323 """
324 warnings.warn(
325 "get_frames() is deprecated, use the `frame_num` property instead.",
326 DeprecationWarning,
327 stacklevel=2,
328 )
329 return self.frame_num
330
331 def get_framerate(self) -> float | None:
332 """[DEPRECATED] Get Framerate: Returns the framerate used by the FrameTimecode object.

Callers 1

generate_goldenFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected