dragonflight/services/capture/src
ZGaetano 0ea22e1e53 fix(capture): gate all-intra HEVC on growing-files; normal record uses long-GOP
The hevc_nvenc codec was hardcoded to all-intra (-force_key_frames expr:1), which
is ~4x the NVENC load. Applied to every recording it exceeded the L4's realtime
budget at 1080p59.94 10-bit -> fc_pipe dropped ~half the frames -> video came out
shorter than the (correct) audio -> A/V drift + pitch-up on playback.

Now all-intra is used ONLY when growing-files is on (where it's required for the
editable head). Normal recordings use efficient long-GOP HEVC (2s GOP, 2 B-frames)
which NVENC sustains in realtime with zero drops.
2026-06-04 04:09:14 +00:00
..
routes chore(capture): remove stale legacy FIFO path + pin capture profile 2026-06-04 02:50:57 +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): gate all-intra HEVC on growing-files; normal record uses long-GOP 2026-06-04 04:09:14 +00:00
index.js feat(recorders): always-on standby sidecars for deltacast, sdi, blackmagic 2026-06-03 21:59:33 +00:00