voelin-media: load FFmpeg at runtime for more video encoders (WIP)
Hardware encoders (VA-API, NVENC, Quick Sync, AMF, Media Foundation, VideoToolbox) and more software ones (x264, OpenH264, SVT-AV1, rav1e, libaom) through whatever FFmpeg is installed, found with libloading and never linked. Codec settings go through AVOptions only; the few struct fields without an accessor are located and checked at runtime, so any major version with a matching layout works. Each backend encodes one test frame at startup and is skipped with a reason if that fails. Codecs gains an encoder preference (hardware on/off, auto / software / a named backend) and a report of every backend for the UI. Codec gets H265 for peers that negotiate HEVC. Work in progress: committed early so it cannot be lost. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
10 files changed
+2773
-128
No files matched your search
File diff suppressed because it is too large.
Load diff
Reference in new issue
Block a user