Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
set b_ref_mode=0 for ffmpeg NVENC encoder (#2074)
Older NVIDIA cards (e.g. GTX 1650) don't support this feature, and ffmpeg somehow force-enabled it, despite docs saying it should be set to "auto", and --help saying the default is "disabled". Setting it to "disabled" in the encoder works around this issue. ALVR does not currently use multiple B frames, so there should be no difference and no obvious difference was visible when testing. The feature is documented as: "Using B frame as a reference improves subjective and objective encoded quality with no performance impact. Hence the users enabling multiple B frames are strongly recommended to enable this feature." Co-authored-by: David Rosca <[email protected]>
- Loading branch information