obs-studio/plugins/obs-ffmpeg
Ryan Foster 6f3f7b4e5a obs-ffmpeg: Fix NVENC compatibility hack for old drivers/hardware
Add a COMPAT version of NV_ENC_INITIALIZE_PARAMS_VER, which changed
between SDK 12.0 and 12.1.

If using drivers older than the configured SDK/API requires, fall back
to the compatibility version of the API (11.1).

An example scenario would be encoding in H.264 on driver version 512.15.
SDK 12.1 requires driver version 531.61 on Windows. Currently, in this
scenario, OBS will fall back to the FFmpeg encoder path, which will do
its own driver check, which will fail on this driver version.

With this change, this scenario will instead leverage the existing
compatibility hack to fall back to the compatibility version of the API
without falling back to FFmpeg.

It should be noted that while neat, the compatibility hack that enables
Kepler GPUs to continue to be able to use NVENC in this way is expected
to be removed at some point.
2024-03-27 19:11:26 -04:00
..
cmake obs-ffmpeg: Fix incorrect CMake list syntax 2024-01-08 19:49:04 -05:00
data/locale Update translations from Crowdin 2024-03-12 18:11:06 +00:00
ffmpeg-mux obs-ffmpeg: Fix HDR metadata not being written when using FFmpeg 6.1+ 2024-03-14 17:12:20 -04:00
obs-amf-test cmake: Add changes for CMake build framework 3.0 2023-06-29 10:11:32 -04:00
obs-nvenc-test cmake: Fix configuration errors with Windows legacy path 2023-06-30 11:56:57 -04:00
CMakeLists.txt plugins: Update CMake formatting with manual format choices 2023-12-19 17:59:44 -05:00
obs-ffmpeg-audio-encoders.c obs-ffmpeg: Replace circlebuf with deque 2024-01-16 16:45:10 +01:00
obs-ffmpeg-av1.c Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-ffmpeg-compat.h obs-ffmpeg: Remove legacy FFmpeg compatibility 2023-07-12 15:57:43 -04:00
obs-ffmpeg-config.h.in obs-ffmpeg: Add HEVC support to NVENC 2022-04-28 08:59:53 -07:00
obs-ffmpeg-formats.h libobs,UI: Add P216/P416 pixel formats 2023-02-21 18:48:44 +01:00
obs-ffmpeg-hls-mux.c obs-ffmpeg: Replace circlebuf with deque 2024-01-16 16:45:10 +01:00
obs-ffmpeg-logging.c obs-ffmpeg: Separate logging code 2019-07-09 10:07:24 -07:00
obs-ffmpeg-mpegts.c obs-ffmpeg: Fix HDR metadata not being written when using FFmpeg 6.1+ 2024-03-14 17:12:20 -04:00
obs-ffmpeg-mux.c obs-ffmpeg: Replace circlebuf with deque 2024-01-16 16:45:10 +01:00
obs-ffmpeg-mux.h obs-ffmpeg: Replace circlebuf with deque 2024-01-16 16:45:10 +01:00
obs-ffmpeg-nvenc.c obs-ffmpeg: Add disable_scenecut option for NVENC 2024-01-13 17:49:34 -06:00
obs-ffmpeg-output.c obs-ffmpeg: Fix HDR metadata not being written when using FFmpeg 6.1+ 2024-03-14 17:12:20 -04:00
obs-ffmpeg-output.h obs-ffmpeg: Set audio stream title for FFmpeg record output 2024-01-26 22:28:36 -05:00
obs-ffmpeg-rist.h Update source code formatting with clang-format 17.0.3 2024-03-11 15:55:30 -04:00
obs-ffmpeg-source.c obs-transitions: Fix stingers lingering on last frame 2023-08-04 11:13:31 -07:00
obs-ffmpeg-srt.h obs-ffmpeg: Do not include sys/timeb.h on non-Windows system 2023-08-26 16:52:52 -07:00
obs-ffmpeg-url.h Update source code formatting with clang-format 17.0.3 2024-03-11 15:55:30 -04:00
obs-ffmpeg-vaapi.c obs-ffmpeg: Receive packets while frame queue is full 2024-02-10 17:25:14 -06:00
obs-ffmpeg-video-encoders.c obs-ffmpeg: Set framerate for AVCodecContext outputs 2023-04-03 23:28:31 +00:00
obs-ffmpeg-video-encoders.h deps,libobs,plugins: Fix discarded-qualifiers warnings with FFmpeg 5 2022-07-22 08:50:36 -04:00
obs-ffmpeg.c obs-ffmpeg: Add AV1 support for VA-API 2024-01-23 15:19:44 -05:00
obs-nvenc-helpers.c obs-ffmpeg: Only use NVENC compatibility hack if necessary 2024-01-06 18:38:43 -06:00
obs-nvenc-ver.h Update copyrights/names 2023-05-20 01:31:18 -07:00
obs-nvenc.c obs-ffmpeg: Fix NVENC compatibility hack for old drivers/hardware 2024-03-27 19:11:26 -04:00
obs-nvenc.h obs-ffmpeg: Only use NVENC compatibility hack if necessary 2024-01-06 18:38:43 -06:00
texture-amf-opts.hpp obs-ffmpeg: Add AMF AV1 encoder 2022-11-18 18:18:08 -08:00
texture-amf.cpp obs-ffmpeg: Fix wrong framerate in AMF VUI header 2024-02-03 17:31:00 -06:00
vaapi-utils.c obs-ffmpeg: Add AV1 support for VA-API 2024-01-23 15:19:44 -05:00
vaapi-utils.h obs-ffmpeg: Add AV1 support for VA-API 2024-01-23 15:19:44 -05:00