2864 Commits

Author SHA1 Message Date
Maya Venkatraman
c4e71794d9 obs-ffmpeg: Allow using stream keys with muxer
(Jim) Allows the ability to use stream keys with ffmpeg-mux -- this will
enable the ability to use it with certain services (such as YouTube)
which allow different protocols (such as HLS)
2020-10-13 13:54:42 -07:00
Maya Venkatraman
d7e673d23d obs-ffmpeg: Allow specifying mux settings directly
(Jim) Allows the ability to specify mux settings directly on the
output's structure itself rather than just via settings. This is useful
for network-based muxer outputs (such as HLS).
2020-10-13 13:54:08 -07:00
Maya Venkatraman
966b48a0f7 obs-ffmpeg/ffmpeg-mux: Use separate printable URL target
(Jim) printable_file allows the ability to keep a separate string for
logging which will not contain things like stream keys when used with
outputs such as HLS.
2020-10-13 13:54:01 -07:00
Maya Venkatraman
04596ec097 obs-ffmpeg/ffmpeg-mux: Set codec->time_base if avformat < 59 2020-10-13 13:29:17 -07:00
Maya Venkatraman
f7a468dd30 obs-ffmpeg/ffmpeg-mux: Add ability to get FFmpeg logging 2020-10-13 13:29:17 -07:00
Maya Venkatraman
41f4a0b0b9 UI: Add support for "More Info" link from service
(Jim) Allows the ability to get a link from the service's settings about
a specific service selection the user chooses and display it as a "More
Info" button that the user can click to find out more information about
that particular service.
2020-10-13 13:29:17 -07:00
Maya Venkatraman
c574b65488 obs-ffmpeg/ffmpeg-mux: Fix variable case 2020-10-13 13:29:17 -07:00
Maya Venkatraman
87a64e6565 obs-ffmpeg: Move muxer structure/funcs to header
(Jim) Allows the ability to use it for more output types.
2020-10-13 13:29:15 -07:00
jp9000
3d51602690 UI: Fix replay buffer frontend event not triggering
The frontend API event OBS_FRONTEND_EVENT_REPLAY_BUFFER_SAVED was not
being triggered when hotkeys were used because it was only set to
trigger when the replay buffer button was clicked, not when a hotkey was
used. This fixes it so that the frontend event sends a signal to the
frontend so that hotkeys will actually work.
2020-10-12 16:59:26 -07:00
jp9000
e1a0c60735 coreaudio-encoder: Actually fix coreaudio loading
Apparently using LoadLibrary on a full path doesn't work -- you need to
use SetDllDirectory before loading a library.
2020-10-06 07:50:38 -07:00
pkv
11602bc933 coreaudio-encoder: Fix path on windows
The path of coreaudio dll has changed in current versions of iTunes on
windows.  The patch fixes the issue while keeping compatibility with
previous path.

Fixes obsproject/obs-studio#3503
2020-10-05 03:39:33 -07:00
jp9000
1b5a331c56 coreaudio-encoder: Refactor windows import
Refactors the windows import library section so that it uses a list, and
remove a slightly unnecessary macro in release_lib
2020-10-05 03:39:33 -07:00
karenkim-AfreecaTV
3c058e1c0e rtmp-services: Update AfreecaTV 2020-10-04 23:44:01 -07:00
jp9000
c66fa09b46 win-capture: Update hook version 2020-10-04 11:41:19 -07:00
jp9000
7a2d64d00a win-dshow: Fix decoupled audio with EVGA/magewell
EVGA/magewell devices seem to use the default system drivers rather than
custom drivers, which causes their audio to become decoupled and treated
as completely separate devices rather than as an audio pin on the video
device. Basically, this would cause those devices to not have audio by
default, and force the user to have to manually select the audio, which
is bad user experience.

We already had a workaround for this with elgato devices, so expand that
code to become a whitelist of devices, and include EVGA/magewell
devices.
2020-10-04 10:07:12 -07:00
jpark37
9ba768837b win-capture: Violate Vulkan spec for compatibility
Rivatuner Statistics Server calls vkGetInstanceProcAddr for
vkCreateDevice with a NULL instance. According to spec, this should
return NULL, but RTSS will dereference this and crash.

This change returns function pointers for every intercepted function
regardless of instance, which is enough to keep RTSS alive.
2020-10-03 22:41:11 -07:00
Eric Lindvall
4f87337646 obs-ffmpeg: Add error detection to ffmpeg-mux
ffmpeg-mux does not notice if ffmpeg returns an error from
av_interleaved_write_frame() which means that OBS never knows if there is a
problem in ffmpeg.

This is the biggest issue for cases like srt:// or tcp:// streams that can
regularly fail. Without this change OBS never knows that something went wrong.
2020-10-03 22:26:52 -07:00
Eric Lindvall
3d1c13210a obs-ffmpeg: Signal a remote disconnect for network streams from ffmpeg-mux
If using ffmpeg-mux to send a network stream, signal a disconnect error code
on error to allow reconnections to take place.
2020-10-03 22:17:02 -07:00
Jim
149550392b
Revert "mac-capture: show actual windows in Window Capture sources" 2020-10-03 14:23:54 -07:00
windwakr
884c43f8c0 win-capture: Fix mask handling on some color cursors 2020-10-03 05:55:30 -07:00
Ben Bowler
0f14d2217d rtmp-services: Remove weabook.live
It seems like weabook.live is no longer a live streaming provider.
2020-10-02 06:27:39 -07:00
SCG82
0481873ef9 rtmp-services: Set actual integer value of bframes in services 2020-10-02 04:31:26 -07:00
Gol-D-Ace
c66ebde080 Update translations from Crowdin 2020-09-27 23:07:27 +02:00
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