Commit Graph

1371 Commits (d1343dc064484aacaf3e34e477111795b555b758)

Author SHA1 Message Date
BtbN d1343dc064 obs-ffmpeg/nvenc: Remove "default" preset
The "default" preset is not an actual default, but something Nvidia
decided to just call that way.  It yields the worst quality per bitrate
out of all the presets, for no actual benefits.  The actual FFmpeg
default is the hq one, which yields the best quality, especially when
twopass mode is enabled.

I can't think of a way to keep the "default" preset in a non-confusing
way, and as it gives no known benefits, might as well just remove it
entirely.

(Jim edit: Also made it so that if the settings have it set to
"default", it automatically treats it as "hq")

Closes jp9000/obs-studio#865
2017-03-25 02:08:06 -07:00
derrod 707110d2fd rtmp-services: Update maximum bitrate for Twitch
Updated max 3.5 to 6. See https://help.twitch.tv/customer/portal/articles/1253460-broadcast-requirements#Broadcast%20Requirements
2017-03-18 23:46:21 +01:00
Andrew Surzhynskyi a760ecd7e3 rtmp-services: Update ingest list for Restream.io 2017-03-17 17:08:38 +02:00
Richard Stanway 48df41b5b7
obs-outputs: Improve shutdown behavior of new socket loop 2017-03-06 20:54:35 +01:00
Gol-D-Ace dbf95bdc15 Update translations from Crowdin 2017-03-05 23:40:11 +01:00
Gol-D-Ace de1bbf4342 Update translations from Crowdin 2017-03-04 07:04:03 +01:00
Richard Stanway 7c7307df88
obs-outputs: Various fixes to new network code
Fixes another 100% CPU spin bug, improves low latency mode, fixes some
crashes on stopping stream due to race conditions.
2017-03-04 02:59:02 +01:00
jp9000 a8d7419732 win-dshow: Actually fix LGP issue
The LGP issue is caused by the device drivers returning two or more
packets in a single segment of audio data.  This fixes it by detecting
that and decoding subsequent packets.

When the FFmpeg audio decoder returns, it returns how many bytes of data
was decoded.  To have it decode multiple packets in a single segment,
just subtract the return value from the expected size, and if that size
is still larger than zero, then there are more packets in the segment to
decode.  Otherwise, stop.
2017-03-03 17:02:06 -08:00
jp9000 084e9daf88 Revert "win-dshow: Add LGP timestamp fix"
This reverts commit 32f60d07a3.
2017-03-03 17:02:05 -08:00
Colin Edwards f1c2d41be8 VST: Fix crash when OBS is set to mono 2017-03-02 15:05:44 -06:00
Colin Edwards db1391da61 VST: Fix save / load of plugin state. More interface options.
Fixed an incorrect call when setting the chunks on plugins.

Added the ability to to enable having a plugin auto open when active.
2017-03-02 10:36:10 -06:00
Richard Stanway e63edcd436
obs-outputs: Fix 100% CPU usage with new network code 2017-03-02 00:44:45 +01:00
Jim d421228315 Merge pull request #834 from DDRBoxman/osxsign
CI: OSX - Update to CEF 2987
2017-02-28 22:35:28 -08:00
Colin Edwards 8a78e79a83 CI: OSX - Update to CEF 2987 2017-03-01 00:34:03 -06:00
Jim cd61439fbf Merge pull request #833 from Xaymar/feature_amd-encoder
enc-amf: Update to 1.4.3.11
2017-02-28 22:14:52 -08:00
Michael Fabian Dirks 1f1056d868 enc-amf: Update to 1.4.3.11
Thanks to @notr1ch for the PR and for the guy on Forums reporting the Simple Mode problem.
2017-03-01 04:07:42 +01:00
Jim 95fe16534d Merge pull request #826 from Xaymar/feature_amd-encoder
UI, enc-amf: Update AMD Encoder
2017-02-27 12:54:24 -08:00
Michael Fabian Dirks 0a2f85fc51 enc-amf: Update to hotfix 1.4.3.10 2017-02-27 21:47:49 +01:00
Gol-D-Ace a13c0a3c29 Update translations from Crowdin 2017-02-27 20:54:02 +01:00
jp9000 46828d16ad obs-filters: Increase max compressor release/attack values
As recommended by cg2121, attack is increased to 500ms, and release is
increased to 1000ms.
2017-02-27 09:36:09 -08:00
jp9000 be6881abc8 obs-filters: Change attack/release ms limit to 300 (from 100) 2017-02-27 08:03:30 -08:00
Michael Fabian Dirks 2a718248a4 enc-amf: Update to version 1.4.3.9
1.4.3.9 is not an official version, it just patches a bug introduced by overusing a macro. I'm not sure if it fixes the crash in blog, but it should fix the crash in AMF initialization.
2017-02-25 20:59:58 +01:00
derrod bb51d3d2f8 obs-ffmpeg: Make gop size configurable
Closes jp9000/obs-studio#804
2017-02-25 09:07:55 -08:00
Richard Stanway a1083d4252 obs-qsv11: Fix various issues detected by Coverity 2017-02-25 17:18:55 +01:00
Richard Stanway d2e9e47bb4 graphics-hook: Account for sizeof(wchar_t) in len 2017-02-25 17:18:55 +01:00
Michael Fabian Dirks ed6507ffcf obs-ffmpeg: Allow saving with different video codecs
Closes jp9000/obs-studio#794
2017-02-25 08:02:59 -08:00
Richard Stanway 8b640fae24
Fix various null pointer issues detected by Coverity 2017-02-25 16:45:45 +01:00
jp9000 6dd1707752 image-source: Add missing locale
The commit was modified and the locale was unintentionally left out.
2017-02-25 07:14:35 -08:00
cg2121 f16a6ad66d image-source: Add solid color source
Closes jp9000/obs-studio#809
2017-02-25 07:05:32 -08:00
Lionheart Zhang 5ade7f74f2 obs-ffmpeg/ffmpeg-mux: Fix failing when no video
(Jim: Technically this should never be used without video)

