Commit Graph

4910 Commits

Author SHA1 Message Date
Lain 4d7bc233d7 linux-capture: Move xcomp window ID decoding to its own func
Moves the window handle/name/class decoding code out of the
xcb_find_window() function and into its own dedicated function so it can
be used elsewhere. This s*** is cursed.
2024-09-03 13:28:18 -07:00
Lain c837d3b533 linux-capture: Set xcomposite capture retry interval to 2sec
Half a second was a bit too often and was spamming the debug logging
when a window wasn't found.
2024-09-03 13:28:18 -07:00
Ryan Foster 16011f7c29 obs-browser: Update version to 2.24.2
98d94a4 - Enable Qt message loop on Linux
8e2b31f - Set the right Ozone platform on Linux
6451941 - Wait on shutdown for docks to close on Linux
174e6a8 - Remove CMake legacy code path
e4e523d - Update version to 2.24.2
2024-08-30 18:29:57 -04:00
Ryan Foster cba6ed40d2 win-dshow: Fix CMake preventing Virtual Camera from working
The code prior to this change would never add virtualcam.c to the
win-dshow target, which resulted in the virtualcam_output not being
registered and thus Virtual Camera not working.

Co-authored-by: PatTheMav <PatTheMav@users.noreply.github.com>
2024-08-28 18:10:08 -04:00
tytan652 72428ccd97 Remove CMake legacy code path
Except submodules and legacy_check macro since the former depend on it.
2024-08-28 13:53:25 -04:00
gxalpha 92d5b45a50 mac-capture: Remove disp_finished event
This event is only used within destroy_[audio]_screen_stream, and does
not appear to be necessary there. stopCaptureWithCompletionHandler holds
a reference to the SCStream object by itself (and the other objects
being held aren't used afterwards anyways), so there should be no harm
in releasing everything immediately without blocking.
2024-08-25 10:17:06 +10:00
Norihiro Kamae 15038232c5 obs-ffmpeg: Remove unexisting class name declaration
The class `Logger` was declared but it is never defined nor used.
2024-08-24 16:12:12 -07:00
Michael Gillett 14f44dfe06 rtmp-services: Add NFHS Network 2024-08-23 16:31:41 -04:00
pkv f9bf7e6c00 obs-filters: Add NVIDIA Blur Filter & Background Blur
This adds a Background Blur filter which blurs the background for a
foreground speaker identified by NVIDIA AI Greenscreen FX.
Secondly, this adds a Blur filter based on NVIDIA Video Effects,
leveraging the Background Blur Filter where the mask used just sets the
whole frame as background.

Signed-off-by: pkv <pkv@obsproject.com>
2024-08-23 15:19:38 -04:00
derrod 489f050faf win-dshow: Remove compatibility with FFmpeg < 6.1 2024-08-23 13:44:04 -04:00
derrod baa1e1dc35 obs-ffmpeg: Remove compatibility with FFmpeg < 6.1 2024-08-23 13:44:04 -04:00
Len f96cf354e6 rtmp-services: Remove Hakuna Live RTMP service 2024-08-22 20:33:50 -04:00
Ryan Foster 9870cfe77b rtmp-services: Update package.json version 2024-08-22 16:51:13 -04:00
LightcastMediaCloud ab6ecde20f rtmp-services: Update Lightcast.com to Premium CDN
Incremented Version

Update services.json

Updated Lightcast.com to new Premium CDN
2024-08-22 16:18:33 -04:00
PatTheMav 46b5f7e6d0 plugins: Remove CMake legacy code paths for Windows modules 2024-08-22 15:39:00 -04:00
derrod db5b226bb9 obs-nvenc: Only show UHQ tune on supported GPUs 2024-08-21 08:07:25 +02:00
PatTheMav af2aa9b6ff shared: Remove shared interface libraries from their original locations 2024-08-20 16:00:21 -04:00
PatTheMav d81fcd70e0 cmake: Update cross-platform build project management for Windows
Enables creation of x64 and x86 child projects when building on ARM64
and decouples functionality from legacy_check function
2024-08-20 16:00:21 -04:00
gxalpha f2b5a01a88 cmake: Remove WITH_MESSAGE from obs-qsv11 2024-08-20 15:22:15 -04:00
derrod 3312c2567d obs-nvenc: Fix nvenc availability check always returning true 2024-08-18 22:30:44 -07:00
derrod 71509ad00c image-source: Move loop/randomize checkboxes to playback mode combobox 2024-08-18 03:15:50 +02:00
qhy040404 32b3517ef1 libobs: Also determine WinUI 3 Window 2024-08-17 17:16:06 -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
Lluís Batlle i Rossell 7c85253667 obs-ffmpeg: Fix VAAPI/NVENC ifdefs
VAAPI init was under NVENC clauses, so it was disabled if no NVENC.

That was introduced in af555b9372
from #10536, which refactored NVENC.
2024-08-16 13:25:07 -04:00
Ryan Foster ee1b782256 obs-browser: Update version to 2.24.1
d18fc7a - Enable building with CEF 6533 & 6613
22db20b - Fix CSS injection for sites with strict CSP
2024-08-14 15:22:09 -04: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 dd3ffc1e34 obs-outputs: Defer muxer destruction to task queue 2024-08-11 05:06:16 +02:00
derrod 83528fba2c obs-nvenc: Improve logging for custom options 2024-08-10 16:53:18 -07:00
pkv 1451554fb8 obs-ffmpeg: Fix SRT listener bug
Fixes #10504.
There was a bug in FFmpeg implementation which was hidden by a bug in
libsrt; it was fixed in a recent commit [1].
When we ported FFmpeg libsrt.c to obs, we brought the said bug along.
When starting an SRT stream in listener mode, if no connection is made
by a client, there were two issues:
- 1) obs was stuck into a connecting loop,
- 2) the socket was not closed when exiting OBS.
This fixes the issue so that SRT is displaying that a stream started
when in listener mode even if NO client is connected.
This is the correct behaviour for a listener.
The stream now closes properly.

[1] https://git.videolan.org/?p=ffmpeg.git;a=commit;h=87677c2195e86b126c3438439a05d0a46ae5bb50
Signed-off-by: pkv <pkv@obsproject.com>
2024-08-10 01:54:27 -07:00
derrod 911a49070b obs-nvenc: Add new NVENC plugin 2024-08-08 22:52:40 +02:00
derrod af555b9372 obs-ffmpeg: Remove native/disable FFmpeg NVENC 2024-08-08 22:52:40 +02:00
pkv 00c495b203 obs-filters: Move NVIDIA filters in their own project
This commit does the following:
1. Factor out NVIDIA Audio Effects from Noise Suppression filter.
2. Move NVIDIA Audio Effects to a new filter in a new nv-filters
project.
3. Migrate Noise Suppression filter settings to the new filter when
NVIDIA Audio effects were used.
4. Migrate NVIDIA AI Greenscreen to the new nv-filters project for
easier maintainance of all NVIDIA Maxine effects.

Context:
 Currently, the three NVIDIA Audio Effects (noise suppression, room
echo removal, noise suppression + room echo removal combined) are part
of the noise suppression filter.
Historically, it's because a lot of code was shared between speex,
rnnoise & NVIDIA noise suppression.
But the NVIDIA code has become bulkier & cumbersome due to:
- addition of other effects;
- addition of a deferred loading thread.
The factorisation makes the code very difficult to maintain for
(un)readability reasons.
This will make it easier to add other audio effects, should we wish to.
Developers life will be easier too when debugging.
The code has been reorganized and comments added.
I also added a mutex in the process_fx function to avoid a crash when
swapping effects.

Signed-off-by: pkv <pkv@obsproject.com>
2024-08-08 15:53:52 -04:00
Norihiro Kamae 123231c97c text-freetype2: Move static function declarations from header file 2024-08-07 17:27:49 -04:00
Norihiro Kamae bec9f0c544 obs-x264: Remove unused function 2024-08-07 17:27:49 -04:00
Norihiro Kamae 384a5e7f30 obs-qsv11: Remove unused functions 2024-08-07 17:27:49 -04:00
Norihiro Kamae 6532be4140 obs-outputs: Remove unused functions on non-Windows
Also adjusted mixed usage of `#if defined` and `#ifdef`.
2024-08-07 17:27:49 -04:00
Norihiro Kamae d2971d1aaa obs-filters: Remove unused functions when NvAFX is disabled 2024-08-07 17:27:49 -04:00
Norihiro Kamae e9c440401c obs-ffmpeg: Resolve unused-function warnings 2024-08-07 17:27:49 -04:00
Norihiro Kamae f811903e4f linux-pipewire: Remove unused function 2024-08-07 17:27:49 -04:00
Norihiro Kamae 82466751ea linux-alsa: Remove unused function declaration 2024-08-07 17:27:49 -04:00
Kurt Kartaltepe 15ec21106a obs-qsv11: Check for null response on free
During destruction of the QSV_Encoder_Internal the response may not be
initialized and we can segfault. Add a check for this similar to the
Windows implementation.
2024-08-05 20:28:07 -04:00
jcm b0faf38a76 mac-virtualcam: Improve 'not found' error message 2024-08-05 19:36:05 -04:00
Norihiro Kamae edf753b31e obs-vst: Remove min and max macro workaround 2024-08-03 16:57:17 -07:00
jcm ff2fa24dc2 mac-virtualcam: Update NotInstalled error text for macOS 15 2024-07-31 16:29:21 -04:00
Matt Gajownik 8b975c4563 obs-browser: Update version to 2.24.0
2a2879b - Update translations from Crowdin
07255f1 - Enable building with CEF 5938 on macOS
5db6494 - Enable building with CEF 6261
5db6494 - Enable building with CEF 6261
879a9d2 - Enable building with CEF 6367
2024-07-31 20:45:50 +10:00
Ruwen Hahn b2d83efcf3 obs-ffmpeg: Disable AMF DTS adjustment for AV1 2024-07-30 11:10:47 -04:00
Ruwen Hahn e7bf19d139 obs-ffmpeg: Disable NVENC DTS adjustment for AV1 2024-07-30 11:10:47 -04:00