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

Method pts

scenedetect/common.py:311–315  ·  view source on GitHub ↗

The presentation timestamp of the frame in units of `time_base`.

(self)

Source from the content-addressed store, hash-verified

309
310 @property
311 def pts(self) -> int:
312 """The presentation timestamp of the frame in units of `time_base`."""
313 if isinstance(self._time, Timecode):
314 return self._time.pts
315 return self.frame_num
316
317 def get_frames(self) -> int:
318 """[DEPRECATED] Get the current time/position in number of frames.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected