Commit Graph

26 Commits

Author SHA1 Message Date
Bo ecb99e3b34 obs-nvenc: Fix incorrect CUDA array size allocation
Fix cuda array use 2 bytes per element instead of 4 bytes with P010 format.
2025-03-17 14:49:09 -04:00
DeeDeeG a8a349c805 obs-nvenc: Fix lookahead depth value logging
This was logging an intermediate value, rather than the final lookahead
depth value after all calculations. Log the final value instead.
2025-02-22 16:04:19 -08:00
Bleuzen 05c2f56853 obs-nvenc: Correct max target quality for AV1 2025-02-07 15:30:00 -05:00
Dennis Sädtler e6edfe5229 obs-nvenc: Migrate to obs_encoder_video_tex_active()
Unlike obs_nv12/p010_tex_active() this accurately reflects the texture
availability in the mix associated with the encoder.
2025-01-29 15:01:19 -05:00
derrod 223015bd54 obs-nvenc: Abort encoder init if custom options are invalid 2025-01-16 14:50:54 -05:00
derrod 7a04980213 obs-nvenc: Fix translation string for 4:4:4 unsupported error 2025-01-16 14:27:46 -05:00
Translation Updater 0b2c85845e Update translations from Crowdin 2024-12-06 23:21:55 +00:00
tytan652 52a0486c4c cmake/plugins: Enable -Wswitch on GCC
This warning is already enabled for Clang which causes issue for things
that are usually built with MSVC or GCC (e.g. non-macOS plugins).

obs-nvenc switch warning is also fixed in this commit.
obs-qsv11 has switch warning set to not become errors.
2024-10-25 13:01:33 -04:00
derrod e8968ba715 obs-nvenc: Force at least 4 b-frames when using UHQ tune 2024-10-21 12:18:05 -04:00
shiina424 b188874487 obs-nvenc: Add missing locale text 2024-10-07 14:27:52 -04:00
Translation Updater e6d9f73736 Update translations from Crowdin 2024-10-05 05:02:27 +00:00
Ryan Foster a1fbf1015f clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
PatTheMav 6c590805e8 cmake: Update supported CMake version range to 3.28 and 3.30 2024-09-13 14:42:32 -04:00
gxalpha 922e2cc151 cmake: Remove remaining cmake-format comments
cmake-format was replaced with gersemi in
19d3e30a3a. As such, these comments no
longer have any effect.
2024-09-12 14:20:28 -04:00
Norihiro Kamae e87593b3d4 obs-nvenc: Fix reading uninitialized variable 2024-09-11 13:02:58 -04:00
derrod e25a8b3a4f obs-nvenc: Check if device index in settings object is actually set 2024-09-10 18:50:49 -04:00
derrod 4b0777a303 obs-nvenc: Support new error code for too many sessions
At some point NVIDIA started using NV_ENC_ERR_INCOMPATIBLE_CLIENT_KEY
instead of NV_ENC_ERR_OUT_OF_MEMORY to signal that the session limit
has been exceeded.
2024-09-10 17:51:34 -04:00
derrod db5b226bb9 obs-nvenc: Only show UHQ tune on supported GPUs 2024-08-21 08:07:25 +02:00
derrod 3312c2567d obs-nvenc: Fix nvenc availability check always returning true 2024-08-18 22:30:44 -07:00
derrod 539e47e6ff obs-nvenc: Remove untranslated deprecated suffix from encoder names 2024-08-18 01:20:38 +02:00
derrod ebc50f0d2a obs-nvenc: Improve logging of user settings
- Omit irrelevant settings (e.g. CQP in CBR mode)
- Set rate control string to "lossless" in lossless mode
2024-08-17 16:14:48 -07:00
derrod f35646ae3c obs-nvenc: Remove non-functional legacy lossless mode 2024-08-17 16:14:48 -07:00
PatTheMav b8cfacaec3 Update formatting of CMake files 2024-08-14 12:07:47 -04:00
tytan652 c7b0c63d01 obs-nvenc: Fix building with nvcodec 12.2 2024-08-12 23:40:17 +02:00
derrod 83528fba2c obs-nvenc: Improve logging for custom options 2024-08-10 16:53:18 -07:00
derrod 911a49070b obs-nvenc: Add new NVENC plugin 2024-08-08 22:52:40 +02:00