6523 Commits

Author SHA1 Message Date
jasonlee
6039cbb938 obs-ffmpeg: Use correct calling convention on CreateDXGIFactory1
Closes #1740
2019-03-13 20:11:43 -05:00
Colin Edwards
01b6672de5
Merge pull request #1671 from derrod/nvenc-bframeasreferenceoption
obs-ffmpeg: Add option to use b-frames as reference
2019-03-13 19:10:59 -05:00
jp9000
c88bd219cb image-source: Add memory usage limit to slideshow
This prevents users from loading too much image data at once.  It will
only add as many files within the memory limit.
2019-03-13 01:12:40 -07:00
jp9000
a776a6cf07 libobs/graphics: Add memory usage member to image file
Allows estimating the required memory usage of an image.
2019-03-13 01:11:18 -07:00
jp9000
a2829643f4 libobs: Add function to get libobs object data 2019-03-13 00:50:19 -07:00
jp9000
07c22cb885 image-source: Revert slideshow dynamic loading
Reverts dynamic loading of images to slideshow.
2019-03-13 00:07:45 -07:00
jp9000
2f90bcf684 libobs: Fix frame not being cleared
Fixes the remaining case where a frame from the previous
recording/stream could show up at the beginning of the next
recording/stream on the same running session when using the new version
of NVENC.  Textures are being converted for both raw and texture-based
encoders, so this variable which determines whether a texture is ready
and has been converted should be cleared in both cases.
2019-03-12 12:54:47 -07:00
Colin Edwards
73b9957ec7
Merge pull request #1739 from Gol-D-Ace/CI-Travis-Xenial
CI: Build on Ubuntu Xenial for Travis CI
2019-03-12 12:50:53 -05:00
Colin Edwards
b46df235e7
Merge pull request #1741 from Gol-D-Ace/azure_stuff
CI: Build for Linux on Azure Pipelines
2019-03-12 11:19:49 -05:00
Gol-D-Ace
f0cd1f61c4 CI: Build for Linux on Azure Pipelines 2019-03-12 08:19:45 +01:00
Gol-D-Ace
5e01429aa6 CI: Build on Ubuntu Xenial for Travis CI
Trusty is reaching EOL in April 2019.
2019-03-12 06:56:25 +01:00
Colin Edwards
7f3ae272c7
Merge pull request #1738 from Gol-D-Ace/locale_improvements
Adjust locales for better consistency
2019-03-12 00:31:08 -05:00
Vainock
a99f71ef1c Adjust locales for better consistency 2019-03-12 06:27:47 +01:00
Colin Edwards
0377a34095
Merge pull request #1725 from derrod/bwtest-cbox
UI: Add checkbox for Twitch bandwidth test mode
2019-03-11 23:37:23 -05:00
jp9000
bb034308d4 libobs-d3d11: Log errors from HasBadNV12Output just in case 2019-03-11 13:42:47 -07:00
jp9000
4aed743a93 libobs-d3d11: Improve NV12 validity check for AMD
On some AMD systems, the test for bad NV12 output would come up negative
(output was good), but when recording/streaming, it would have bad
output.  While the test worked correctly with NVIDIA systems, it did not
work in these cases.  This was because we did not correctly reproduce
the exact conditions of green output because the textures used for the
test were not also keyed mutex shared textures.  This fixes that issue
and ensures the test works correctly in those other niche cases.
2019-03-11 13:42:47 -07:00
Gol-D-Ace
d1cd27410d
Merge pull request #1734 from derrod/discord-webhook
CI: Always send travis webhook and remove IRC sections
2019-03-11 13:42:30 +01:00
derrod
22d57dce8b CI: Always send travis webhook and remove IRC sections
The IRC bot's webhook functionality hasn't worked in some time since
switching host machines. The Discord bot can handle build result changes
itself and having all results will useful for some future expansions
(e.g. tracking latest mac nightly build).
2019-03-11 05:13:00 +01:00
VodBox
ce4bda45df obs-ffmpeg: Change clear on media end wording for media source
As per mantis issue 1403, the current wording for ClearOnMediaEnd is
ambiguous. Since it says "Hide source", some may believe it to mean the
scene item in the sources list will have it's visibility set to hidden.
This wording makes it clearer what the checkbox actually does.
2019-03-11 12:16:54 +13:00
Colin Edwards
2a6070e308
Merge pull request #1732 from derrod/fix-qtsvg-debug
cmake: Fix Qt DLL filenames for debug builds
2019-03-10 03:58:33 -05:00
derrod
9cc0d459bd cmake: Fix Qt DLL filenames for debug builds 2019-03-10 09:47:16 +01:00
Colin Edwards
fea204411d
Merge pull request #1731 from Gol-D-Ace/PAL-FPS
UI: Add PAL 25 & 50 FPS as common FPS values
2019-03-10 01:55:00 -06:00
derrod
4595d49e98 UI: Add confirmation dialog for bandwidth test mode 2019-03-10 08:37:29 +01:00
Gol-D-Ace
7c0620b54f UI: Add PAL 25 & 50 FPS as common FPS values 2019-03-10 08:31:08 +01:00
Colin Edwards
045aa71e09
Merge pull request #1691 from nocodedweb/master
rtmp-services: Added GamePlank to services
2019-03-09 19:51:55 -06:00
Colin Edwards
c4f4b6602b
Merge pull request #1648 from DougTy/master
linux-v4l2: Add setting to change color range
2019-03-09 18:58:19 -06:00
Colin Edwards
5b9e96c15b
Merge pull request #1584 from cg2121/settings-icons
UI: Redo settings icons
2019-03-09 18:49:05 -06:00
Colin Edwards
7d4252123e
Merge pull request #1727 from cg2121/locale-patch
UI: Fix a couple of locale issues
2019-03-09 17:18:09 -06:00
Colin Edwards
4089a95417
Merge pull request #1723 from Gol-D-Ace/azure_stuff
CI: Build 32/64 bit Windows parallel on Azure
2019-03-09 17:14:35 -06:00
Clayton Groeneveld
e5cca6b2a5 UI: Fix yes/no not using localization in no source dialog 2019-03-09 03:49:58 -06:00
Clayton Groeneveld
4b64aef555 UI: Change HDD to Disk in locale 2019-03-09 03:25:01 -06:00
derrod
51bfb9d899 UI: Add checkbox for Twitch bandwidth test mode 2019-03-09 02:54:41 +01:00
Gol-D-Ace
c6b61887f0 CI: Build 32/64 bit Windows parallel on Azure 2019-03-08 05:46:11 +01:00
Colin Edwards
c55f006058
Merge pull request #1722 from Gol-D-Ace/azure_stuff
CI: Build for windows on Azure Pipelines
2019-03-07 11:31:09 -06:00
Colin Edwards
e17cadaf38 CI: Build for windows on Azure Pipelines 2019-03-07 17:23:08 +01:00
jp9000
93cc09f078 obs-text, win-capture: Do not use premultiplied alpha 2019-03-07 08:14:34 -08:00
James Park
7d811499e0 Add "Area" scale filter
This new scale filter computes pixels by weighing the coverage area of
source pixels over the target pixel. This algorithm works well for both
upsampling and downsampling, but was mainly designed to upscale
high-quality low-resolution sources like RGB/HDMI retro consoles. I've
heard of people using odd workarounds like scaling up to very high
resolutions before scaling back down to preserve pixel shartpness. This
algorithm directly addresses this use-case in a much more direct
fashion.

