The startup probe opened every encoder in the table, which took 1.77 s here
and froze the app's first use for that long, and it let the libraries behind
them print about thirty lines to standard error on every run.
Most of the time went on hardware that is not in the machine: a self-test of
a family whose vendor is absent still runs its driver's initialisation
before failing, 1.7 s for av1_nvenc and 1.2 s for vp9_qsv here. Read the PCI
vendors of the DRM render nodes once and skip those families outright; when
the vendors cannot be read nothing is skipped, so an unusual setup only pays
what it paid before. The report gains a plain reason ("no NVIDIA GPU in this
machine") in place of a CUDA error code.
FFmpeg's own log already goes to tracing, but SVT-AV1's build banner, AMF's
GetProperty warnings and Mesa's RADV_PERFTEST notice are written to the
descriptor by the libraries themselves. Point standard error at a temporary
file while the self-tests run and log what landed there as one debug record;
VOELIN_FFMPEG_PROBE_STDERR=1 leaves it alone.
Measured with `voelinctl stream encoders` (release): 1.77 s before, 0.93-1.12
s after, 12 backends tested instead of 20, and nothing on standard error.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>