Repository navigation
v0.95.66
fix: remove maxEncodeWidth/Height that broke AV1 P-frame decode
Setting maxEncodeWidth=3840/maxEncodeHeight=2160 at NVENC init caused
the AV1 sequence header to advertise 3840x2160 max dimensions even for
small frames (e.g. 300x300). Chrome decoded the initial keyframe but
silently failed on subsequent P-frames, resulting in a frozen image
with fps=0 in the viewer.
Remove the hardcoded max dimensions. The default (0 = match encode
size) produces correct AV1 sequence headers. Reconfigure for upsizing
will need full encoder rebuild instead, but downsizing works fine.
Co-Authored-By: Claude Opus 4.6 (1M context) noreply@anthropic.com