Commit graph

13958 commits

Author SHA1 Message Date
Huts, Roman ddf72e3261 obs-ffmpeg: Set ENFORCE_HRD when filler data is enabled for AMD 2024-04-15 11:13:48 -04:00
Huts, Roman 0f18d3914d obs-ffmpeg: New default AMD encoding settings 2024-04-15 11:13:48 -04:00
PatTheMav fb4d65875e CI: Update Linux build scripts to use CMake presets
Also adds source package generation and updates Cirrus CI script.
2024-04-13 23:48:38 -04:00
PatTheMav 53c9f79f4d UI: Make Sparkle updater a macOS-only feature 2024-04-13 23:48:38 -04:00
PatTheMav 22e2424d36 test: Update Linux slice for CMake build framework 3.0 2024-04-13 23:48:38 -04:00
PatTheMav e87a5c3691 obs-scripting: Update Linux slice for CMake build framework 3.0 2024-04-13 23:48:38 -04:00
PatTheMav 1f911dd0d0 UI: Update Linux slice for CMake build framework 3.0 2024-04-13 23:48:38 -04:00
PatTheMav be09cfe242 plugins: Update platform selection for adding plugins to build tree 2024-04-13 23:48:38 -04:00
PatTheMav 34f8abae1f plugins: Update Linux slice of cross-platform plugins for CMake 3.0
Also silences acknowledged compile warnings introduced by the updated
compiler settings in the CMake update.
2024-04-13 23:48:38 -04:00
PatTheMav 4ecfdb722f plugins: Add Linux-specific plugins for CMake build framework 3.0 2024-04-13 23:48:38 -04:00
PatTheMav eee912b8ba libobs-opengl: Add Linux-specific changes for CMake build framework 3.0 2024-04-13 23:48:38 -04:00
PatTheMav 0af0de26eb libobs: Add changes for CMake build framework 3.0
New code path only taken if OBS_CMAKE_VERSION is set to 3.0.0 or
greater, old functionality remains unchanged.
2024-04-13 23:48:38 -04:00
PatTheMav e77b12820f cmake: Add Linux component to CMake build framework 3.0 2024-04-13 23:48:38 -04:00
PatTheMav 4d6e17c547 deps: Suppress acknowledged compile-time warnings for json11 2024-04-13 23:48:38 -04:00
PatTheMav 2bc4c69ee9 plugins: Fix compile errors introduced by CMake build framework 3.0 2024-04-13 23:48:38 -04:00
Kurt Kartaltepe befce71219 linux-pipewire: Fix future compiler errors
Unused variables and missing switch branches will break in cmake 3.0,
and are breaking for me right now so let's merge this early.
2024-04-13 21:37:17 -04:00
PatTheMav 9c90c721a0 mac-avcapture: Add pointer check for outputting NULL video frames
When a capture card or video capture source is contained in the scene
collection's list of sources, but the source is not a part of any
scene, it will be first created but then destroyed again in a deferred
fashion (as it has no strong references to it anymore).

This will happen before the capture source has finished its own
initialization, hence why the source pointer can be invalid at that
point.
2024-04-13 17:06:56 -07:00
tt2468 8b6924b80f plugins: Set keyframe flag on encoded audio packets
Not strictly necessary, and does not fix any bug. This just corrects a
nitpick that technically audio encoder packets are start points, but
that they aren't being labeled accordingly as keyframes.
2024-04-13 17:04:48 -07:00
Alex Luccisano c0f71f002c obs-ffmpeg: Use video_output_info in amf_create_encoder()
The frame rate used to initialize an AMF encoder should be aligned
with the derived frame rate in video_output_info instead of the global
obs_video_info structure. With this change, IDRs can be aligned when
multiple renditions are being encoded.

Using video_output_info members for the format, colorspace, and range
parameters in addition to the frame rate provides a single source for
this information and obs_video_info is no longer needed.
2024-04-13 17:00:26 -07:00
tytan652 3b87098508 UI: Fix double confirmation dialog while discarding source change
QDialog::closeEvent() already calls the reject() function, the override
of the former function was actually allowing a first confirmation dialog
which once discarded gets re-openned by QDialog::closeEvent().

Removing most of the closeEvent() override code is enough to fix the issue
since reject() will be called showing the confirmation dialog.
2024-04-13 16:54:32 -07:00
Colin Edwards 79dd0214a8 decklink: Update SDK to 12.0 2024-04-13 16:50:05 -07:00
Warchamp7 ac160c906d UI: Include duration when copy/pasting scene item transitions 2024-04-13 16:44:51 -07:00
Warchamp7 cb3955f8bc UI: Fix Top Patron threshold 2024-04-13 16:42:33 -07:00
derrod 31aa700d22 UI: Always retain collection data of unloaded modules 2024-04-13 16:06:28 -07:00
Ruwen Hahn 5e1909d54f libobs: Track keyframe alignment for keyframe aligned encoder groups 2024-04-12 14:52:32 -07:00
Ruwen Hahn c288d42cfd libobs: Add obs_encoder_group_keyframe_aligned_encoders
Ensures grouped encoders start on the same input frame
2024-04-12 14:52:32 -07:00
Service Checker 97b03e3c54 rtmp-services: Remove defunct servers/services 2024-04-11 20:47:09 -04:00
tt2468 3d30a4efea obs-ffmpeg: Remove mpegts format override for SRT and RIST
FFmpeg is already very effective at detecting the correct input format
for socket-style protocols (SRT, RIST, TCP, UDP, etc.). By overriding
the format of SRT and RIST manually to mpegts, the user is being
prevented from using other container formats via these protocols.

