The framecache ring delivers frame-accurate frames at exactly the SDI clock rate. -use_wallclock_as_timestamps was wrong for this source — it stamped frames by ffmpeg arrival time rather than capture time, causing the recorded file to report wrong framerates (e.g. 56.06 instead of 59.94) and a glitchy first second at startup (NVENC cold-start backlog bunched timestamps). Fix: remove -use_wallclock_as_timestamps from the rawvideo (pipe:0) input and rely on -framerate for correct CFR timestamps from frame 0. Audio keeps its FIFO wallclock; aresample=async=1 on the master output resamples audio to align with the CFR video PTS. |
||
|---|---|---|
| .. | ||
| routes | ||
| s3 | ||
| capture-manager.js | ||
| index.js | ||