2651 Commits

Author SHA1 Message Date
pkv
c8ff234255 obs-ffmpeg: Enable mpegts network URL for ffmpeg-mux 2020-05-18 22:18:23 -07:00
Matthew Glazar
601aa3ffb1 obs-x264: Log ignored options
When an x264 option doesn't include a "=", it is silently ignored. This
is frustrating for users. Log when part of the options string is
ignored.

Aside from logging, this commit should not change behavior.
2020-05-17 15:08:39 -07:00
Matthew Glazar
6190ba250d obs-x264: Log only options given to libx264
The "custom settings" log message is misleading. It simply echoes the
user-given string, but does not reflect the options given to libx264 or
handled by obs-x264 itself. Change the log message to omit skipped
options.
2020-05-17 15:08:38 -07:00
Matthew Glazar
40b4e32c41 obs-x264: Refactor tokenizing of options
We do a bad job of handling errors in user-supplied x264 options. I want
to improve our error handling. To make my job easier, move the code for
parsing the x264 options string into its own function. Also, add some
tests for the functionality.

Aside from a minor tweak to a log message for the opencl option, this
commit should not change behavior.
2020-05-17 15:08:34 -07:00
jpark37
e933e20b7c win-capture: Ignore cloaked windows
Fixes issue where there are two window handles for minimized Calculator,
and OBS picks the wrong one.
2020-05-17 10:45:10 -07:00
brittneysclark
45df89ef93 obs-qsv11: Enable VDEnc on ICL+
Enable AVC VDEnc (fixed function encode) on ICL+
2020-05-16 05:29:20 -07:00
brittneysclark
8ba7a8b92b obs-qsv11: Add latency mode to QSV settings
Simplify UI options by combining LookAhead Depth and Async Depth into
latency mode option. Ultra-low, low, and normal will set these two
encode parameters accordingly.
2020-05-16 04:33:20 -07:00
jpark37
477f90620d win-capture: Reset WGC fail flag for new window
WGC will give up on a window that it fails to capture, but that
shouldn't stop it from attempting to capture new windows.

Fixes #2928.
2020-05-13 07:54:41 -07:00
jp9000
7993179466 cmake: Add cmake folders 2020-05-13 06:52:37 -07:00
jpark37
30f6870b23 win-capture: Fail on unsupported Vulkan formats
Don't allow unsupported Vulkan formats to fall back to B8G8R8A8.
Probably better to fail completely than do an illegal copy.

Also remove bad conversion for VK_FORMAT_A2R10G10B10_UNORM_PACK32.
Red and blue channels were reversed, and there's no DXGI equivalent.

Addresses #2796. We can do more later if justified.
2020-05-12 12:06:03 -07:00
jpark37
3d6bec6d2d mac-capture: Use resize instead of reserve
Better practice for the tracked size to be nonzero.

This does NOT speed up window capture significantly.
2020-05-09 09:12:48 -07:00
Ryan Foster
0a89446ba4 win-capture: Log window capture method 2020-05-08 04:16:28 -04:00
Jim
cc39efc6a4
Merge pull request #2712 from khng300/freebsd-oss-audio
plugins: Add oss-audio input support
2020-05-07 06:56:45 -07:00
Jim
c59ce6981b
Merge pull request #2870 from ePirat/epirat-ffmpeg-frame-tearing-fix
obs-ffmpeg: Fix AVFrame handling in FFmpeg output
2020-05-07 02:49:26 -07:00
jpark37
097ea77488 libobs-winrt: win-capture: Detect GraphicsCaptureItem closure
Make WGC window capture recover from GraphicsCaptureItem closure, which
can occur when following links in fullscreen Chrome for example.
2020-05-06 21:42:26 -07:00
Marvin Scholz
9ef263f81a obs-ffmpeg: Fix AVFrame handling in FFmpeg output
Fix an issue in the way AVFrames were handled in the FFmpeg
encoder plugin, which could lead to tearing in the encoded
video due to data races in the AVFrame and AVBuffer.

