Development Release Instructions 4 2023 - HoneyHazard/PixelMatchSwitcher GitHub Wiki

Walk Through OBS Custom Build Instructions

Original instructions here: https://obsproject.com/wiki/Build-Instructions-For-Windows

1. Visual Studio and Windows SDK

2. Download a copy of obs-deps, containing development packages of Qt6 and the rest: FFmpeg, x264, cURL, and mbedTLS:

3. Qt 6

4. CEF Wrapper

5. Source Code for OBS and PixelMatchSwitcher

  • open git bash
  • cd /c/Users/<username>/Documents
  • For vanilla OBS:
    git clone --recursive https://github.com/obsproject/obs-studio.git
  • For OBS with atomic effects:
    git clone --recursive https://github.com/HoneyHazard/obs-studio-atomic-effects.git
    git checkout results_stable
    
  • For OBS with PixelMatchSwitcher:
    git clone --recursive https://github.com/PixelMatchSwitcher/obs-studio-pixel-match-switcher.git

6. cmake-gui

  • install CMake GUI 3.24+ (or use cmake however way floats your boat):
    https://cmake.org/download/

  • add/configure cmake variables:

    variable name
    CMAKE_PREFIX_PATH c:/obs-build-dependencies/windows-deps
    CEF_ROOT_DIR c:/obs-build-dependencies/cef-binary
    CEF_INCLUDE_DIR c:/obs-build-dependencies/cef-binary
    CEF_LIBRARY c:/obs-build-dependencies/cef-binary/Release/libcef.lib
    CEFWRAPPER_LIBRARY c:/obs-build-dependencies/cef-binary/build/libcef_dll_wrapper/Release/libcef_dll_wrapper.lib
    CEFWRAPPER_LIBRARY_DEBUG c:/obs-build-dependencies/cef-binary/build/libcef_dll_wrapper/Debug/libcef_dll_wrapper.lib
    VIRTUALCAM_GUID A3FCE0F5-3493-419F-958A-ABA1250EC20B
    TWITCH_CLIENTID secret!
    TWITCH_HASH secret!
    RESTREAM_CLIENTID secret!
    RESTREAM_HASH secret!
    YOUTUBE_CLIENTID secret!
    YOUTUBE_SECRET secret!
    YOUTUBE_CLIENTID_HASH secret!
    YOUTUBE_SECRET_HASH secret!
  • Click Configure, then Generate

⚠️ **GitHub.com Fallback** ⚠️