viser v0.7.0
Completes the hardware encode/decode matrix.
Added
- AV1 hardware encoders — completes the encode matrix:
av1_nvenc,av1_qsv,
av1_vaapi,av1_amf(noav1_videotoolbox— Apple ships no AV1 encoder).
Requires recent silicon (Arc/Battlemage, Ada/Blackwell, RDNA3+). Selectable by
name/alias across all analysis and encode commands. - Hardware-accelerated decode —
EncodeJob.hwacceland theencode --hwaccel
flag inject-hwaccel <method>(e.g.vaapi,cuda,qsv,videotoolbox)
before the input; available methods are detected viaffmpeg -hwaccelsat startup.
Fixed
- VAAPI encode surface plumbing — VAAPI encoders (
h264_vaapi,hevc_vaapi,
av1_vaapi) now initialise a render device (-vaapi_device, overridable via
VISER_VAAPI_DEVICE) and upload frames to GPU surfaces (format=nv12,hwupload)
via a unified-vffilter chain. Previously VAAPI encodes were emitted with
software frames and would fail on real hardware.
Changed
EncodeJobgained ahwaccel: Option<String>field (breaking for
struct-literal construction).