2741 Commits

Author SHA1 Message Date
Kurt Kartaltepe
be7dcb8bf6 v4l2-linux: Fix fourcc order
v4l2 pixfmt fourcc's are always stored little-endian.
ref: https://www.kernel.org/doc/html/latest/userspace-api/media/v4l/vidioc-enum-fmt.html?highlight=vidioc_enum_fmt
2020-09-27 00:08:48 -07:00
Kurt Kartaltepe
0cad2abbbe v4l2-linux: Fix nv12 linesize
unlike other YUV based formats nv12 chroma plane has the same padding as
the luma plane.
ref: https://01.org/linuxgraphics/gfx-docs/drm/media/uapi/v4l/pixfmt-nv12.html
2020-09-27 00:07:37 -07:00
invalidtask
9815876b45 rtmp-services: Updatge Vaughn Live / iNSTAGIB & Breakers 2020-09-25 04:19:23 -07:00
Jim
890d325d93
Merge pull request #3388 from timmiehaha/issue-3146
mac-capture: show actual windows in Window Capture sources
2020-09-18 21:50:45 -07:00
Jim
43bdf9d516
Merge pull request #3473 from WizardCM/fix-vcam-scripts
win-dshow: Set current working directory in VirtualCam scripts
2020-09-18 18:56:56 -07:00
Ed Ropple
12f593d2e4 rtmp-services: Added Mux to services.json
This change adds both Mux's RTMP and RTMPS endpoints to
the list of prefilled services.
2020-09-19 12:18:03 +12:00
Matt Gajownik
ccd1ef2bd0 win-dshow: Set current working directory in VirtualCam scripts 2020-09-15 19:58:02 +10:00
Nathan-Huckleberry
b1bf31dbe7 linux-v4l2: Fix boolean and menu control types
Previously, changing boolean or menu settings would send incorrect
values to the ioctl.  This change fixes the support.
2020-09-14 21:31:30 -07:00
cristisilaghi
dd9f4fd22c obs-ffmpeg: Add missing translable string for "Profile" 2020-09-10 16:24:10 +03:00
jp9000
107a85cc59 win-capture: Increment graphics hook version 2020-09-09 10:32:57 -07:00
Jim
635827e51d
Merge pull request #3439 from kkartaltepe/ffmpeg-crash
obs-ffmpeg: fix crash with rawvideo
2020-09-09 09:59:09 -07:00
jp9000
e2bad8e79d obs-filters: Remove unnecessary files 2020-09-09 09:29:11 -07:00
jp9000
0608506e98 obs-filters: Use builtin rnnoise dep if not found 2020-09-09 09:25:11 -07:00
Kurt Kartaltepe
8761fa1a2c obs-ffmpeg: fix crash with rawvideo
Some codecs have no recommended pix_fmts so we must check that pix_fmts
is not null before trying to find a good match. This just prays whatever
OBS is configure for is a valid format when users choose these oddball
codecs. When its not you should get a normal recording fail instead of a
crash now.

fixes #3031
2020-09-08 21:22:24 -07:00
Richard Stanway
5889e2905e CMake: Set PIC for all library targets
Fixes https://github.com/obsproject/obs-studio/issues/3436
2020-09-09 01:55:50 +02:00
Jim
5a236870c0
Merge pull request #2838 from Waik0/rtmp-services-showroom
rtmp-services: Add SHOWROOM
2020-09-08 16:12:54 -07:00
Toasterapp
80547455ca rtmp-services: Add SHOWROOM 2020-09-08 15:29:03 -07:00
Jim
01c7200716
Merge pull request #3435 from jpark37/game-capture-messages
win-capture: Improve game capture messages
2020-09-08 10:24:48 -07:00
jpark37
7cf148e013 win-capture: Improve game capture messages
Tag debug output in the game process with "[OBS]" and mention that
graphics-hook.dll is ours.
2020-09-08 09:55:46 -07:00
jp9000
e86b8241f3 win-dshow: Fix bug determining closest audio config
This fixes the remaining bugs that were still present when trying to fix
audio-related crashes with AJA devices.
2020-09-07 18:05:54 -07:00
jp9000
072a886453 win-dshow: Add "activate" proc to proc handler 2020-09-07 16:12:50 -07:00
jp9000
57c21e3cb9 win-dshow: Fix 24bit audio not being detected correctly 2020-09-07 15:26:01 -07:00
jp9000
1538b6909f win-dshow: Fix AJA devices crashing 2020-09-07 14:14:40 -07:00
jp9000
af09057395 libobs: Deprecate service multitrack check
This isn't particularly needed, as a service with multiple tracks won't
be using multiple tracks to begin with anyway.  This might change later,
but for now just mark it deprecated.
2020-09-07 13:38:38 -07:00
Jim
86147d9719
Merge pull request #3415 from jpark37/default-color-space
Unify color space settings as 709
2020-09-07 13:29:44 -07:00
jpark37
b3dcb2a0f1 enc-amf: Update AMD encoder submodule 2020-09-07 07:58:54 -07:00
jpark37
b6afaceeae Update VIDEO_CS_DEFAULT to mean 709 instead of 601
Consistent with modified default UI setting.
2020-09-06 20:51:28 -07:00
Joel Bethke
a94ede6d00 win-dshow: Add VirtualCam installer scripts
This adds two batch scripts to install and uninstall the virtual cam
devices for installations where the installer could not be used.  Most
commonly, this is for portable installations or those who prefer the
.zip file.
2020-09-06 18:04:44 -07:00
jp9000
da8192544b win-dshow: Use cmake-based GUID for virtualcam 2020-09-06 17:04:06 -07:00
jp9000
bdd6562a94 win-capture: Put window capture update data in a mutex
Because the window capture source updates its data whenever certain
properties are modified, this would cause a race condition because
source updates normally happen in the graphics thread.  To solve this
for the time being, put access to that data within a mutex when updating
or updating visibility.
2020-09-03 05:49:58 -07:00
Richard Stanway
c13357ff91 vlc-video: Fix format conversion typos
Introduced by 8b632fa227e2df4865ad59af84af39b8c2ce8e49
Fixes https://github.com/obsproject/obs-studio/issues/3396
2020-09-03 01:13:33 +02:00
Tim Vaca
f694f94b14 mac-capture: Filter non-trivial windows
Filter the window list provided by the OS to prevent listing icons and
system windows as possible window capture targets.

