OBS Studio - Free and open source software for live streaming and screen recording
Go to file
Ryan Foster 9bd4514b45 frontend: Ensure cookie ID is always 16 hexadecimal characters
At a glance, the GenId function looks like it can only return a
16-character hexadecimal string with all characters being [0-9A-F].
However, it seems that it can rarely return a 16-character string that
has one or two space characters at the beginning due to the value of id,
from which the final string is derived, being too low (lower than
1152921504606846976 or 0x1000000000000000) and the printf format
specifier having a width of 16. This results in a string of less than 16
characters that is padded with blank spaces. The end result is a cookie
directory that has leading spaces in its name, which can cause various
issues, such as breaking syncing on OneDrive.

If we set the format specifier to pad with zeroes instead of spaces, the
resulting hexadecimal value is always 16 characters long without spaces.
2025-05-28 12:42:22 -04:00
.github CI: Update obs-crowdin-sync to latest 2025-05-13 15:24:52 -04:00
additional_install_files
build-aux build-aux: Update Flatpak modules 2025-05-23 19:33:32 -04:00
cmake cmake: Replace Xcb CMake finders with ECM 2025-04-28 13:30:26 -04:00
deps cmake: Group blake2 targets under same directory for IDEs 2025-04-25 20:06:41 -04:00
docs/sphinx docs: Fix function name obs_set_video_sdr_white_level 2025-05-12 15:52:27 -04:00
frontend frontend: Ensure cookie ID is always 16 hexadecimal characters 2025-05-28 12:42:22 -04:00
libobs libobs: Update version to 31.1.0 2025-05-23 20:55:49 -04:00
libobs-d3d11 cmake: Specify NOMINMAX all the time on Windows 2025-02-07 14:52:24 -05:00
libobs-opengl libobs-opengl: Promote eglCreateImage failure to LOG_ERROR 2025-05-15 16:55:44 -04:00
libobs-winrt cmake: Specify NOMINMAX all the time on Windows 2025-02-07 14:52:24 -05:00
plugins linux-pipewire: Fix render technique in captures 2025-05-27 14:14:26 -04:00
shared media-playback: Fix possible crash on startup 2025-05-06 14:27:29 -04:00
test clang-format: Increase column limit from 80 to 120 2024-10-04 18:19:27 -04:00
.cirrus.yml cmake: Use Extra CMake Modules on Linux 2025-04-28 13:30:26 -04:00
.clang-format clang-format: Enable skipping of macro definitions for clang-format 19 2025-04-17 18:16:33 +02:00
.editorconfig Add composable theme files spacing in editorconfig 2024-04-25 16:11:38 -04:00
.gersemirc CI: Add configuration file for gersemi CMake formatter 2024-08-14 12:07:47 -04:00
.git-blame-ignore-revs .git-blame-ignore-revs: Add change from column limit increase 2024-10-04 18:30:06 -04:00
.gitattributes CI: Add Crowdin Synchronization 2021-11-25 20:59:11 +11:00
.gitignore .gitignore: Remove UI exclusion 2025-01-27 17:06:18 -05:00
.gitmodules cmake: Update cross-platform build project management for Windows 2024-08-20 16:00:21 -04:00
.mailmap Update copyrights/names 2023-05-20 01:31:18 -07:00
.swift-format cmake: Add Xcode component to CMake build framework 3.0 2023-03-26 18:20:38 -04:00
AUTHORS Update translations from Crowdin 2024-12-06 23:21:55 +00:00
buildspec.json CI: Update deps to 2025-05-23 release 2025-05-23 18:52:35 -04:00
CMakeLists.txt cmake: Update main CMakeLists file to use refactored frontend 2025-01-08 17:33:13 +01:00
CMakePresets.json CI: Add CEF & enable obs-browser for Windows on ARM 2025-05-20 12:50:41 -04:00
COC.rst Revert "docs: Rename Code of Conduct to fix GitHub detection" 2021-08-07 20:40:29 +10:00
COMMITMENT Add GPL Cooperation Commitment to base directory 2019-01-24 02:02:49 -05:00
CONTRIBUTING.rst CONTRIBUTING.rst: Fix typo 2025-05-14 13:49:54 -04:00
COPYING COPYING: Use license file from gnu.org 2021-10-24 00:35:27 -07:00
INSTALL
README.rst README.rst: Add SAST Tools section 2024-06-04 18:37:44 -04:00

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

.. image:: https://github.com/obsproject/obs-studio/actions/workflows/push.yaml/badge.svg?branch=master
   :alt: OBS Studio Build Status - GitHub Actions
   :target: https://github.com/obsproject/obs-studio/actions/workflows/push.yaml?query=branch%3Amaster

.. image:: https://badges.crowdin.net/obs-studio/localized.svg
   :alt: OBS Studio Translation Project Progress
   :target: https://crowdin.com/project/obs-studio

.. image:: https://img.shields.io/discord/348973006581923840.svg?label=&logo=discord&logoColor=ffffff&color=7389D8&labelColor=6A7EC2
   :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://github.com/obsproject/obs-studio/issues

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 page:
  https://obsproject.com/wiki/How-To-Contribute-Translations-For-OBS

- 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.


SAST Tools
----------

`PVS-Studio <https://pvs-studio.com/pvs-studio/?utm_source=website&utm_medium=github&utm_campaign=open_source>`_ - static analyzer for C, C++, C#, and Java code.