dragonflight/services/capture/src
Wild Dragon Dev a096226072 fix(capture): remove -use_wallclock_as_timestamps from framecache video input
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.
2026-06-03 22:30:03 +00:00
..
routes fix(capture): add auth header to finalize call in POST /capture/stop 2026-06-03 22:11:15 +00:00
s3 fix(infra+workers): S3 creds, ffprobe, BullMQ awaits, thumbnail seek, bin optional, docker-compose vars, jobs Redis, recorders stop codes: client.js 2026-05-16 00:29:47 -04:00
capture-manager.js fix(capture): remove -use_wallclock_as_timestamps from framecache video input 2026-06-03 22:30:03 +00:00
index.js feat(recorders): always-on standby sidecars for deltacast, sdi, blackmagic 2026-06-03 21:59:33 +00:00