Closes jp9000/obs-studio#795
2017-02-25 06:50:55 -08:00
Cam 8a6491c9bf win-capture: Add hook exception for theHunter: COTW
Adds an exception to skip d3d10 checks for theHunter: Call of the Wild,
which fixes incompatibility with game capture.

Closes jp9000/obs-studio#801
2017-02-25 06:42:36 -08:00
Richard Stanway f8617bd359 librtmp: Clean up our extra RTMP fields on close 2017-02-25 06:16:19 -08:00
Richard Stanway 935223be34 obs-outputs: Port windows socket loop from OBS Classic 2017-02-25 06:16:18 -08:00
Julian Miller 941d040fd9 obs-filters: Add audio compression filter
Closes jp9000/obs-studio#799
2017-02-25 05:44:09 -08:00
Jim da1fddbd84 Merge pull request #793 from juvester/unused-params
obs-ffmpeg, UI: Fix compiler warnings
2017-02-25 02:35:46 -08:00
sorayuki a5c7cb52f1 obs-text: Fix issue drawing some chinese characters
Some Chinese fonts (for example "STHupo") won't render any characters in
the GDI+ text source.

Closes jp9000/obs-studio#800
2017-02-25 02:33:26 -08:00
jp9000 fabdeaa41b rtmp-services: Add "Pandora TV Korea" 2017-02-22 09:10:25 -08:00
jp9000 32f60d07a3 win-dshow: Add LGP timestamp fix
LGP devices are devices that induce anger in any sane developer because
they're prone to bad audio timestamps when using their decoded data
directly.  For that reason, add a hack that smooths the timestamps
within a large threshold to prevent audio skipping.
2017-02-22 01:18:24 -08:00
jp9000 5b8a0a2777 win-capture: Blacklist chrome/firefox from game capture 2017-02-21 23:05:49 -08:00
Gol-D-Ace be09c52e04 rtmp-services: Update max video bitrate for beam 2017-02-21 22:44:42 +01:00
jp9000 eb90b7dfff win-capture: Fall back to GetWindow if FindWindowEx fails
When kaspersky is installed on windows 7, FindWindowEx will fail to find
any windows due to apparently being blocked by kaspersky, so detect when
that happens, and fall back to GetWindow instead if it does.
2017-02-21 00:42:14 -08:00
jp9000 d9786a7d0a obs-ffmpeg: Add 'save' to replay buffer proc handler
Allows saving replays programmatically without having to use hotkeys.
2017-02-20 23:39:52 -08:00
Richard Stanway f86c538a5f
obs-ffmpeg: Fix custom audio codec parameters 2017-02-16 21:44:08 +01:00
Richard Stanway 4303253920
obs-ffmpeg: Be more verbose when custom params fail 2017-02-16 21:42:25 +01:00
juvester 133f8c311e obs-ffmpeg: Fix compiler warnings 2017-02-08 16:25:54 +02:00
derrod 610661a526 rtmp-services: Update twitch ingests
Adds canadian ingest server.
2017-02-08 03:11:53 +01:00
jp9000 a47ef76bd5 obs-ffmpeg: Do not use HW accel by default on mac
Due to crashes being caused by hardware acceleration in the media source
on mac, disable hardware acceleration of the media source being on by
default for the time being.
2017-02-06 15:10:02 -08:00
jp9000 e1e21c01d5 obs-transitions: Convert premultiplied alpha to straight
In transitions, because the 'to' and 'from' are always rendered to
textures, the end result will always have premultiplied alpha.  This
would cause alpha to have blackish edges during transition, and cause
semi-transparent images to appear darker than they were supposed to.

To replicate, simply set the transparency of a source to 50%, then
transition between that scene and another scene.  The source will appear
to "pop" in and out unnaturally due to the premultiplied alpha effect of
the render targets.

To fix this, the solution is to simply convert premultiplied alpha to
straight alpha in the transition pixel shaders.
2017-02-06 13:22:51 -08:00
jp9000 39d76cc76f win-wasapi: Mark audio outputs as unmonitorable
(Note: This commit also modifies mac-capture and linux-pulseaudio)

This prevents outputs from being monitored, preventing a potential
feedback loop.
2017-02-06 11:44:03 -08:00
derrod fc264e8297 rtmp-services: Update twitch/hitbox ingest and youtube recommendations
Twitch added the following ingests:
- South America: Lima, Peru
- EU: Lisbon, Portugal
- South America: Medellin, Columbia
- EU: Milan, Italy
- NA: Mexico City

The following ingest server is no longer listed in hitbox'  API:
- US-East: Washington

YouTube does not list a requirement that states that only the main profile can be used.
2017-02-02 21:56:42 +01:00