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

Function _frame_timecode_seconds

scenedetect/output/__init__.py:331–333  ·  view source on GitHub ↗

Exact seconds for `tc` as a `Fraction`, derived from PTS * time base.

(tc: FrameTimecode)

Source from the content-addressed store, hash-verified

329
330
331def _frame_timecode_seconds(tc: FrameTimecode) -> Fraction:
332 """Exact seconds for `tc` as a `Fraction`, derived from PTS * time base."""
333 return Fraction(tc.pts) * tc.time_base
334
335
336def write_scene_list_fcpx(

Callers 1

write_scene_list_fcpxFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected