Commit graph

4,202 commits

Author SHA1 Message Date
Norihiro Kamae
eae2affc09 text-freetype2: Fix not updating chat log mode property
(cherry picked from commit 43f7c8c928)
2023-06-18 15:05:22 -07:00
Huts, Roman
e3cccac6ba obs-ffmpeg: Fix logic in one of the AMF preset fallback checks
(cherry picked from commit 94d0b654f0)
2023-06-16 18:43:35 -04:00
Ryan Foster
2b7cca8595 obs-websocket: Update version to 5.2.3
(cherry picked from commit ced135a68e)
2023-06-16 18:43:35 -04:00
gxalpha
e0519ed1e8 mac-capture: Explicitly set clear background for SCK
(cherry picked from commit 2ea47bb65a)
2023-06-16 18:43:35 -04:00
Richard Stanway
a305137392 win-capture: Skip compat helper matching if properties are null
Fixes compatibility messages appearing when no window is selected
in window capture properties.

(cherry picked from commit b756c78f44)
2023-06-16 18:43:35 -04:00
Gol-D-Ace
6dbf45dce9 win-capture: Add Honkai: Star Rail to compatibility list
(cherry picked from commit d3df414603)
2023-06-16 18:43:35 -04:00
rhutsAMD
946b0167e9 obs-ffmpeg: Consider requested throughput in AMF preset fallback
(cherry picked from commit 4bfe291520)
2023-06-16 18:43:35 -04:00
Huts, Roman
5b8f429c8e obs-ffmpeg: Fix AMF encoder reconfiguration
Must Flush() or Drain() before ReInit()

(cherry picked from commit 275bb344d8)
2023-06-16 18:43:35 -04:00
Norihiro Kamae
28a8ed16a9 text-freetype2: Fix crash after reaching buffer size
The texbuf has a fixed size that won't expand. When a lot of multi-byte
characters has arrived, it overflow and src_glyph becomes NULL.

(cherry picked from commit 4fb2bc38de)
2023-06-16 18:43:35 -04:00
Richard Stanway
0bab4adf92 obs-outputs: Remove support for "RTMP Go Away" feature (#8959)
Meta have filed a patent application on the Go Away feature. This goes
against the spirit of free software and puts the use of this feature in
questionable legal status, so let's remove this code until the patent
situation is resolved.

This reverts commits a593fe6755 and
dada82fec1.

(cherry picked from commit 48a0e7822a)
2023-05-26 21:28:10 +02:00
Norihiro Kamae
45caa065b7 win-dshow: Remove obsolete translation
A commit f50aa5e01b added a translation ConfigureAudio but never used.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
042f5bc139 win-capture: Remove obsolete translation
A commit 80b4a65cd2 added a translation `Method.Auto` but the source
code uses `WindowCapture.Method.Auto` instead.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
0c061865a6 obs-qsv11: Add missing translation 2023-05-26 14:47:09 -04:00
Norihiro Kamae
8c551ad2a5 obs-outputs: Add missing translations 2023-05-26 14:47:09 -04:00
Norihiro Kamae
43c419a808 obs-filters: Remove obsolete translation in expander-filter
Expander.None was never used.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
bce23262de obs-filters: Add missing translation in chroma-key-filter
A selection Custom for a property key_color_type was not translated.
Use the same translation key CustomColor as color-key-filter.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
554518bc78 obs-ffmpeg: Add missing translations
The name of the obs_output_t won't appear in usual operation but some
output types have the translation and others do not. Let's translate
them.
Also translate `FilePath` property name.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
28d79464c2 obs-ffmpeg: Add missing translations 2023-05-26 14:47:09 -04:00
Norihiro Kamae
4fd4792d96 obs-ffmpeg: Remove obsolete translations
A commit 4e140d2ff added AMF error messages but they were never used.
A commit 45d029b1f removed some code but a translation key "Advanced"
was left.
A commit 77fbfbe5c removed code to translate NVENC.TooManyBFrames but
the translation key was left.
A commit 6cc7cf3d5 removed the code to select codecs but the translation
was left.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
19731875d2 mac-videotoolbox: Remove obsolete translation
A commit e461ec4be1 added a translation key "VTEncoder" but never used.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
1b0d905442 mac-syphon: Remove obsolete translations
A commit f9cf458c1 removed syphon-inject but translations were left.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
1403691e7e mac-avcapture: Add missing translation 2023-05-26 14:47:09 -04:00
Norihiro Kamae
d5846867c9 linux-pulseaudio: Add missing translation 2023-05-26 14:47:09 -04:00
Norihiro Kamae
5701873337 linux-capture: Remove obsolete translation
"LockX" was added by 15fb027647 and removed by later commit 1604400e4.
2023-05-26 14:47:09 -04:00
Norihiro Kamae
226fcf371f linux-alsa: Add missing translations 2023-05-26 14:47:09 -04:00
gxalpha
2b6bdbafb2 mac-videotoolbox: Fix incorrect keyframe interval calculation 2023-05-26 14:47:09 -04:00
Florian Zwoch
eb80be5bf9 obs-ffmpeg: Fix compilation when ENABLE_HEVC is not set
When ENABLE_HEVC is not set the 'bool hevc' function parameter
is not being used in this function causing a warning and aborting
compilation.
2023-05-26 14:47:09 -04:00
gxalpha
00f1ec8538 obs-websocket: Update submodule to pull translations
(cherry picked from commit d63ed016b4)
2023-05-08 15:49:34 -07:00
PatTheMav
a3c275c9da mac-capture: Fix possible division by zero error
Possibility of `mChannelsPerFrame` being 0 is not properly covered by
current code, which will result in a division-by-zero error.

(cherry picked from commit f20f788d0b)
2023-05-08 15:49:34 -07:00
Richard Stanway
b9a95b2f5f obs-ffmpeg: Show error if trying to use AV1 fallback
(cherry picked from commit ba0c273846)
2023-05-08 15:49:34 -07:00
Jim
8dbc4761a3 linux-pipewire: Reduce debug message verbosity 2023-05-02 01:50:13 -07:00
Translation Updater
a0fbdc3c34 Update translations from Crowdin 2023-05-01 23:11:13 +00:00
Ryan Foster
c0adff2863 obs-qsv11: Set error message for QSV with P216/P416
If P216 or P416 color formats are selected with QSV, these color formats
were not explicitly handled, so the switch statements would end up in
the default case. If the user had also selected a Rec. 2100 color space,
this would result in the strange error message:
"OBS does not support 8-bit output of Rec. 2100."

This message is confusing and does not correctly reflect the chosen
settings. Let's explicitly handle the P216/P416 cases and provide a more
accurate error message.
2023-05-01 18:45:32 -04:00
Ryan Foster
877c1c74d0 obs-ffmpeg: Set error message for AMF with P216/P416
If P216 or P416 color formats are selected with AMF, these color formats
were not explicitly handled, so the switch statements would end up in
the default case. If the user had also selected a Rec. 2100 color space,
this would result in the strange error message:
"OBS does not support 8-bit output of Rec. 2100."

This message is confusing and does not correctly reflect the chosen
settings. Let's explicitly handle the P216/P416 cases and provide a more
accurate error message.
2023-05-01 18:45:32 -04:00
Ryan Foster
19cec08494 obs-ffmpeg: Set error message for NVENC with P216/P416
If P216 or P416 color formats are selected with NVENC, OBS will fall
back from the native implementation to the FFmpeg implementation. Here,
P216 and P416 were not explicitly handled, so the switch statements
would end up in the default case. If the user had also selected a Rec.
2100 color space, this would result in the strange error message:
"OBS does not support 8-bit output of Rec. 2100."

This message is confusing and does not correctly reflect the chosen
settings. Let's explicitly handle the P216/P416 cases and provide a more
accurate error message.
2023-05-01 18:45:32 -04:00
gxalpha
2ac3767e7a obs-x264: Disallow 16-bit color formats 2023-04-29 16:17:26 -07:00
gxalpha
1c15066cc4 mac-videotoolbox: Differentiate unsupported format and range errors 2023-04-29 16:15:42 -07:00
Service Checker
dba6544265 rtmp-services: Remove defunct servers/services 2023-04-27 15:21:40 +02:00
Adam Taylor
c25b81886d obs-filters: Add invert LUT 2023-04-24 12:35:47 -07:00
tytan652
ac241faff1 rtmp-services: Fix building with service updates disabled
Two constants are marked as -Wunused-variable which turns into an error
2023-04-24 12:04:11 -07:00
tytan652
15e0064179 rtmp-services: Enable service updates by default
Fix an oversight of 1f6cf34c2c

Which turns off by default service updates on any *nix
2023-04-24 12:02:57 -07:00
tt2468
1f6cf34c2c rtmp-services: Allow service updates to be disabled on *nix
Effectively reverts 8b315186a7, as the
cmake referenced in the description has long since been completely
rewritten and replaced.
2023-04-23 23:47:09 -07:00
jpark37
901986cbf4 libobs,obs-filters: Align HDR to SDR disparity
Adjust colors from BT.1886 to sRGB.
2023-04-23 23:43:09 -07:00
Kurt Kartaltepe
f0f704249f linux-pipewire: Only consider chunks with size set
Compositors did not agree on how to communicate invalid buffers until
recently, so e0a4d8628d resulted in
regressions on KDE. This restores our old behavior which is too
conservative but mostly works on old and new compositors (which contain
similar workarounds to pass in invalid but non-zero sizes for dma-bufs).

Once all old compositors are out of use we can remove this workaround
and then compositors can remove their random size workaround.
2023-04-22 16:45:50 -07:00
tytan652
41cec5540c rtmp-services: Bump format version to v5 2023-04-22 16:17:40 -07:00
derrod
72759ae69d obs-outputs: Don't set DTS offset for enhanced FLV SEQ start/end packets
Sequence start and end packets never have a valid DTS, but with a
non-zero offset the timestamp in the packet would end up also being
non-zero, which leads to librtmp attempting to calculate a timestamp
delta and underflowing.

As a fix, simply remove the ability to even set a DTS offset for
start/end packets and always keep it at zero.
2023-04-17 17:42:15 -04:00
derrod
64f3070753 obs-outputs: Fix enhanced RTMP frame type not being set 2023-04-17 16:39:13 -04:00
PatTheMav
ea60fc2869 mac-virtualcam: Fix DAL plugin entrypoint not being exported
With the recent change to enforce C17 standard for compilers, default
visibility was also enforced to be hidden. This also automatically hid
the `PlugInMain` symbol required for DAL plugins. Adding the
`__exported` decorator makes the symbol explicitly visible.
2023-04-15 16:51:18 -07:00
pkv
dfac68b189 obs-outputs: Log encoder incompatible with dynamic bitrate
This logs that dynamic bitrate is disabled when a codec which does not
support bitrate reconfiguration is used, such as aom, svt-av1 ...

Signed-off-by: pkv <pkv@obsproject.com>
2023-04-15 16:33:33 -07:00
jpark37
5adcd51a68 decklink: Ignore "default" output device
obs_get_output_properties leads to a callback with an empty settings
object, so ignore it to avoid adding a dummy entry to the device list.
2023-04-09 11:53:12 -07:00