In the rare case that libavformat is unable to detect the correct
container format for an SRT or RIST stream, the user may manually
specify that format in the existing format field.

With the FFmpeg options field which was recently added, probe options
may be specified by the user to further tune format detection.
2024-04-10 18:45:45 -04:00
Chaturbate 15b5dae9c2 rtmp-services: Update Chaturbate 2024-04-10 14:09:28 -04:00
Warchamp7 b67338c448 plugins: Remove dynamic default path properties 2024-04-09 21:10:50 -04:00
Warchamp7 16e86f2d49 UI: Use existing path for file dialogs 2024-04-09 21:10:50 -04:00
derrod 2c62909d9b UI: Fix filter undo action using UUID instead of name 2024-04-09 21:10:19 -04:00
powersagitar b5b9d1c373 Extend min panel width to eliminate text clipping
Change size policy of "Start Virtual Camera" button to ensure the
minimum width of `Controls` panel is the same as "Start Virtual
Camera" button plus the gear (settings) icon, therefore to
eliminate text clipping when overflow.
2024-04-09 20:57:37 -04:00
Penwywern b80d45f132 UI: Log available encoders on load 2024-04-08 16:35:16 -04:00
GPattenden 60dd0c3ba6 UI: Move recording warnings to bottom of window 2024-04-07 00:39:22 -04:00
derrod f47fc81d32 obs-qsv11: Remove adaptive CQM option
Without setting the ScenarioInfo to game streaming, which was removed
in 03b70f0672, this is a no-op and its
existence is just confusing to users.
2024-04-07 02:07:59 +02:00
Gale 4c6e2a6722 obs-qsv11: Fix for QSV AV1 in multi-GPU system 2024-04-06 17:06:31 -07:00
tytan652 e032c2d0c9 deps,libobs: Replace uthash with prefix/system install 2024-04-07 10:01:25 +10:00
tytan652 0faa661f2b CI,build-aux: Add uthash on Linux 2024-04-07 10:01:25 +10:00
tytan652 cebc828cb8 cmake: Add finder for uthash 2024-04-07 10:01:25 +10:00
tytan652 7d4501131a linux-v4l2: Fix deprecation with FFmpeg 7
FFmpeg 7 header states that avcodec_close should not be used since
avcodev_free_context already close the context.
2024-04-06 16:59:52 -07:00
tytan652 8dbad9ac29 obs-ffmpeg: Fix incompatible-pointer-types with FFmpeg 7 2024-04-06 16:59:52 -07:00
Ryan Foster 01610d8c06 libobs: Update version to 30.1.2 2024-04-05 15:32:10 -04:00
Ryan Foster 22205d582c Revert "UI: Change default format for release builds to fMP4/fMOV"
This reverts commit 9488bb20b6.

This is currently a frequent support issue as Windows Media Player,
Movies & TV, and File Explorer all cannot seem to handle fMP4 files
correctly. Windows Media Player and Movies & TV will play the files
fine, but no duration is listed and the applications cannot seek the
file. File Explorer will simply not list the file's length/duration (the
field is shown as having no set value). This was somehow not caught
during a year's worth of beta and RC builds. The world just wasn't ready
for this. =(

We have reported these issues to Microsoft, and we will revisit this in
the future.
2024-04-05 14:46:53 -04:00
Aleks Todorov 80ad63a6da cmake: Provide a clear error on version check fail
Currently, when git describe fails to get a git tag for the OBS Version,
a non-fatal message is printed, and the generator is left to continue,
usually ending up with a more cryptic error message down the line.

Instead, print the git output together with a short description of what
actually happened, and exit fatally so the problematic line of code is
clear. An added advantage is that the git output is printed in red
instead of (say) white on color-enabled terminals.
2024-04-04 15:13:43 -04:00
Ryan Foster 28d7d4fe60 UI: Use spacers instead of widgets in macOS Permissions UI
The macOS Permissions dialog was using empty widgets to force other
widgets into position. Instead, use horizontal spacers.
2024-04-04 14:42:19 -04:00
Ryan Foster 206af52467 win-wasapi: Fix legacy CMake
Follow-up to 1d5d4b29e7f48f9c414388f900d983f0eeef77df:

win-wasapi: Handle changes to the default monitoring device

Splits the WASAPINotify class out of win-wasapi.cpp and makes it a
shared object in the plugin, then also creates a callback to reset
audio monitoring if the default output device changes.
2024-04-03 14:44:39 -04:00
Ryan Foster a1973ea952 libobs-d3d11: Use OS D3DCompiler_47.dll in legacy CMake
Follow-up to 972e24df79.
2024-04-03 14:44:39 -04:00
PatTheMav 19646f9434 CI: Update formatting actions to use git diff filter before formatting
Using git's diff-filter when checking for changed files allows the
actions to ignore any deleted files. Combined with explicitly passing
glob expressions for source files to git directly allows the command
to yield a list of changed files compatible with a given formatter
directly.
2024-04-02 19:38:09 -04:00
WuLongyue 685bc561d9 rtmp-services: Update "CHZZK" platform 2024-04-02 12:45:28 -04:00