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

Method get_framerate

scenedetect/common.py:331–343  ·  view source on GitHub ↗

[DEPRECATED] Get Framerate: Returns the framerate used by the FrameTimecode object. Use the `framerate` property instead. :meta private:

(self)

Source from the content-addressed store, hash-verified

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.
333
334 Use the `framerate` property instead.
335
336 :meta private:
337 """
338 warnings.warn(
339 "get_framerate() is deprecated, use the `framerate` property instead.",
340 DeprecationWarning,
341 stacklevel=2,
342 )
343 return self.framerate
344
345 def equal_frame_rate(self, other: "float | Fraction | FrameTimecode") -> bool:
346 """Determine whether the passed frame rate equals this object's frame rate.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected