10478 Commits
Author SHA1 Message Date
jp9000 acad9dbaf7 libobs: Update version to 27.2.1 27.2.1 2022-02-20 16:35:43 -08:00
Richard StanwayandMatt Gajownik bfcc066099 obs-outputs: Set a fixed size socket buffer on Windows 7
Auto tuning apparently doesn't work very well on this version and
af6844f5c2 caused throughput
regressions.
2022-02-21 11:21:20 +11:00
Matt Gajownik 2f48733f3c CI: Bump Windows CEF cache to fix reported version
While the previous cache had the correct changes, the version was
reported incorrectly. This will avoid confusion.
2022-02-21 10:32:40 +11:00
Matt Gajownik c9dfad7340 CI: Bump Windows CEF cache for new OnAcceleratedPaint2
See https://github.com/obsproject/cef/commit/36fdac16a7 for more info.

This only bumps the cache on Windows as the changes are currently
Windows-specific.
2022-02-21 10:32:36 +11:00
jp9000 0f97427ef2 obs-browser: Add support for custom OBS CEF
Our version fixes the system freeze issue, reduces resource usage, and
improves performance back to 3770 levels.

See obsproject/cef@36fdac16a7 for detailed information.
2022-02-20 13:31:05 -08:00
jp9000 3eec65d127 obs-browser: Fix texture recreating every frame 2022-02-20 13:31:05 -08:00
Matt Gajownik a0c37e7aa9 obs-browser: Fix issues with rendering on Linux/macOS 2022-02-20 17:33:02 +11:00
Kurt KartaltepeandMatt Gajownik 8ad7d1b08d linux-v4l2: Use decoded MJPEG pixel format
Previously we assumed mjpeg was always decoded to 422 but it seems some
cameras provide frames that decode to different pixel formats such as
420.

This change delays setting the obs frame pixel format until after we
have decoded the v4l2 frame.

fixes #5821
2022-02-20 14:40:20 +11:00
Matt GajownikandMatt Gajownik d1f8caeb8d UI: Log 'Hide OBS from capture' on startup & settings change 2022-02-20 13:40:34 +11:00
derrodandMatt Gajownik 94016b459f libobs: Adjust path for legacy browser source block
The current path would prevent the browser source from loading if OBS
itself is in the "Application Support" folder, where it might end up
when being installed via certain distribution platforms.
This adjusts the existing hack to specifically check for the obs-studio
subfolder where the old browser source library would reside.
2022-02-20 12:06:03 +11:00
gxalphaandMatt Gajownik 5f7c4329b2 UI: Refresh edit menu on item select/deselect 2022-02-20 12:05:59 +11:00
PatTheMavandMatt Gajownik a75687abec CI: Ensure SOVERSION symlinks exist in created App Bundle
Bundles libraries are available via their specific versioned filename
as well as SOVERSION and versionless symlinks. Dylibbundler does _not_
include these symlinks when copying linked libraries into the bundle.

This change ensures that all libraries and their SOVERSION symlinks
exist in the created App Bundle.
2022-02-20 12:05:54 +11:00
PatTheMavandMatt Gajownik c4455d4de0 CI: Update main workflow file to use fixed obs-deps
Prior version was linked against libxcb, because it was present on
Github Actions macOS runners. Consequently builds on CI will succeed
as the library is always present, will fail on user's machines though.
2022-02-20 12:05:50 +11:00
Matt GajownikandMatt Gajownik 9c42e9f752 win-wasapi: Only enable work queue on Windows 10+
Fixes #5967
2022-02-20 12:04:56 +11:00
pkvandMatt Gajownik 92bf2ebe93 obs-ffmpeg: Force mpegts format & disable restart on activate for srt & rist
This fixes crashes in media Source when :
- the user forgets to set the input format for srt or rist URLs;
- disabling / enabling / disabling etc Media source with a rist URL.

Signed-off-by: pkv <pkv@obsproject.com>
2022-02-20 12:04:48 +11:00
Florian ZwochandMatt Gajownik b6366757c0 linux-capture: Fix for pipewire capture leaking texture handles
Enter the graphics context before calling gs_texture_destroy() or
else the call will fail causing the texture handles to leak.
2022-02-20 12:04:41 +11:00
Matt GajownikandMatt Gajownik 59a675738f UI: Don't collapse preview in Filters splitter view
Fixes #5959
2022-02-18 20:37:47 +11:00
jp9000 5643e9cbbf obs-browser: Fix sRGB rendering 2022-02-15 23:52:44 -08:00
jp9000 e43f75fc92 obs-browser: Update version to 2.17.10 2022-02-15 23:21:59 -08:00
jp9000 f2628de7f2 obs-browser: Acquire, copy, and release immediately
Instead of holding onto an acquire over the duration of an entire frame,
acquire, copy to a texture, and immediately release the lock.

(Note from Jim: When it comes to synchronization, the idea of acquiring
a lock, and then releasing all the way in the next frame just feels a
bit worrisome. Especially when it's a GPU object. But at this point, I'm
just making shots in the dark in an attempt to eliminate any possible
things that might even have a remote chance to trigger latent bugs in a
GPU driver or the kernel. You know, that whole system freeze thing. This
probably doesn't have anything to do with it, at this point I have
nothing but wild geese to chase. Whatever.)
2022-02-15 23:21:59 -08:00
ThulinmaandJim 9c504f4d35 rtmp-services: Update Picarto ingests 27.2.0 2022-02-12 15:02:10 -08:00
jp9000 b68ee1ccae libobs: Update version to 27.2.0 2022-02-10 16:43:18 -08:00
Translation UpdaterandTranslation Updater 25b58f0417 Update translations from Crowdin 2022-02-11 00:34:08 +00:00
derrodandRyan Foster 09e7d5d1a5 CI: Specify Windows Server 2019 2022-02-10 02:03:53 -05:00
Richard Stanway aa73de952b UI: Fix uninitialized memory access in OBSPropertiesView
Bug introduced in b0528e0cf7. Closes
https://github.com/obsproject/obs-studio/issues/5934.
27.2.0-rc4
2022-02-08 21:57:08 +01:00
jp9000 b0528e0cf7 UI: Fix properties view crash with non-obs objects
The properties view incorrectly assumed that it was being used with obs
objects only.

(Jim note: I'm annoyed.)
27.2.0-rc3
2022-02-08 11:07:23 -08:00
RodneyandGitHub b7a24d54c9 UI: Add warning on startup for running in Wine 27.2.0-rc2 2022-02-07 14:16:59 -08:00
jp9000 109b54fd66 obs-ffmpeg: Fix svt-av1 rate control settings
For SVT-AV1, rate control is explicitly set via an "rc" option, so set
those options manually for SVT-AV1. CBR doesn't seem to be fully
supported, but it's sort of supported via CVBR (constrained variable
bitrate), which seems to be specific to each GOP size, which is about as
close to CBR as we can get.
2022-02-07 13:11:34 -08:00
Translation UpdaterandTranslation Updater ac8dbf67be Update translations from Crowdin 2022-02-06 02:24:08 +00:00
Cenk UluisikandGeorges Basile Stavracas Neto f52f34b614 linux-capture: Fix missing parameter for pipewire capture
Commit a3a6710 introduced the obs_pipewire_save() function in the
PipeWire code, but only set it to the monitor capture source. This
was an oversight, it should have been set to the window capture
source as well.

Set the .save vfunc of the window capture source as well.

Closes obsproject/obs-studio#5906
2022-02-04 13:09:12 -03:00
jp9000 c71abfbd8c UI: Fix clang-format specifier 2022-02-02 22:39:24 -08:00
jp9000 4f09cac7af UI: Remove unnecessary call 2022-02-02 22:37:41 -08:00
jp9000 f0e631df17 UI: Fix filter props. getting recreated unnecessarily
Closes obsproject/obs-studio#5846
2022-02-02 22:35:56 -08:00
jp9000 4b355192e7 UI: Don't create filter properties before splitter
Fixes an issue where the properties wouldn't show up the first time the
properties are supposed to show
2022-02-02 22:35:56 -08:00
jp9000 f34b6866a5 UI: Improve properties view object safety
Use weak references on OBS objects that properties view reference in
order to ensure that the objects are still valid.

This fixes a crash where properties views would use objects without
necessarily knowing whether they were still valid or not.

Fixes obsproject/obs-studio#5862
Closes obsproject/obs-studio#5863
2022-02-02 22:35:56 -08:00
jp9000 edfd5ad604 libobs: Add obs_object abstraction and functions
With this, you can now cast normal obs objects (services, outputs,
sources, encoders) to an obs_object_t, and then use obs_object_*
functions to get references, release references, and similar for weak
object references as well. This allows the ability for the frontend to
use an object of any of those types interchangeably in certain
situations without having to handle each specific type individually.

This is useful because the properties view in particular doesn't care
what type of object it uses, it just needs to be able to hold weak
references to abstract OBS objects.
2022-02-02 22:35:56 -08:00
jp9000 6b944a2f3c libobs: Rename OBSObj to OBSPtr
Makes it a bit more explicit that it's just a pointer RAII, and because
an OBSObject will be added
2022-02-02 22:35:56 -08:00
Paul HindtandColin Edwards 95020dd629 aja: Fix off-by-one output frame index calculation 2022-02-02 11:20:05 -06:00
Roman SivriverandJim e6a55e7763 rtmp-services: Update YouNow ingest 2022-02-01 13:42:08 -08:00
Matt Gajownik 1793670bbf CI: Update Windows x86 obs-deps package to 2022-01-31
This updates LibRIST.

* LibRIST: Fix a reconnection issue for Media Sources
2022-02-01 17:17:53 +11:00
Matt Gajownik ff8df424b1 CI: Update Windows obs-deps package to 2022-01-31
This updates LibRIST, libaom and SVT-AV1.

* LibRIST: Fix a reconnection issue for Media Sources
* SVT-AV1: Update to v0.9.0
2022-02-01 17:12:44 +11:00
Matt Gajownik cbbc8bc876 CI: Update macOS obs-deps package to 2022-01-31
This updates SVT-AV1 to v0.9.0.
2022-02-01 17:11:48 +11:00
Matt GajownikandJim 3aa90f7076 obs-transitions: Fix All Files option for Stingers
On Windows, All Files was added by default with (*), but on macOS and
Linux this appeared as an empty option in the dropdown and treated as a
Video Files filter rather than All Files.

This also adds proper translation handling for 'Video Files', matching
the obs-ffmpeg-source.

Fixes #5870
27.2.0-rc1
2022-01-29 19:53:31 -08:00
jpark37andJim 657c4d0125 libobs: Add effect files to CMakeLists.txt
Makes them easily searchable from Visual Studio.
2022-01-29 17:16:16 -08:00
Matt GajownikandJim e2e751aa55 UI: Better Hide OBS Window description, add first time dialog & tooltip 2022-01-29 17:09:15 -08:00
jpark37andRyan Foster 59ab9c98fb libobs/graphics: Fix gs_get_format_bpp
Was missing case for GS_RGBA16F.
2022-01-29 18:51:34 -05:00
Sebastian BeckmannandGitHub 77dbe44da4 UI: Properly close projector when source is removed (#5171) 2022-01-29 15:36:38 -08:00
Jim 3e4e8d2fd0 vlc-video: Set channel limit to 8 instead of 2
17c069e1d0 changed to add support for surround sound, but the limit
should really just be 8 channels as pointed out by tt
2022-01-29 15:28:36 -08:00
Francisco OltraandGitHub 5f5355a813 rtmp-services: Update nanoStream Cloud / bintu ingests (#5884)
* rtmp-services: Update nanoStream Cloud / bintu ingests

 - fix transcoding rtmp urls
 - add information and dashboard links
2022-01-29 15:24:46 -08:00
pkvandJim 17c069e1d0 vlc-video: Enable surround sound support
The vlc plugin was keeping only up to two audio channels. It was overlooked when surround sound support was added to obs-studio. This commit remedies this oversight.

Signed-off-by: pkv <pkv@obsproject.com>
2022-01-29 15:22:29 -08:00