obs-StreamFX icon indicating copy to clipboard operation
obs-StreamFX copied to clipboard

Direct integration of NVIDIA NVENC encoder

Open Xaymar opened this issue 1 year ago • 0 comments

Discussion Thread

https://github.com/Xaymar/obs-StreamFX/discussions/856

Provide a summary of the Improvement

The current (via FFmpeg) integration is not ideal, we should aim for a direct integration of NVIDIA NVENC.

Completion Requirements

  • A reasonable amount of documentation should be present in the code.
  • Support for Windows and Linux with the available Graphics APIs in libOBS.
  • Zero-Copy and Multi-GPU encoding should be supported with the best matching API (if possible on the API).
  • Both H.264/AVC and H.265/HEVC should be available for encoding.
  • The User Interface should expose all useful UI options in a similar way to the (via FFmpeg) encoders. This includes the Custom Settings field, which allows users to specify settings that override everything shown in the UI.
  • All common encoding formats between libOBS and NVENC should be supported (NV12, I444, RGB) in the bitness available at implementation time.
  • Performance should be similar to the already existing (via FFmpeg) NVENC encoder, if not better. Memory usage is secondary and can be worse if necessary.

Xaymar avatar Aug 04 '22 16:08 Xaymar