Commit Graph

8553 Commits (1a7a47dd3b96e20ee57f545b83bf2aadc14d8fcd)

Author SHA1 Message Date
Scratch d2532f4640 UI: Do not process unnamed sources for hotkeys 2020-08-20 14:07:43 +10:00
Matt Gajownik 92b1980c0a UI: Render tabs and spaces in Log Viewer 2020-08-20 09:39:05 +10:00
Jim c3c3f98033
Merge pull request #3294 from e00E/default-sample-rate
UI: Change default sample rate to 48 kHz
2020-08-19 07:20:32 -07:00
jp9000 c38f370ad0 obs-outputs: Enable Windows mbedTLS threading support 2020-08-19 07:02:33 -07:00
Valentin 81f424d8e1 UI: Change default sample rate to 48 kHz
In a discussion on Discord the consensus was that 48 kHz is a better
default. This was prompted by the merge of the rnnoise library which can
only handle 48 kHz natively. 48 kHz is also more commonly used as a
default on personal computers.
2020-08-19 13:59:57 +02:00
Jim bd512dae7d
Merge pull request #3268 from obsproject/context-bar
Add Source Toolbar
2020-08-18 12:16:54 -07:00
Jim 076baa3560
Merge pull request #3263 from remjey/rnnoise-plugin
obs-filters: Add RNNoise to noise suppression filter
2020-08-18 11:52:01 -07:00
Jérémy Farnaud 7e39109a86 obs-filters: Add option to use RNNoise for noise reduction
This commit adds support to using Xiph and Mozilla RNNoise library for
noise reduction.

RNNoise is a small library using an AI approach to noise reduction
using a pre-trained model like RTX Voice. But unlike RTX Voice, it is
very tiny, use CPU instead of GPU and only use little resources.
Obviously it is not as efficient but will effectively remove background
noise. It uses more CPU than the existing libspeex-based noise
reduction but it also sounds sounds way better.

RNNoise support is added to the noise reduction effect. It can be
enabled with a checkbox in the effect configuration. RNNoise has no
settings.
2020-08-18 11:25:21 -07:00
jp9000 51462e4f0f UI: Fix obsolete filters showing up 2020-08-18 11:09:26 -07:00
Ka Ho Ng a1e99d7903 oss-audio: Improve /dev/sndstat parsing on FreeBSD
This commit targets FreeBSD and potentially DragonFly BSD. The commit
fixes issue parsing /dev/sndstat when hw.snd.verbose is greater than 0.
Besides, the commit also adds support for audio devices created by
user space daemons, such as virtual_oss.
2020-08-18 22:54:09 +08:00
makise-homura 543a3767c7 obs-x264: Discard excess warning for e2k 2020-08-18 16:52:05 +03:00
makise-homura 006443b8c3 cmake: Discard excess warnings for e2k 2020-08-18 16:50:46 +03:00
makise-homura ad1978a31f cmake: Enable SIMD for Elbrus architecture 2020-08-18 15:57:05 +03:00
makise-homura d7e36f9f5b cmake: Conditionalize -fopenmp-simd 2020-08-18 15:50:50 +03:00
Jim 5803504c36
Merge pull request #3261 from e00E/undefined-behavior-utf8
libobs: Fix undefined behavior
2020-08-17 19:23:21 -07:00
Jim 4b2e9e9c96
Merge pull request #3247 from JohannMG/wizard-mac-fix
UI: Mac fix — remove wizard background padding
2020-08-17 09:22:28 -07:00
Jim 53b65bb5fd
Merge pull request #3245 from e00E/fix-defer-update
libobs: Fix deferred update sometimes using stale data
2020-08-17 08:03:21 -07:00
Colin Edwards fddbbe259d UI: Source Toolbar
The source toolbar allows quick and easy access to properties and
filers, and shows common properties/features of a source type.  For
example, when you select a media source, VLC source, or the slideshow
source, you'll get media controls to control playback of the media.  If
you select a text source you can edit the font, color, or text if
applicable.  Or if you select a capture source, you can select the
display/window/etc to capture for that source.

If the source toolbar is not desired and is viewed as taking up valuable
space in the window, it can be disabled via the view menu.

Co-authored-by: Clayton Groeneveld <claytong1214@gmail.com>
Co-authored-by: Jim <obs.jim@gmail.com>
2020-08-17 07:18:18 -07:00
Jim f6ce8f2a32
Merge pull request #2942 from strager/x264-options
obs-x264: Log when options are ignored
2020-08-17 05:24:00 -07:00
jp9000 37767b6746 image-source: Transition when restarting slideshow
Fixes an issue where it would instantly set the image rather than
transition to the first from its current value
2020-08-17 03:12:59 -07:00
Jim 1849798cb4
Merge pull request #3281 from cg2121/slideshow-cleanup
image-source: Use media control api for slideshow
2020-08-16 23:54:15 -07:00
Jim 6058b6a87f
Merge pull request #3239 from kkartaltepe/chromeos-pls
UI: Check and fail when launched under ChromeOS
2020-08-15 08:49:05 -07:00
Jim 7667c107ef
Merge pull request #3233 from WizardCM/scripts-context
Add context menu to Scripts list with "Open file location"
2020-08-15 08:48:15 -07:00
Jim 22e6a040ed
Merge pull request #3223 from NiMO-TV/rtmp-nimotv-auto-server
rtmp-services: Add Nimo TV auto server
2020-08-15 08:43:42 -07:00
Scratch e4b81c2b1b obs-scripting: Fix removing signal handlers in python
Closes #3218
2020-08-16 00:26:32 +10:00
Matt Gajownik 3e5de93cf3 UI: Provide Open button in the Log Viewer 2020-08-15 15:20:38 +10:00
JohannMG 7f8f3ff3f9 UI:Show "Get Stream Key" to users of Facebook CDN
Facebook provides CDN endpoints for users to optimize their bandwidth or
latency using the speed test on facebook.com/live/ingests/. In this case
streamers use a custom server endpoint that looks like
"rtmps://edgetee-upload-fml.xx.fbcdn.net:443/rtmp/".

