(vfr_bframes_video, backend)
| 61 | @pytest.mark.release |
| 62 | @pytest.mark.parametrize("backend", ["opencv", "pyav"]) |
| 63 | def test_vfr_bframes_accuracy(vfr_bframes_video, backend): |
| 64 | video = open_video(vfr_bframes_video, backend=backend) |
| 65 | # Ensure B-frames don't cause issues with frame ordering or detection |
| 66 | scene_manager = SceneManager() |
| 67 | scene_manager.add_detector(ContentDetector()) |
| 68 | scene_manager.detect_scenes(video) |
| 69 | |
| 70 | assert video.duration is not None |
| 71 | assert video.duration.seconds > 0 |
| 72 | |
| 73 | |
| 74 | @pytest.mark.release |
nothing calls this directly
no test coverage detected