Feature: move HLS preview encode from libx264 to h264_nvenc #164
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Context
The capture container runs two encodes per signal: the master (now
hevc_nvencon GPU after #161) and the HLS monitor preview, which is stilllibx264on CPU. Confirmed live: during an NVENC SDI capture,docker topshowed-c:v hevc_nvenc(master) and-c:v libx264(HLS).Proposal
Switch the HLS preview output to
h264_nvenc. The capture image already hash264_nvenc(verified post-#161), and the sidecar already gets the GPU when the master codec is nvenc.Why
This is the last CPU video encoder in the capture path. Removing it is a prerequisite for the 8-signals-per-node goal (design doc §5/§9) — otherwise per-signal CPU stays meaningfully non-zero. Should gate on: only use nvenc HLS when the sidecar already has a GPU (i.e., master is nvenc), else keep libx264.