Fixes #3146.
2020-09-02 11:13:33 -04:00
jpark37
94475b8795 win-capture: Fix Vulkan crash on minimize restore
Set uninitialized data members to avoid crash coming back from minimize.
2020-09-01 20:20:59 -07:00
jpark37
7a66466efc win-capture: Add Vulkan instance creation fallback
Fall back to original arguments if our 1.1 API request doesn't work.
2020-09-01 18:59:13 -07:00
jpark37
e905b4cb6e win-capture: Vulkan variable naming consistency 2020-09-01 18:56:14 -07:00
Richard Stanway
288a84dc95 win-dshow: Add file description for virtual camera DLL 2020-08-29 03:04:44 +02:00
Matt Gajownik
3370e8fc12 obs-vst: Support older Qt versions 2020-08-29 10:56:12 +10:00
Richard Stanway
21fb1e770e win-dshow: Use constant reference for virtualcam CLSID 2020-08-29 02:46:03 +02:00
Richard Stanway
4c08c7bfa4 win-dshow: Reduce size of virtualcam placeholder image 2020-08-29 02:42:03 +02:00
Richard Stanway
8b632fa227 vlc-video: Fix possible undefined behavior in format conversion
Casting from char[] to uint32_t * is considered undefined behavior due
to different alignment requirements. Instead of using char[] for the new
value, this uses a macro to set a uint32_t directly.

Issue detected by PVS Studio.
2020-08-29 02:42:03 +02:00
Matt Gajownik
94ca885bda obs-vst: Fix VST detection in home directory on Linux 2020-08-29 09:38:57 +10:00
Matt Gajownik
ff69ff72f5 obs-browser: Update to 2.8.7
This contains a fix for Unicode CSS
2020-08-29 09:35:31 +10:00
Jim
87125984ee
Merge pull request #3350 from kkartaltepe/noise_cmake
obs-filters: Cleanup CMake
2020-08-27 10:18:38 -07:00
Jim
6efd70fc01
Merge pull request #3260 from jpark37/vulkan-cts-hack-remove
win-capture: Remove Vulkan CTS workaround
2020-08-27 10:18:08 -07:00
Kurt Kartaltepe
a2f5c323da obs-filters: Cleanup CMake
This file has become a mess of people hacking in fixes so this cleans it
up to make sense again.
2020-08-27 09:02:36 -07:00
Shaolin
420823bfaa plugins: Clear compile warnings on Linux 2020-08-26 01:34:03 -03:00
jp9000
bf4a917751 win-capture: Fix excessive window capture logging 2020-08-25 10:18:45 -07:00
jp9000
d310f1532b obs-outputs: Remove legacy multitrack code 2020-08-24 13:07:55 -07:00
Clayton Groeneveld
d2d99ac5fc obs-ffmpeg: Fix crash when seeking with no media
This fixes a crash when seeking when there is no valid
media.
2020-08-24 02:43:42 -05:00
Jim
aef10d46c4
Merge pull request #3322 from kkartaltepe/unused-var-cleanup
obs-filters/obs-outputs: Cleanup unused var warns
2020-08-23 12:40:54 -07:00