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

Function test_vfr_stats_manager

tests/test_vfr.py:137–144  ·  view source on GitHub ↗

StatsManager should work correctly with VFR video.

(test_vfr_video: str)

Source from the content-addressed store, hash-verified

135
136
137def test_vfr_stats_manager(test_vfr_video: str):
138 """StatsManager should work correctly with VFR video."""
139 video = open_video(test_vfr_video, backend="pyav")
140 stats = StatsManager()
141 sm = SceneManager(stats_manager=stats)
142 sm.add_detector(ContentDetector())
143 sm.detect_scenes(video=video)
144 assert len(sm.get_scene_list()) > 0
145
146
147def test_vfr_csv_output(test_vfr_video: str, tmp_path):

Callers

nothing calls this directly

Calls 7

add_detectorMethod · 0.95
detect_scenesMethod · 0.95
get_scene_listMethod · 0.95
open_videoFunction · 0.90
StatsManagerClass · 0.90
SceneManagerClass · 0.90
ContentDetectorClass · 0.90

Tested by

no test coverage detected