EDL export for VFR video should succeed and contain valid edit entries. EDL uses HH:MM:SS:FF frame counts at nominal fps, which is an approximation for VFR content. This test only verifies structural correctness, not exact timecodes.
(test_vfr_video: str, tmp_path)
| 355 | |
| 356 | |
| 357 | def test_vfr_edl_export(test_vfr_video: str, tmp_path): |
| 358 | """EDL export for VFR video should succeed and contain valid edit entries. |
| 359 | |
| 360 | EDL uses HH:MM:SS:FF frame counts at nominal fps, which is an approximation for VFR |
| 361 | content. This test only verifies structural correctness, not exact timecodes. |
| 362 | """ |
| 363 | exit_code, _ = invoke_cli( |
| 364 | [ |
| 365 | "-i", |
| 366 | test_vfr_video, |
| 367 | "-o", |
| 368 | str(tmp_path), |
| 369 | "detect-content", |
| 370 | "time", |
| 371 | "--end", |
| 372 | "10s", |
| 373 | "save-edl", |
| 374 | ] |
| 375 | ) |
| 376 | assert exit_code == 0 |
| 377 | edl_path = next(tmp_path.glob("*.edl")) |
| 378 | content = edl_path.read_text() |
| 379 | assert "FCM: NON-DROP FRAME" in content |
| 380 | assert "001 AX V" in content |
| 381 | |
| 382 | |
| 383 | @pytest.mark.parametrize("fcp_format", ["fcpx", "fcp7"]) |
nothing calls this directly
no test coverage detected