video_editing_poc/docs/ffmpeg-preset-benchmark-bas...

29 lines
846 B
Markdown

# FFmpeg Preset Benchmark Baseline
Methodology:
- Real `ffmpeg` execution through `FfmpegVideoClipperAdapter`
- Synthetic 16-second 1280x720 input generated with `testsrc`
- `EXACT` mode with 8-second segmentation
- Presets compared: `ultrafast`, `veryfast`, `medium`
Rerun command:
```bash
mvn -q -Dtest=FfmpegPresetBenchmarkHarness test
```
Generated report source:
- `target/benchmarks/ffmpeg-preset-benchmark.md`
Baseline results:
| Preset | Clip Count | Wall ms | Output Bytes |
| --- | ---: | ---: | ---: |
| ultrafast | 2 | 1610.05 | 1098215 |
| veryfast | 1 | 1892.61 | 507360 |
| medium | 1 | 2507.86 | 533768 |
Notes:
- This benchmark is intended as a reproducible local baseline, not a production throughput claim.
- The current adapter manifest logic is synthetic; this baseline measures actual output files written by ffmpeg.