OBS Studio - Free from stubborn peops https://obsproject.com
Find a file
jp9000 eabebd1774 obs-ffmpeg: Fix deadlock with nvenc lookahead
Lookahead requires examining frame data over a large number of frames,
so when pkv added the change to fully reset the encoder when the bitrate
changes, nvenc will invalidate all buffers and basically starts over
from a completely clean slate.

It's possible to make lookahead work when changing the bitrate, but due
to how lookahead seems to works internally in nvenc, it will cause
continually increasing latency every time the bitrate is updated, which
is unideal.

Additionally, when lookahead is enabled, deadlocks can occur when
changing the bitrate in a thread other than the graphics thread.
Currently we allow it to be reset outside of the graphics thread.  From
limited investigating, it would appear this deadlock occurs because
nvenc is locking and releasing old textures.

So instead of dealing with all these potential issues, disable the
ability to adjust bitrate when the user has lookahead enabled on nvenc.
It's not really worth implementing dynamic bitrate support when
lookahead is enabled if the latency is just going to continually
increase for every bitrate adjustment anyway.
2019-10-04 04:39:15 -07:00
.github GitHub: Add funding buttons 2019-05-23 18:58:20 +10:00
additional_install_files Improve additional_install_files for debug/release 2014-07-18 22:41:11 -07:00
CI CI: Update CEF on osx to 3770 2019-09-07 17:44:12 -05:00
cmake Merge pull request #1678 from boxerab/libvlc_pkgconfig 2019-03-13 23:10:23 -05:00
config update build system to autotools (finally) 2013-10-29 23:21:40 -07:00
deps deps/media-playback: Remove cuda for hardware decoding 2019-08-29 12:06:55 -07:00
docs UI: Add pause support 2019-07-08 08:11:56 -07:00
libobs libobs: Update version to 24.0.1 2019-09-20 00:23:36 -07:00
libobs-d3d11 Merge pull request #2051 from jpark37/d3d11-const-ref 2019-08-31 21:15:25 -07:00
libobs-opengl libobs: Add graphics API to get graphics object pointer 2019-08-29 12:43:10 -07:00
plugins obs-ffmpeg: Fix deadlock with nvenc lookahead 2019-10-04 04:39:15 -07:00
test Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
UI UI: Fix path calculation for disk space check 2019-09-27 15:04:07 +02:00
.clang-format Apply clang-format to objective c code 2019-07-09 13:39:13 -05:00
.editorconfig .editorconfig: Add file to speed up editor configuration 2017-06-14 21:35:09 -05:00
.git-blame-ignore-revs .git-blame-ignore-revs: Add file to handle mass reformatting 2019-06-27 01:09:31 +09:00
.gitattributes Fix ffmpeg/x264 find modules according to cmake find module naming conventions 2014-05-22 13:03:47 +02:00
.gitignore UI: Remove and ignore obs.rc 2019-03-20 02:41:38 +01:00
.gitmodules enc-amf: Update to 2.5.0.1 and update repository address 2018-09-28 10:54:19 +02:00
.mailmap mailmap: Disambiguate between another author 2017-02-22 16:04:45 +01:00
.travis.yml CI: Update CEF on osx to 3770 2019-09-07 17:44:12 -05:00
appveyor.yml CI: Update Windows CEF version 2019-08-30 16:38:59 +02:00
AUTHORS Update translations from Crowdin 2019-09-17 23:21:00 +02:00
azure-pipelines.yml CI: Update CEF on osx to 3770 2019-09-07 17:44:12 -05:00
CMakeLists.txt cmake: Fix typo 2019-07-21 19:49:41 -07:00
COMMITMENT Add GPL Cooperation Commitment to base directory 2019-01-24 02:02:49 -05:00
CONTRIBUTING.rst CONTRIBUTING.rst: Improve commit guidelines 2019-04-13 01:52:25 -07:00
COPYING deps-w32-pthreads: Update FSF address 2015-07-11 09:10:27 -07:00
Doxyfile Add doxygen configuration file for obs. 2014-10-19 15:00:07 +02:00
formatcode.sh CI: Run clang format on linux and osx CI and fail if changes are made 2019-07-12 21:44:33 -05:00
INSTALL Update INSTALL 2018-07-14 08:21:00 +01:00
README.rst README.rst: Add contributing/donating link 2019-05-12 15:33:53 -07:00

OBS Studio <https://obsproject.com>
===================================

.. image:: https://travis-ci.org/obsproject/obs-studio.svg?branch=master
   :alt: OBS Studio Build Status - Travis CI
   :target: https://travis-ci.org/obsproject/obs-studio

.. image:: https://ci.appveyor.com/api/projects/status/github/obsproject/obs-studio?branch=master&svg=true
   :alt: OBS Studio Build Status - AppVeyor CI
   :target: https://ci.appveyor.com/project/jp9000/obs-studio/branch/master

.. image:: https://dev.azure.com/obsjim/obsjim/_apis/build/status/obsproject.obs-studio?branchName=master
  :alt: OBS Studio Build Status - Azure Pipelines
  :target: https://dev.azure.com/obsjim/obsjim/_build/latest?definitionId=1&branchName=master

.. image:: https://discordapp.com/api/guilds/348973006581923840/widget.png?style=shield
   :alt: OBS Studio Discord Server
   :target: https://obsproject.com/discord

What is OBS Studio?
-------------------

  OBS Studio is software designed for capturing, compositing, encoding,
  recording, and streaming video content, efficiently.

  It's distributed under the GNU General Public License v2 (or any later
  version) - see the accompanying COPYING file for more details.

Quick Links
-----------

 - Website: https://obsproject.com

 - Help/Documentation/Guides: https://github.com/obsproject/obs-studio/wiki

 - Forums: https://obsproject.com/forum/

 - Build Instructions: https://github.com/obsproject/obs-studio/wiki/Install-Instructions

 - Developer/API Documentation: https://obsproject.com/docs

 - Donating/backing/sponsoring: https://obsproject.com/contribute

 - Bug Tracker: https://obsproject.com/mantis/

   (Note: The bug tracker is linked to forum accounts.  To use the bug
   tracker, log in to a forum account)

Contributing
------------

 - If you would like to help fund or sponsor the project, you can do so
   via `Patreon <https://www.patreon.com/obsproject>`_, `OpenCollective
   <https://opencollective.com/obsproject>`_, or `PayPal
   <https://www.paypal.me/obsproject>`_.  See our `contribute page
   <https://obsproject.com/contribute>`_ for more information.

 - If you wish to contribute code to the project, please make sure to
   read the coding and commit guidelines:
   https://github.com/obsproject/obs-studio/blob/master/CONTRIBUTING.rst

 - Developer/API documentation can be found here:
   https://obsproject.com/docs

 - If you wish to contribute translations, do not submit pull requests.
   Instead, please use Crowdin.  For more information read this thread:
   https://obsproject.com/forum/threads/how-to-contribute-translations-for-obs.16327/

 - Other ways to contribute are by helping people out with support on
   our forums or in our community chat.  Please limit support to topics
   you fully understand -- bad advice is worse than no advice.  When it
   comes to something that you don't fully know or understand, please
   defer to the official help or official channels.