Commit Graph

5279 Commits (60e9e562536c21622f01399b1255864f3c178cdf)

Author SHA1 Message Date
Jim 60e9e56253
Merge pull request #1160 from DDRBoxman/cefosx
CI: Update CEF version on travis for osx
2018-01-21 05:54:25 -08:00
Jim 4fed7115fa
Merge pull request #1161 from juvester/trusty-cmake-fix
cmake: Search for Python 3.4
2018-01-21 05:52:04 -08:00
juvester 7b6af4cc93 CI: Enable scripting in Linux builds 2018-01-21 14:41:06 +02:00
juvester 206c853d00 cmake: Search for Python 3.4
Fixes an issue where Python libraries aren't found on Ubuntu 14.04
because CMake 2.8 only searches up to Python 3.3.
2018-01-21 14:27:55 +02:00
Colin Edwards d5877f7a03 CI: Update CEF version on travis for osx 2018-01-21 00:12:44 -06:00
jp9000 7abbd4d247 libobs: Update version to 21.0.0 2018-01-20 16:46:33 -08:00
jp9000 bd0983a89e UI: Add simple output mode encoder fallback
Prevents simple output mode from getting stuck on an encoder that may
not be available suddenly for whatever reason (system device changes,
driver issues, etc).  If the encoder is no longer available, falls back
to x264 to ensure that the user can continue to use the program.
2018-01-20 13:58:02 -08:00
jp9000 f09f94b8a8 frontend-plugins: Only show script file names in script dialog
Showing the full directory path is sort of unnecessary and makes the
list look pretty unsightly.
2018-01-20 13:58:02 -08:00
Jim f1d5d60435
Merge pull request #1151 from VodBox/command-line-args
UI: Add Command Line Arguments to log
2018-01-20 11:32:15 -08:00
jp9000 d976bc94db enc-amf: Test for AMF support in separate process first
Adjusts the enc-amf submodule remote to the jp9000 fork, which tests AMF
support in a separate process before attempting to initialize AMF
in-process.  Reduces the possibility of driver crashes caused by AMF
initialization.
2018-01-20 11:20:24 -08:00
Jim b183b49b5e
Merge pull request #1077 from Xaymar/plugins-enc-amf
enc-amf: Version 2.3.1
2018-01-20 10:50:25 -08:00
jp9000 6774bbdb83 obs-ffmpeg: Remove NVENC detection code for now
The reason this code is being reverted/removed is because this code is a
risk to startup stability.  This check will be added again in the
future, however this code needs to be executed from a secondary piped
process instead of directly in the process to reduce risk of
driver/hardware issues impacting program startup.  The same needs to be
accomplished for the AMF plugin as well.
2018-01-20 05:31:58 -08:00
VodBox f6544dd802 UI: Add command line arguments to log 2018-01-20 15:12:57 +13:00
jp9000 f5c3af1bda obs-ffmpeg: Fix signed mismatch warning 2018-01-19 16:19:10 -08:00
Jim 77643cce1e
Merge pull request #1139 from takev/pulseaudio-surround-selection
linux-pulseaudio: Surround speaker map
2018-01-19 16:14:04 -08:00
jp9000 f956203764 frontend-tools: Fix a few issues with the clock source script
Fix the image files not being freed, and remove the unused source
definition function 'update', which was additionally calling
image_source_load with the wrong number of parameters.
2018-01-19 11:28:44 -08:00
jp9000 a95a8723fb frontend-tools: Add script to update text source from URL
Adds a python example script which updates a text source to the text
retrieved from a specific URL that refreshes every specified interval.
2018-01-19 11:17:38 -08:00
jp9000 3259269c99 deps/obs-scripting: Fix script_log in python to append newline 2018-01-19 11:10:45 -08:00
Colin Edwards 1c3f18a75a frontend-tools: Add a lua script that draws an analog clock
Closes jp9000/obs-studio#1159
2018-01-19 08:27:55 -08:00
Shaolin 53d936c5dc UI: Add audio meter decay rate option
The decay rate of the audio meters can now be selected in the audio
settings.  The values are:

- "Fast"   (OBS default, 40 dB / 1.7s)
- "Medium" (Type I PPM,  20 dB / 1.7s)
- "Slow"   (Type II PPM, 24 dB / 2.8s)

Closes jp9000/obs-studio#1143
2018-01-19 05:49:21 -08:00
Richard Stanway bba37a7069 UI: Optimize theme PNG images (smaller files) 2018-01-19 08:24:09 +00:00
jp9000 00e7a84050 frontend-tools: Add "Clear" button to script log window 2018-01-18 14:42:24 -08:00
jp9000 b1e6af319c frontend-tools: Warn if no active replay buffer w/ instant replay 2018-01-18 14:41:19 -08:00
jp9000 5982a8cd28 frontend-tools: Make instant replay script also save replay
With the "instant-replay.lua" script, it would only play the last replay
buffer saved, meaning the user would have to save a replay with the
replay buffer hotkey, and then press the "Play Last Replay" hotkey to
play the last replay buffer.

