brittneysclark
2f62831a96
obs-qsv: Enable LA_CBR as QSV rate control
...
Allow user to choose look ahead CBR as the rate control method for QSV.
Also, changes look ahead depth default to 15 when used.
2019-07-16 07:46:02 -07:00
brittneysclark
8717a66991
obs-qsv: Enable Content Adaptive Quantization
...
Allow user to enable Content Adaptive Quantization (MMBRC) if CPU is SKL
or newer
2019-07-13 00:10:16 -07:00
brittneysclark
b675bed90b
obs-qsv: Enable B-frames and B-pyramid for encoder
...
Enable B-Pyramid frames to improve quality for high motion content.
B-pyramid allows a B-frame to choose closer frames for reference which
may have higher correlation.
Adjusts packet priority to avoid dropping referable B-frames
A check has been added to ensure feature is enabled only on platforms
with MSDK API 1.8 or higher - addresses crashing issues.
2019-07-12 23:35:16 -07:00
brittneysclark
2b59b010bb
obs-qsv: Add newer platforms to CPU enum
...
Adding BDW and SKL to QSV CPU enum to check CPUID before enabling newer
QSV features
2019-07-12 08:04:57 -07:00
jp9000
617086b040
obs-ffmpeg: Separate logging code
...
Cleans up obs-ffmpeg.c and separates all the logging code to a different
file, which can be enabled with ENABLE_FFMPEG_LOGGING.
2019-07-09 10:07:24 -07:00
wang-bin
5b6ee6e66b
libobs: Clear module variable in case module reloaded
...
Closes obsproject/obs-studio#1957
2019-07-09 08:37:43 -07:00
jp9000
3b581a3727
obs-ffmpeg: Remove unnecessary function
...
This terrible boilerplate code is no longer necessary, as it is now
fixed by the previous commit.
2019-07-07 16:38:21 -07:00
jp9000
85ca1b6918
libobs: Correct raw output starting audio data
...
If the audio subsystem was buffered to any extent, the audio of a raw
output would start off at a negative offset, requiring each raw output
to implement a "prepare_audio" function (as seen in the FFmpeg output)
in order to ensure proper synchronization with video. This did not
apply to encoded outputs because it was already being performed by the
obs-encoder code.
2019-07-07 16:38:21 -07:00
jp9000
70ecbcd5d4
libobs: Add obs_get_frame_interval_ns
...
Returns the current video frame interval between frames, in nanoseconds.
2019-07-07 16:38:21 -07:00
jp9000
3a6a1a4ff8
UI: Don't display MP4/MOV warning if lossless
2019-07-06 09:27:40 -07:00
jp9000
8caa4f938c
obs-ffmpeg: Check for replay buffer button press
...
The replay buffer was triggering on both button press and button
release, which is redundant.
2019-07-06 09:27:40 -07:00
jp9000
be8c063346
UI: Make adv. streaming audio encoder independent
...
Allows the ability to pause when streaming and recording use the same
tracks in advanced output mode.
2019-07-06 09:27:40 -07:00
Richard Stanway
ad233330f3
Merge pull request #1948 from derrod/purge-services
...
rtmp-services: Update and prune services
2019-07-01 22:02:49 +02:00
derrod
d954853ce9
rtmp-services: Update and prune services
2019-07-01 19:56:31 +02:00
Jim
39dcdae2de
Merge pull request #1940 from bc-lee/feature/git-hyper-blame
...
.git-blame-ignore-revs: Add file to handle mass reformatting
2019-07-01 02:44:59 -07:00
Jim
ae021213f5
Merge pull request #1945 from jpark37/fix-source-format
...
libobs: Fix format selection
2019-07-01 02:38:43 -07:00
Jim
84369f60e4
Merge pull request #1946 from jpark37/ternary-type-conversion
...
libobs-d3d11: Unnecessary type conversions
2019-07-01 02:37:51 -07:00
Richard Stanway
7f1f97a61f
libobs-d3d11: Set texture using initializer list
2019-06-29 01:28:16 +02:00
Richard Stanway
0e77a2c75b
obs-outputs: Minor pointer fixes
2019-06-29 01:28:16 +02:00
Richard Stanway
183cc920c8
UI: Avoid ternary operator for mixed types
2019-06-29 01:28:16 +02:00
jpark37
2ef25ceb85
libobs: Fix format selection
...
Fix ternary test to use BGRX render targets for YUV to RGB
conversions. The previous behavior may have been fine though since
the shaders fill the alpha channel with 1.0 anyway.
2019-06-27 08:57:41 -05:00
jpark37
8c4d98195f
libobs-d3d11: Unnecessary type conversions
...
Use raw pointer on both sides of ternary test result to remove
conversions.
2019-06-27 08:55:26 -05:00
Byoungchan Lee
95154a17c3
.git-blame-ignore-revs: Add file to handle mass reformatting
...
Google's git-hyper-blame command is a variant of git-blame,
but it can ignore certain commits like mass reformatting in f53df7d .
To use git-hyper-blame, it is better to make a .git-blame-ignore-revs file
in the repository root directory and put commits in the file to ignore such
commits.
Ref: https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/git-hyper-blame.html
https://chromium.googlesource.com/chromium/src.git/+/437b870/.git-blame-ignore-revs
https://github.com/mozilla/gecko-dev/commits/03c48ac/.git-blame-ignore-revs
2019-06-27 01:09:31 +09:00
Jim
cff0d6800f
Merge pull request #1938 from Dead133/master
...
rtmp-services: Update ingest list for Restream.io
2019-06-25 18:35:46 -07:00
Jim
c558b81f34
Merge pull request #1936 from jpark37/empty-vao
...
libobs-opengl: Empty VAO
2019-06-25 18:34:29 -07:00
jp9000
841bac4981
clang-format: Remove redundant params
2019-06-25 15:52:33 -07:00
Dead133
e0c8aac485
rtmp-services: Update ingest list for Restream.io
2019-06-25 17:18:02 +03:00
jpark37
b8e5cf3a95
libobs-opengl: Empty VAO
...
Use an empty VAO for shaders that generate their own vertices.
2019-06-24 23:13:04 -05:00
Jim
c938ea712b
Merge pull request #1935 from obsproject/clang-format
...
Apply clang-format to the project
2019-06-24 19:41:51 -07:00
Richard Stanway
80e9bb4ec7
libobs-d3d11: Fix missing vertex buffer clear in NV12 check
2019-06-25 00:51:01 +02:00
jp9000
8c54b7f393
obs-ffmpeg: Move external headers to external dir
...
Prevents automatic formatting with clang-format
2019-06-23 23:54:26 -07:00
jp9000
f53df7da64
clang-format: Apply formatting
...
Code submissions have continually suffered from formatting
inconsistencies that constantly have to be addressed. Using
clang-format simplifies this by making code formatting more consistent,
and allows automation of the code formatting so that maintainers can
focus more on the code itself instead of code formatting.
2019-06-23 23:49:10 -07:00
jp9000
53615ee10f
clang-format: Add clang-format files
2019-06-23 01:53:56 -07:00
Jim
3180a07d7c
Merge pull request #1911 from jpark37/full-screen-triangle
...
libobs: Full-screen triangle format conversions
2019-06-22 02:42:32 -07:00
James Park
aa22b61e3e
libobs: Full-screen triangle format conversions
...
The cache coherency of rasterization for full-screen passes is better
using an oversized triangle that is clipped rather than two triangles.
Traversal order of rasterization is GPU-specific, but will almost
certainly be better using an undivided primitive.
A smaller benefit is that quads along the diagonal are not evaluated
multiple times, but that's minor in comparison.
Redo format shaders to bypass vertex buffer, and input layout. Add
global shader bool "obs_glsl_compile" to make API-specific decisions,
i.e. handle upside-down UVs. gl_ortho is not needed for format
conversion because the vertex shader does not use ViewProj anymore.
This can be applied to more situations, but start small first.
Testbed full screen passes, Intel HD Graphics 530:
RGBA -> UYVX: 467 -> 439 us, ~6% savings
UYVX -> uv: 295 -> 239 us, ~19% savings
2019-06-18 22:29:07 -07:00
Jim
6a795d52ea
Merge pull request #1894 from Rosuav/lock-unlock-event
...
libobs/UI: Implement an item_locked event
2019-06-18 20:31:26 -07:00
Jim
ab70bff4b3
Merge pull request #1913 from jpark37/area-shader-optimization
...
libobs: Area-resampling shader optimizations
2019-06-17 20:40:25 -07:00
Jim
55740f6f2e
Merge pull request #1920 from jpark37/vector-pop
...
libobs-d3d11: Clean up device_projection_pop
2019-06-17 19:32:18 -07:00
Jim
6b60b28e51
Merge pull request #1928 from cg2121/no-tracks-selected
...
UI: Use stream track if no tracks are selected
2019-06-17 17:27:15 -07:00
Clayton Groeneveld
493962330c
UI: Use stream track if no tracks are selected
2019-06-17 17:52:30 -05:00
jp9000
74cd1da656
Revert "UI: Use theme colors setting for Projectors too"
...
This reverts commit 8a22889e3d .
After further usage, result is undesirable. We don't need the theme
applied to projectors.
2019-06-16 17:43:55 -07:00
Jim
fafda14963
Merge pull request #1906 from jpark37/bgr-three
...
libobs: linux-v412: obs-ffmpeg: Add packed BGR3 video support
2019-06-15 16:40:44 -07:00
Jim
914fffe137
Merge pull request #1889 from jpark37/warm-render-targets
...
libobs: Remove unnecessary frame pipelining
2019-06-15 16:13:03 -07:00
Chris Angelico
2fe641b8a4
libobs, UI: Implement item_locked event
...
Similar to item_visible, this event fires whenever a scene item is
locked or unlocked. This allows the UI and libobs to remain in sync
regarding scene elements' statuses.
2019-06-15 16:09:10 -07:00
Jim
dd607b422f
Merge pull request #1881 from jpark37/lowres-fair-sampling
...
libobs: Improve low-resolution bilinear sampling
2019-06-15 16:03:02 -07:00
jp9000
02e523c125
libobs: Update version to 23.2.1
23.2.1
2019-06-13 22:28:10 -07:00
jp9000
bcd59b670a
obs-frontend-api: Add func to add custom docks
2019-06-13 21:12:49 -07:00
Jim
6a4f1d0c1d
Merge pull request #1925 from jpark37/disable-source-convert-blend
...
libobs: Disable blending when converting sources
2019-06-13 14:18:19 -07:00
James Park
e72eb39e47
libobs: Disable blending when converting sources
...
This fixes the issue where limited-range RGB sources were being
composited with dirty render targets.
2019-06-12 22:23:51 -07:00
jp9000
4d3414a1ce
UI: Fix editor inheriting source list stylesheet
...
Fixes a bug where if the user gave a custom color to a source list item,
the edit box used with renaming the item would also have that
background color while editing the name, awkwardly.
2019-06-11 22:20:51 -07:00