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

Function test_vfr_drop3_video

tests/conftest.py:123–130  ·  view source on GitHub ↗

Synthetic VFR video created from goldeneye.mp4 by dropping every 3rd frame. Frame pattern: keeps frames where (n+1) % 3 != 0 (i.e. drops frames 2,5,8,...). Resulting PTS durations alternate: 1001, 2002, 1001, 2002, ... (time_base=1/24000). Nominal fps: 24000/1001. Average fps: ~16 fps.

()

Source from the content-addressed store, hash-verified

121
122@pytest.fixture
123def test_vfr_drop3_video() -> str:
124 """Synthetic VFR video created from goldeneye.mp4 by dropping every 3rd frame.
125
126 Frame pattern: keeps frames where (n+1) % 3 != 0 (i.e. drops frames 2,5,8,...).
127 Resulting PTS durations alternate: 1001, 2002, 1001, 2002, ... (time_base=1/24000).
128 Nominal fps: 24000/1001. Average fps: ~16 fps. Duration: ~10s, 160 frames.
129 """
130 return check_exists("tests/resources/goldeneye-vfr-drop3.mp4")
131
132
133@pytest.fixture

Callers

nothing calls this directly

Calls 1

check_existsFunction · 0.85

Tested by

no test coverage detected