Move the per-codec CodecInit flag groups to VideoCodec.ExtraArgs and add
ExtraArgsHQ(preset, crf) for quality-oriented encoding. Neither emits
-c:v; callers set that explicitly.
Rename hw* methods to HW*, change HWCanFullHWTranscode /
HWMaxResFilter to take path/width/height primitives, and flip the
HWCodec*Compatible helpers to take a default codec.
Merge ScaleMaxLM into a single 5-arg ScaleMax.
* HW Accel
* CUDA Docker build and adjust the NVENC encoder
* Removed NVENC preset
Using legacy presets is removed in SDK 12 and deprecated since SDK 10.
This commit removed the preset to allow ffmpeg to select the default one.
---------
Co-authored-by: Nodude <>
Co-authored-by: WithoutPants <53250216+WithoutPants@users.noreply.github.com>