Instead, combine the two and make the script save the replay
automatically first, and then play it back as soon as it's available.
This makes it actually qualify as an "instant replay" script, as its
name implies.
2018-01-18 14:24:17 -08:00
jp9000 ba1a70c1a0 frontend-tools: Add "instant replay" script
A script that plays back the last replay buffer in the specified media
source.
2018-01-18 08:59:59 -08:00
jp9000 655288baec obs-ffmpeg: Do not return last replay path if currently muxing 2018-01-18 08:54:43 -08:00
jp9000 e3d19c5b16 libobs/callback: Add calldata_create and calldata_destroy
These functions aren't particularly useful in C/C++, but these functions
are necessary to allow creating/destroying a calldata_t object via
script.
2018-01-18 08:53:19 -08:00
jp9000 c9c7dc5748 deps/obs-scripting: Fix frontend API lua table creation
Lua uses 1-based index on table insertions, and lua_newtable has a bit
better performance than lua_createtable if initializing tables with an
unknown item count.
2018-01-18 05:59:20 -08:00
jp9000 d01632a4f0 deps/obs-scripting: Fix a few more VC warnings from swigluarun.h 2018-01-18 05:35:19 -08:00
jp9000 8fc486339c obs-ffmpeg: Add proc to get last replay buffer
Allows getting the path of the last replay buffer saved via the
procedure handler of the FFmpeg muxer output.
2018-01-18 05:34:26 -08:00
Colin Edwards f06c0dd7d5 deps/obs-scripting: Ensure that ffi module gets loaded
Closes jp9000/obs-studio#1158
2018-01-18 01:49:07 -08:00
Warchamp7 303ba1dfbd UI: Add Acri theme
Closes jp9000/obs-studio#1150
2018-01-18 01:45:49 -08:00
Lucian Poston ff45b7b119 obs-ffmpeg: Call av_register_all before nvenc check
Closes jp9000/obs-studio#1157
2018-01-18 01:36:46 -08:00
jp9000 653d3ceb33 obs-ffmpeg: Don't try to detect NVENC on mac 2018-01-18 01:36:46 -08:00
Michel 054d607c2d obs-ffmpeg: Improve NVENC detection
This improves detection by performing an actual check on encoder
capability directly with the NVENC/CUDA libraries.
2018-01-18 01:35:45 -08:00
Tjienta Vara 48a8e750bb linux-pulseaudio: Surround speaker map
When using more than two channels, the channel map of pulse-audio is incorrect.

Add an API for getting a speaker map based on OBS speaker layout. Then use the
speaker map when connecting to a pulse-audio device, for both source and
monitor output.
2018-01-17 13:05:04 +01:00
jp9000 3a1603d905 UI: Set max size for names in name dlg. to 256 2018-01-17 02:59:46 -08:00
jp9000 44f4f4366b UI: Use snprintf and std::string when creating profiles 2018-01-17 02:59:18 -08:00
jp9000 8a1486d15f libobs: Fix rendering if filter context no longer exists
If a filter's implementation (its plugin for example) no longer exists,
it would cause the source to stop rendering if that filter was present
on the source.  Instead, just bypass the filter to ensure that the
source continues to render.
2018-01-17 02:08:06 -08:00
jp9000 dc7e05c0b9 libobs: Fix double -> float conversion warning 2018-01-16 12:03:03 -08:00
jp9000 d6ac457025 libobs: Optimize clearing of unused source audio mixes
Prevents calling memset on mixes that aren't currently active.
2018-01-16 12:02:00 -08:00
Christoph Hohmann f4142a8ac8 libobs: Fix audio buffer clear in custom source mixing
The memset in custom_audio_render() did not clear all audio buffers when
the number of output channels was less then 8.  This caused wrong audio
output on mixes that did not get cleared.

Closes jp9000/obs-studio#1123
2018-01-16 11:56:11 -08:00
Beau Russell fe26babbf1 Fix typo in README.rst
Fixed a Typo on the 34th line, and added to the 35th so that the Syntax
matches that of the rest of the file.

Closes jp9000/obs-studio#1146
2018-01-16 06:01:28 -08:00
Jim b264f8885a
Merge pull request #1148 from SuslikV/patch-1
libobs: Fix log message
2018-01-16 05:52:49 -08:00
Jim bf6231e122
Merge pull request #1147 from kkartaltepe/swig-cmake-fix
CMake: Fix FindSwigDeps search path
2018-01-16 05:52:16 -08:00
Jim 47f42d025f
Merge pull request #1149 from Fenrirthviti/dark-theme-fix
UI: Fix tab bars for docked widgets in Dark theme
2018-01-16 05:48:37 -08:00
Jim 8d60404663
Merge pull request #1155 from DDRBoxman/scripting
deps/obs-scripting: Various scripting fixes
2018-01-16 05:24:26 -08:00
jp9000 db2d4c97e8 deps/obs-scripting: Fix installed files/locations on linux
Uses the 'install' command in cmake to install scripting modules/files
(such as _obspython.so, obslua.so, and obspython.py), and changes the
install location of those files on all operating systems.  If using a
non-unix structure install, those files will be installed in
data/obs-scripting/[32bit/64bit], otherwise with unix structure installs
those files will be installed to [/usr/local/lib]/obs-scripting.
2018-01-16 03:55:38 -08:00
jp9000 17d2a17f9e UI: Put clip detection back in to volume meter
Before the new volume meters were implemented, the meter would flash red
if the audio was clipping.  This functionality was removed when the
meters were changed, whether intentionally or unintentionally, and this
patch puts that functionality back in.  If clipping occurs, the meters
will be fully colored with the foregroundErrorColor value while the
clipping is occurring.
2018-01-15 23:55:03 -08:00
Colin Edwards 4390a0e7e6 deps/obs-scripting: Add image-file to lua 2018-01-15 21:54:50 -06:00