This is fixed by calling av_frame_make_writable which ensures
the frame and its associated buffer are writable. If its not,
it will copy the AVFrame, create a new AVBuffer for it and
decrease the refcount of the old AVFrame and AVBuffer.
This way OBS always ends up with a usable buffer to write into
which is not still used by the encoder while avoiding a copy
when unnecessary.
2020-05-06 02:55:52 +02:00
univrsal
79c6e0dc13 vlc-video: Allow metadata retrieval through proc_handler 2020-05-03 10:55:52 -07:00
Jim
027b3b8a78
Merge pull request #2818 from nickosmoi/xlove_20200427
rtmp-services: Add Xlovecam.com streaming service
2020-05-03 08:30:19 -07:00
Philipp Bauer
3ec053ef5d rtmp-services: Update Switchboard Live servers
Closes obsproject/obs-studio#2813
2020-05-03 07:06:43 -07:00
Jim
f6dc71089a
Merge pull request #2814 from cg2121/media-hotkeys
obs-plugins: Check if sources are showing for media hotkeys
2020-05-03 06:49:31 -07:00
nico
ffe9bcab15 rtmp-services: Add Xlovecam.com streaming service 2020-05-03 06:45:56 -07:00
Jim
31c3bd5a96
Merge pull request #2830 from h-o-sein/master
rtmp-services: Update GameTips.TV
2020-05-03 06:40:26 -07:00
Ka Ho Ng
a5a8cc261c plugins: Add oss-audio plugin
This implements OSS audio input capturing support for OSS-capable OSes.
FreeBSD and DragonFly (not yet tested on) supports are added as a
starting point.
2020-05-02 17:38:27 +08:00
Ben Torell
2d14ee3e60
Merge pull request #2833 from RytoEX/update-process-packet-error
obs-ffmpeg: Update error message in process_packet
2020-04-29 19:39:12 -04:00
Richard Stanway
5c12c13061
Merge pull request #2793 from NiMO-TV/rtmp-nimo-1
rtmp-services: Add Nimo TV
2020-04-30 01:23:54 +02:00
Ryan Foster
7fdfb847f8 obs-ffmpeg: Update error message in process_packet
The error message in the process_packet function was prefixed with
"receive_audio" because it was previously from code in the encode_audio
function which was called from the receive_audio function. This is just
a string change to avoid being misled to believe that the error is
always audio related.
2020-04-29 19:04:54 -04:00
Alex Miller
0ddae2ece0 text-freetype2: Add Enable Antialiasing option 2020-04-30 00:40:12 +12:00
Hosein
9429ba0480 rtmp-services: Update GameTips.TV 2020-04-29 16:49:58 +04:30
Alex Miller
e8bc39804f obs-text: Add Enable Antialiasing option 2020-04-28 21:06:50 +12:00
Clayton Groeneveld
62b1911e33 obs-plugins: Check if sources are showing for media hotkeys 2020-04-26 21:57:01 -05:00
Ed Maste
c989e22c57 vlc-video: Enable building the plugin on FreeBSD 2020-04-26 20:27:48 -04:00
Richard Stanway
6fac77b69f obs-ffmpeg: Add error message for non-zero GPU 2020-04-27 01:22:34 +02:00
Richard Stanway
35e218e05b obs-ffmpeg: Add localization for NVENC error messages 2020-04-27 01:22:05 +02:00
Richard Stanway
6b441a180c obs-ffmpeg: Preserve error message from new NVENC
If we fallback to ffmpeg NVENC, the error from new NVENC might still be
present in the encoder structure. Given that this provides a lot more
actionable information to the user, let's use it if possible.
2020-04-26 23:35:28 +02:00
Richard Stanway
aa97534057 obs-ffmpeg: Log why new NVENC might not be used 2020-04-26 23:32:51 +02:00
Joel Bethke
dac1f7ddac
Merge pull request #2797 from GeorgesStavracas/gbsneto/color-grade-filter
obs-filters: Add a user label to the LUT filter
2020-04-25 16:23:49 -05:00
Georges Basile Stavracas Neto
bbf08b34d2 obs-filters: Add a user label to the LUT filter
While discussing the Flatpak RFC [1], it was spotted that the
LUT filter couldn't open the file selection dialog. It was
explained, then, that the proper formats were either composed
of "User Label (file extensions)", or "file extensions", and
the LUT filter was setting "(file extensions)" without the
actual user label.

While this works on a standard Qt file selection dialog, it
cannot be properly formatted as a set of D-Bus filters, thus
breaking the sandbox integration.

Add a simple user label to the LUT file filter.

[1] https://github.com/obsproject/rfcs/pull/21#issuecomment-619106757
2020-04-24 17:18:47 -03:00
dgeibi
4a4d33cc2a rtmp-services: Add Nimo TV 2020-04-24 10:28:25 +08:00
jp9000
824a0ec416 obs-browser, obs-vst: Fix formatting 2020-04-23 16:50:13 -07:00
meta
06db185fa1 linux-capture: Add support for cropping input source
Adds support and relevant properties for cropping screen capture input.
2020-04-23 18:39:04 -05:00
Joel Bethke
14b056539f
Merge pull request #2771 from AntowaStrong/virtwish-service
rtmp-services: Add VirtWish service
2020-04-22 09:16:55 -05:00
AntowaStrong
e0e0860b82 rtmp-services: Add VirtWish service 2020-04-21 16:08:30 +03:00
redcrazyheart
fc6ab20109 rtmp-services: Change Stripchat streaming service 2020-04-21 12:36:00 +03:00
Colin Edwards
8b1b6b1e75
Merge pull request #2656 from dbieber/z2020-04-05-mac-capture
mac-capture: Use window id to identify windows on MacOS
2020-04-18 18:48:29 -05:00
Colin Edwards
55e2985026
Merge pull request #1944 from WizardCM/windows-rc-definition
CMake: Build Windows modules with file descriptors
2020-04-18 18:27:22 -05:00
Colin Edwards
c03bad85ef
Merge pull request #2658 from hselasky/alsa_support_freebsd
plugins: Build ALSA plugin for FreeBSD
2020-04-18 17:39:25 -05:00
Jim
05b66262c8
Merge pull request #1786 from brittneysclark/qsv_texture_based_encoding
obs-qsv: Enable QSV texture-based encoding
2020-04-18 12:30:26 -07:00
jp9000
01df98b3aa obs-vst: Fix formatting 2020-04-18 12:28:19 -07:00
jp9000
5d45249d9f obs-browser: Fix formatting 2020-04-18 12:28:05 -07:00
Richard Stanway
4fda6cf846
Merge pull request #2700 from Bennik2000/mantis_0001603
obs-ffmpeg: Fix media source not closing file when inactive
2020-04-18 21:24:25 +02:00