MCPcopy Index your code
hub / github.com/Breakthrough/PySceneDetect / test_cfr_position_is_timecode

Function test_cfr_position_is_timecode

tests/test_vfr.py:211–215  ·  view source on GitHub ↗

CFR video positions should also be Timecode-backed with PTS support.

(test_movie_clip: str)

Source from the content-addressed store, hash-verified

209
210
211def test_cfr_position_is_timecode(test_movie_clip: str):
212 """CFR video positions should also be Timecode-backed with PTS support."""
213 video = open_video(test_movie_clip, backend="pyav")
214 assert video.read() is not False
215 assert isinstance(video.position._time, Timecode)
216
217
218def test_cfr_frame_num_exact(test_movie_clip: str):

Callers

nothing calls this directly

Calls 2

open_videoFunction · 0.90
readMethod · 0.45

Tested by

no test coverage detected