This diff adds detection to users using the custom field for CDN
endpoints so we can show the stream key link button.
2020-08-14 17:18:18 -07:00
Clayton Groeneveld 42e7b16fde image-source: Use media control api for slideshow 2020-08-14 14:32:21 -05:00
Clayton Groeneveld 88da9bf693 Revert "image-source: Add proc handler calls to slideshow"
This reverts commit 1475f756f2.
2020-08-14 13:35:45 -05:00
Matt Gajownik c9001d0f98
Merge pull request #3273 from PatTheMav/macos-streamdeck-fix
CI: Add QtNetwork to bundle to restore Streamdeck support
2020-08-13 13:34:01 +10:00
PatTheMav 12c3d92345
CI: Add QtNetwork to bundle to restore Streamdeck support 2020-08-12 11:20:50 +02:00
Jim c5b3125b75
Merge pull request #3253 from JohannMG/mac-decklink-warnings
mac-decklink: Fix C++ virtual function warnings
2020-08-11 18:09:31 -07:00
Joel Bethke f1be7fe2d0
Merge pull request #3272 from cg2121/readme-remove-mantis
README.rst: Remove Mantis
2020-08-11 13:09:28 -05:00
Clayton Groeneveld 94ef69d022 README.rst: Remove Mantis 2020-08-11 05:11:24 -05:00
jp9000 d45017370b libobs: Add functions to get locale text from modules
Useful for sharing translated text from modules with the frontend.  This
is technically already done via properties, but it would be nice to just
be able to explicitly look up locale text directly rather than have to
go through properties.
2020-08-10 12:24:01 -07:00
jp9000 de2e89d972 libobs: Add function to get module pointer
Useful for getting getting locale text associated with a specific module
2020-08-10 12:24:01 -07:00
jp9000 f5d6a695be libobs: Add OBSRef::Get()
Allows explicitly getting the pointer associated with the object.
2020-08-10 12:24:01 -07:00
jp9000 1475f756f2 image-source: Add proc handler calls to slideshow
Allows manipulation of the slideshow via procedure handlers.
2020-08-10 12:24:01 -07:00
jp9000 389f7d390f image-source: Play if play_pause() called while stopped
Causes the slideshow to start back up if it was stopped for whatever
reason previously.
2020-08-10 12:23:36 -07:00
jp9000 66863269e8 UI: Add missing refresh icon to acri qss file 2020-08-10 12:23:36 -07:00
Jim a9c65aeabf
Merge pull request #2955 from cg2121/group-signals
UI: Make select/deselect signals work w/ group items
2020-08-08 19:59:13 -07:00
Valentin b7f5cde4e3 libobs: Fix undefined behavior
It is undefined behavior to apply an offset to a null pointer. I would
have liked to reference cppreference but best I found was the PR that
added this check to clang's undefined behavior sanitizer:
https://reviews.llvm.org/D67122 .
2020-08-08 10:41:24 +02:00
JohannMG 41b12d7bff mac-decklink: Fix C++ virtual function warnings
Created another virtual function to override and moves stubbed function
to the header.
2020-08-06 12:53:30 -07:00
Colin Edwards d7ccac7754
Merge pull request #3258 from PatTheMav/macos-qt-dylib-fix
CI: Update macOS deps version to fix unmet Qt plugin dependencies
2020-08-06 14:11:47 -05:00
PatTheMav bc3a405445
CI: Update macOS deps version to fix unmet Qt plugin dependencies 2020-08-06 20:03:05 +02:00
Jim bfdf5dc947
Merge pull request #2356 from jpark37/sycc-color-space
Color space refinements
2020-08-05 08:58:21 -07:00
Valentin 4508cb03b5 libobs: Fix deferred update sometimes using stale data
Currently we use a bool flag to signal the video thread that it should
call obs_source_deferred_update. This does not work correctly when the
update callback is slow and the update is triggered faster than the
callback can complete.

For example:
* the settings are set to state A
* defer_update is set
* obs_source_deferred_update is called and enters into the callback
* the callback starts making use of the settings in state A
* the settings are set to state B
* defer_update stays set
* the callback finishes
* defer_update is set to false

Now defer_update is false but the callback has only observed settings in
state A but not B.

This commit fixes this bug by keeping an update counter. If the counter
has changed while we were in the callback we know that we need to update
again.

The counter is atomic. The current version uses a plain bool which is a
data race as the value is written and read in parallel.
2020-08-04 09:28:55 +02:00
jp9000 1aee73fcfc UI: Clarify and improve locale text
Renaming it to prevent possible confusion with the source context
toolbar.
2020-08-03 20:26:06 -07:00
jp9000 2f43197b26 UI: Move View -> Toolbars -> Listboxes
Moves View -> Toolbars -> Listboxes to View -> Listbox Toolbars
2020-08-03 19:09:38 -07:00
jp9000 6d758f6f5d UI: Remove unused action 2020-08-03 18:23:50 -07:00