The Area scale filter does a better job of preserving the thickness of
thin features than the Point filter.

The Area scale filter does not look at source pixels that lie outside
of the target pixel, leading to a much sharper image than Bilinear,
Bicubic, and Lanczos filters.

This filter should interpolate pixels in linear space, but OBS is not
equipped to do that at the moment.

libobs: Add GPU effect, and wire up scene serialization.

obs-filters: Add Area as an option for scale_filter.

UI: Add Area as an option for both scene items, and canvas downscaling.
2019-03-06 20:53:15 -08:00
jp9000
ac651aa492 UI: Fix "What's New" showing again each patch version 2019-03-06 19:13:12 -08:00
jp9000
8a50b28f55 UI: If from 23.0.1 or 23.0.0, hide activity feed
If the previous version was 23.0.0 or 23.0.1, hide activity feed by
default when loading twitch panel UI.
2019-03-06 19:13:12 -08:00
Alex Anderson
7e23d1b63e UI: Add Twitch Activity Feed
Closes obsproject/obs-studio#1721
2019-03-06 14:28:49 -08:00
jp9000
ec9e48f3c7 libobs: Remove unnecessary count check 2019-03-06 07:43:22 -08:00
jp9000
fbe382a15c libobs: Fix code styling 2019-03-06 07:27:16 -08:00
jp9000
cd3d64215e libobs: Fix first frame when output restarted
When all outputs stop, and then the output starts back up again at a
later point after that, the last frame data or two from the previous
output session would end up as the first frame or two of the proceeding
output.  This was because certain rendering variables were not being
properly cleared when a new output starts back up.
2019-03-05 19:20:18 -08:00
Clayton Groeneveld
80875768ad UI: Redo settings icons 2019-03-05 19:54:12 -06:00
jp9000
d73844c78a CI: Fix building on trusty 2019-03-05 16:00:09 -08:00
Clayton Groeneveld
b40d000648 UI: Add (Do not show again) checkbox to dock closing warning
Closes obsproject/obs-studio#1717
2019-03-05 15:33:03 -08:00
jp9000
4c7860056e Revert "Merge pull request #1418 from cabirdme/qsv_feature_add"
This reverts commit 3c22cf35c9802240c4775d98d360601ff2b67905, reversing
changes made to c7dab6c92ba7380b0d91f4a34b1f507a512d581b.

This is being reverted due to many people being unable to start up the
QSV encoder with these changes.
2019-03-05 15:21:09 -08:00
jp9000
92cb20e7a2 Revert "obs-qsv: Enable b-pyramid & change packet priority"
This reverts commit 33ff46a10e9c9844737990c567ffe497ef2cbd6f.

This is being reverted due to many people being unable to start up the
QSV encoder with these changes.
2019-03-05 15:20:42 -08:00
jp9000
4450843aa0 UI: Warn when closing dock widgets for first time
Users don't realize that dockable windows can be closed (hidden) and can
be shown again via the View menu.  This adds an explicit warning when
the user first closes a dockable window for their first time.  In future
versions, this should be changed to a dialog box with a "Do not show
again" checkbox.
2019-03-05 14:39:24 -08:00
jp9000
106222154a UI: Add way to exec std::function via invokeMethod
Allows the ability to use invokeMethod on the OBSApp object to execute
an std::function.  This allows deferring an std::function call to the Qt
event queue.
2019-03-05 14:39:24 -08:00