3695 Commits

Author SHA1 Message Date
Matt Gajownik
591ba518dc plugins: Update translations from Crowdin 2022-08-17 14:27:34 +10:00
Translation Updater
4aaa07f93d Update translations from Crowdin 2022-08-17 04:22:50 +00:00
jpark37
7e6a2ccdec obs-ffmpeg: Prevent invalid NVENC combinations
Don't want to silently generate lossy video.
2022-08-16 21:14:36 -07:00
Ed Maste
91f986ec99 linux-v4l2: Check udev fd events
udev_event_thread calls poll with two fds: the udev fd, and an eventfd
used for shutdown.  On FreeBSD we were hanging on shutdown in
udev_monitor_receive_device after receiving the eventfd event.

Now, if the udev fd reports no events skip the
udev_monitor_receive_device call.

At shutdown the loop will exit via os_event_try().
2022-08-16 20:46:06 -07:00
Ro
85f2888048
rtmp-services: Update Switchboard Live service (#7104)
Updated servers and recommend settings.
2022-08-16 23:12:07 +02:00
Ed Maste
c3097f4ee9 aja: Correct typos in README.md 2022-08-16 14:08:21 -04:00
jpark37
4ffedf877a obs-ffmpeg: Block 8-bit HDR for AV1 encoders
Don't want to silently generate lossy video.
2022-08-16 07:39:52 -07:00
jpark37
175093b26b obs-x264: Block 10-bit formats
Don't want to silently generate 8-bit video.
2022-08-16 07:39:23 -07:00
jpark37
8ca35e4e10 obs-filters: Don't allow HDR max below 5 nits
That's the lower limit of max_display_mastering_luminance in the spec.
2022-08-16 07:39:04 -07:00
jpark37
62165b42d7 obs-qsv11: Replace CRITICAL_SECTION with SRWLOCK
Fixes initialize/destroy pattern; also slightly more performant.
2022-08-16 07:38:43 -07:00
jpark37
7406f04851 obs-qsv11: Prevent 8-bit HDR, and 10-bit anything
Don't want to silently generate lossy video.
2022-08-16 07:38:07 -07:00
jpark37
eec66e10e3 obs-ffmpeg: Prevent invalid AMF combinations
Don't want to silently generate lossy video.
2022-08-16 07:37:36 -07:00
jpark37
690ba952de obs-ffmpeg: Fix leaks in AMF with unique_ptr 2022-08-16 07:37:36 -07:00
Kurt Kartaltepe
f788e9f6b7 linux-v4l2: Add eventfd to signal udev on shutdown
Currently we use signals based on os_event's but the udev code blocks in
a 1s select (now poll) that cannot be signalled without an FD. This adds
an extra eventfd which will be signalled along with the os_event to
trigger the poll.

Also switches from select to poll to avoid issues with large fd values.
2022-08-15 16:58:09 -03:00
Kristian Ollikainen
9216a62edc win-dshow: Move invalid GUID warning 2022-08-13 16:41:46 -07:00
Kristian Ollikainen
4eb5e65122 win-dshow: Fix building without Virtual Camera 2022-08-13 16:41:46 -07:00
wang.shaohui
7eb46d50b7 win-capture: Fix memory leak in dc-capture.c 2022-08-13 01:50:38 -07:00
jpark37
37621f0fdd obs-filters: Fix filter color space queries
Need to ask target instead of parent.
2022-08-13 01:32:42 -07:00
gxalpha
a9b83c7ffd mac-virtualcam: Don't convert color space when converting color format
Converting the color space was likely accidental as it isn't explicitly
set. Unfortunately, not setting it means that it gets set to the
default, which is Rec. 709 and thus a conversion takes place when having
any other space. This conversion leads to a massive performance penalty
that isn't necessary.
2022-08-13 01:32:14 -07:00
gxalpha
d9c4c0f5da mac-virtualcam: Avoid conversion of P010 2022-08-13 01:31:40 -07:00
jpark37
535d4141cb obs-filters: Add HDR Tonemap filter
Allow per-source tonemapping to override default tonemapping.
2022-08-13 01:30:18 -07:00
Norihiro Kamae
e8f025cde2 decklink: Remove BOM 2022-08-13 00:49:17 -07:00
Richard Stanway
dcc79c374d
obs-ffmpeg: Fix format specifier in obs-amf-test 2022-08-12 23:05:58 +02:00
jpark37
a0e50b18b1 obs-filters: Remove param from AI greenscreen
Didn't notice two params were the same. Remove extra param.
2022-08-10 03:28:30 -07:00
jp9000
b763777a4b enc-amf: Mark as deprecated 2022-08-10 02:57:14 -07:00
jp9000
2c43ca1dc6 obs-ffmpeg: Add b-frame option to AMF encoder 2022-08-10 02:20:11 -07:00
jpark37
a392aa52cc obs-filters: Support HDR AI greenscreen 2022-08-09 20:21:05 -07:00
Vainock
020cd92ab5 mac-videotoolbox: Fix typo 'diffent' 2022-08-09 20:05:06 -04:00
gxalpha
ad57af4c0a mac-videotoolbox: Reject color formats other than NV12 and I420 2022-08-09 16:19:30 +02:00
gxalpha
6644fed7b1 mac-capture: Fix macOS 12 SCK Display Capture workaround
Adding all windows manually means that any windows opened after the
session was started won't appear. This instead excludes the Control
Center from Display Capture. While unfortunate, it seems to be the only
thing on the display that can't be disabled.
2022-08-09 16:18:28 +02:00
Richard Stanway
3c6c44e1fe
win-capture: Fix incorrect path in CMakeLists 2022-08-09 02:31:50 +02:00
jpark37
9c77796299 obs-filters: Fix NVIDIA greenscreen issues
Fix non-async sources, make sure math is linear-correct, preserve
incoming alpha, and allow the filter to work in previews.
2022-08-08 15:50:06 -07:00
derrod
9c20ad9046 obs-ffmpeg: Set NVENC CQP maximum to 51
51 is the actual maximum and especially with HEVC values higher than 30
are actually pretty usable.
2022-08-08 09:24:08 +02:00
Richard Stanway
86963f65d2
libobs, win-capture: Don't export ms_get_obfuscated_func
Since this was included in things like the inject helper and game
capture DLLs, it added an additional export to those programs. Instead,
simply share the source files directly in the projects that need it.

Co-authored-by: jpark37 <jpark37@users.noreply.github.com>
2022-08-07 19:41:23 +02:00
Matt Gajownik
61e0d69779 obs-browser: Update version to 2.18.5
71ef41a - Null check macOS window handle before detaching view
6235dfd - cmake: Remove setting code sign identity for Xcode builds
2022-08-07 15:14:50 +10:00
pkv
e08632328d obs-filters: Reset RTX greenscreen on cuda error
This resets the RTX greenscreen filter if the FX returns a CUDA error.
In case of a CUDA error 1099, the error can keep repeating locking up
the filter which is inoperant. So if such an error is detected we reset
the FX.

Signed-off-by: pkv <pkv@obsproject.com>
2022-08-06 17:22:03 -07:00
Chris
f5fe4d0acf obs-ffmpeg: Fix USAGE typo
Replace TRANSCONDING with TRANSCODING, because it is likely that the
typo compatibility will be removed in a future AMF header update. This
should also minimize confusion and improve search.
2022-08-06 20:02:48 -04:00
shiina424
29574b7fd2 win-wasapi: Add missing locale text 2022-08-06 16:58:16 -07:00
tududweb
9780d2f596 obs-ffmpeg: Remove unused variables for NVENC 2022-08-06 16:45:31 -07:00
tududweb
e16f336882 obs-ffmpeg: Reinit before retrying init for NVENC 2022-08-06 16:45:31 -07:00
tududweb
6c364f78cf obs-ffmpeg: Correctly assign argument for NVENC
When retrying again without Psycho Visual Tuning,
the argument psycho_aq should be false.
2022-08-06 16:45:31 -07:00
tytan652
d71878cd35 obs-ffmpeg: Add better error if SRT or RIST libraries are not found 2022-08-06 16:18:55 -07:00
columbarius
76e9c64f41 Revert "linux-capture: Fix Ubuntu 21.10 builds"
This reverts commit 0532a5c1f0296098a268dc43d889a08c932e1c48.

Ubuntu 21.10 is from OBS 28 onwards not longer supported and as such we
can raise the requirement of the PipeWire dependency to 0.3.33.
2022-08-06 09:28:58 -03:00
Vainock
e6a03be487 obs-ffmpeg, obs-transitions: Use property suffixes 2022-08-06 10:23:26 +10:00
gxalpha
9f370bd36e mac-capture: Show "hidden" checkbox for app capture on update as well 2022-08-04 00:44:29 +02:00
Paul Hindt
44acdd68b0 aja: Fix output of garbage video during preroll
Add additional logging of card frame counts/indices
2022-08-02 09:46:58 -07:00
davids
33081419e7 aja: Adjust delay when sending frames to card
The plugin will try to maintain a hardware queue depth of 4 frames,

adjusting video and audio delay dynamically.
2022-08-02 09:46:58 -07:00
tytan652
8989cf5caf rtmp-services: Remove useless supported codec field
We normally default to H264 onlt and AAC only if nothing is set.
2022-08-02 09:41:32 -07:00
tytan652
96eb14af47 rtmp-services: Add fallback to H264 if no supported codec found 2022-08-02 09:41:32 -07:00
tytan652
0283fd2c71 rtmp-services: Fix incompatible-pointer-types warnings 2022-08-02 09:41:32 -07:00