Build Instructions for Windows ARM64 - obsproject/obs-studio GitHub Wiki

Current Limitation

  1. CEF hardware acceleration does not work. Uncheck "Settings" -> "Advanced" -> "Sources" -> "Enable Browser Source Hardware Acceleration" to use software rendering.
  2. There is no installer available, yet.
  3. Virtual Camera should work, in theory. A manual registration of Virtual Camera is needed.
  4. Video Source is not available, unless there's a good enough MinGW toolchain targeting ARM64 Windows, AND the VideoLAN is willing to use it.
  5. There is no hardware encoding, yet. Neither Microsoft nor Qualcomm released any documentation on this topic.

Windows ARM64 binary build can be found here: https://github.com/tommyvct/obs-studio/releases
CI Multiplatform Build

Prerequisites

  • ARM64 fork of obs-studio: https://github.com/tommyvct/obs-studio/

  • VS2022 with arm64 C++ toolchain, ATL, and Spectre mitigation (optional).
    Reference .vsconfig

      {
          "version": "1.0",
          "components": [
              "Microsoft.VisualStudio.Component.CoreEditor",
              "Microsoft.VisualStudio.Workload.CoreEditor",
              "Microsoft.VisualStudio.Component.TypeScript.TSServer",
              "Microsoft.VisualStudio.Component.TypeScript.SDK.4.4",
              "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions",
              "Microsoft.VisualStudio.Component.Roslyn.Compiler",
              "Microsoft.Component.MSBuild",
              "Microsoft.VisualStudio.Component.TextTemplating",
              "Microsoft.VisualStudio.Component.Debugger.JustInTime",
              "Microsoft.VisualStudio.Component.IntelliCode",
              "Microsoft.VisualStudio.Component.VC.CoreIde",
              "Microsoft.VisualStudio.Component.VC.Tools.x86.x64",
              "Microsoft.VisualStudio.Component.Graphics.Tools",
              "Microsoft.VisualStudio.Component.VC.DiagnosticTools",
              "Microsoft.VisualStudio.Component.VC.Redist.14.Latest",
              "Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core",
              "Microsoft.VisualStudio.Component.VC.Tools.ARM64",
              "Microsoft.VisualStudio.ComponentGroup.WebToolsExtensions.CMake",
              "Microsoft.VisualStudio.Component.VC.CMake.Project",
              "Microsoft.VisualStudio.Component.VC.ATL",
              "Microsoft.VisualStudio.Component.VC.ATLMFC",
              "Microsoft.VisualStudio.Component.VC.ASAN",
              "Microsoft.VisualStudio.Component.Windows11SDK.22000",
              "Microsoft.VisualStudio.Component.VC.Tools.ARM64EC",
              "Microsoft.VisualStudio.Component.VC.CoreBuildTools",
              "Microsoft.VisualStudio.Workload.NativeDesktop",
              "Microsoft.VisualStudio.Component.VC.ATL.ARM64",
              "Microsoft.VisualStudio.Component.VC.ATL.ARM64EC",
              "Microsoft.VisualStudio.Component.VC.ATL.Spectre",
              "Microsoft.VisualStudio.Component.VC.ATL.ARM64.Spectre",
              "Microsoft.VisualStudio.Component.VC.ATL.ARM64EC.Spectre",
              "Microsoft.VisualStudio.Component.VC.ATLMFC.Spectre",
              "Microsoft.VisualStudio.Component.VC.MFC.ARM64.Spectre",
              "Microsoft.VisualStudio.Component.VC.MFC.ARM64EC.Spectre",
              "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64.Spectre",
              "Microsoft.VisualStudio.Component.VC.Runtimes.ARM64EC.Spectre",
              "Microsoft.VisualStudio.Component.VC.MFC.ARM64",
              "Microsoft.VisualStudio.Component.VC.MFC.ARM64EC"
          ]
      }
  • CMake

    • When using CMake GUI, there will be a prompt to choose the generator and the platform to use will appear before the configure begins. Choose Visual Studio 17 2022 as the generator, and ARM64 as the platform.
    • If using CMake from command line, use -G"Visual Studio 17 2022" -A"ARM64".
    • This applies to everything using CMake in this guide.

The following prerequisites are for building dependencies:

  • MSYS2 with make, diffutils, and yasm installed.
  • A Unix environment, either MSYS2, WSL or a real Linux with mingw64-binutils installed.
  • Perl
  • Ruby
  • The patch
  • Cross MSYS2 bash
    1. Use this Windows Terminal profile:
      {
          "commandline": "%comspec% /k \"C:\\\"Program Files\"\\\"Microsoft Visual Studio\"\\2022\\Community\\VC\\Auxiliary\\Build\\vcvarsall.bat x64_arm64 & \"C:\\msys64\\msys2_shell.cmd\"  -defterm -no-start -use-full-path\"",
          "icon": "C:\\msys64\\msys2.ico",
          "name": "MSYS2 MSVC ARM64",
          "startingDirectory": null,
      },
      Or save the following content to a batch file:
      call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" x64_arm64
      call "C:\msys64\msys2_shell.cmd"
    2. Open MSYS2 console
      mv /usr/bin/link.exe /usr/bin/link.exe.bak
      We won't use the linker built-in with MSYS2.
  • MSVC ARM64 Developer Command Prompt / Powershell
    • Use this Windows Terminal profile:
      {
          "commandline": "powershell.exe -noe -c \"&{$vsPath = &(Join-Path ${env:ProgramFiles(x86)} '\\Microsoft Visual Studio\\Installer\\vswhere.exe') -prerelease -property installationpath; Import-Module (Join-Path $vsPath 'Common7\\Tools\\Microsoft.VisualStudio.DevShell.dll'); Enter-VsDevShell -VsInstallPath $vsPath  -SkipAutomaticLocation -Arch arm64 -hostArch amd64;}\"",
          "icon": "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Common7\\IDE\\Assets\\VisualStudio.70x70.contrast-standard_scale-80.png",
          "name": "MSVC ARM64",
      },
      Or save the following content to a batch file:
      call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars64.bat" x64_arm64

Dependencies

Prebuilt dependencies can be downloaded here: https://github.com/tommyvct/obs-deps/releases

Almost all dependencies used here are using the latest development version instead of certain old version unless specified. This is to minimize the potential incompatibility against Windows ARM64 platfrom/toolchain.

A rough workflow

Have a copy of Intel version of prebuilt dependencies for reference.

Grab the dependencies from their upsteram and compile. If there's a built-in sln file then use it. If the sln didn't work or there is no sln, then use CMake. The worst situation is there is no cmake and sln, then you need to use MSYS2 commandline AND MSVC toolchain. See Cross MSYS2 bash above.

The header files are usually gathered in the include directory.

Make sure you put the produced files in the same hierarchy as the intel one.

Compile Qt

Download Qt 5.15.2 here: https://download.qt.io/archive/qt/

Only the following folders is needed in the source folder: gnuwin32, qtbase, qtsvg and qtwinextras, remove the rest to speed things up.
Use jom instead of nmake. nmake is single-threaded only, and it will take days to compile qt.
Qt can figure out which compiler to use by itself, so just use a normal x64 VS Developer Command Prompt instead of x64_arm64 one

"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" x64

cd qt\

configure.bat -opensource -platform win32-msvc -xplatform win32-arm64-msvc2017 -prefix "C:\qt"  -confirm-license  -schannel -nomake examples -nomake tests -no-compile-examples -no-dbus -no-freetype -no-harfbuzz -no-icu -no-feature-concurrent -no-feature-itemmodeltester -no-feature-printdialog -no-feature-printer -no-feature-printpreviewdialog -no-feature-printpreviewwidget -no-feature-sql -no-feature-sqlmodel -no-feature-testlib -no-sql-db2 -no-sql-ibase -no-sql-mysql -no-sql-oci -no-sql-odbc -no-sql-psql -no-sql-sqlite2 -no-sql-sqlite -no-sql-tds -DQT_NO_PDF -DQT_NO_PRINTER -mp

jom -j12
jom install -j12

Compile mbedTLS

Use CMake instead of buildin vs sln.

Crypto Library DLL

Prepare mbedcrypto.def

Unix shell required
Tested on openSUSE 15.2 WSL2
Make sure you have related packages installed

Run the following script:

#/bin/bash
# Credit https://github.com/RytoEX/obs-deps/blob/build-windows-deps/win64.sh

# make directories
rm -rf win64
mkdir win64
cd win64
mkdir bin
mkdir include
mkdir lib
cd ..
mkdir -p win64/lib/pkgconfig

# set build prefix
WORKDIR=$PWD
PREFIX=$PWD/win64
export PKG_CONFIG_PATH="$PREFIX/lib/pkgconfig"

# set variables
SKIP_PROMPTS=true


#---------------------------------


# start mbedTLS
if [ "$SKIP_PROMPTS" != true ]; then
	read -n1 -r -p "Press any key to build mbedtls..." key
fi

# download mbedTLS
curl --retry 5 -L -o mbedtls-2.25.0.tar.gz https://github.com/ARMmbed/mbedtls/archive/v2.25.0.tar.gz
tar -xf mbedtls-2.25.0.tar.gz
mv mbedtls-2.25.0 mbedtls

# build mbedTLS
# Enable the threading abstraction layer and use an alternate implementation
sed -i -e "s/\/\/#define MBEDTLS_THREADING_C/#define MBEDTLS_THREADING_C/" \
-e "s/\/\/#define MBEDTLS_THREADING_ALT/#define MBEDTLS_THREADING_ALT/" mbedtls/include/mbedtls/config.h
cp -p patch/mbedtls/threading_alt.h mbedtls/include/mbedtls/threading_alt.h


mkdir -p mbedtlsbuild/win64
cd mbedtlsbuild/win64
rm -rf *
cmake ../../mbedtls -DCMAKE_SYSTEM_NAME=Windows -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_INSTALL_PREFIX=$PREFIX -DCMAKE_RC_COMPILER=x86_64-w64-mingw32-windres -DCMAKE_SHARED_LINKER_FLAGS="-static-libgcc -Wl,--strip-debug" -DUSE_SHARED_MBEDTLS_LIBRARY=ON -DUSE_STATIC_MBEDTLS_LIBRARY=OFF -DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF
make -j$(nproc)

x86_64-w64-mingw32-dlltool -z mbedcrypto.orig.def --export-all-symbols library/libmbedcrypto.dll # export all symbols
grep "EXPORTS\|mbedtls" mbedcrypto.orig.def > mbedcrypto.def # keep lines with either "EXPORTS" or "mbedtls"
sed -i -e "/\\t.*DATA/d" -e "/\\t\".*/d" -e "s/\s@.*//" mbedcrypto.def # trim ordinals

Now bring mbedcrypto.def back to Windows.

Compile

Open CMake GUI, specify where the mbedTLS source code and the build directory is, then press Configure.

ChooseVisual Studio 16 2019 as generator and ARM64 as platform, then press Finish.

Modify the cache entry as follows:

Entry Value
ENABLE_TESTING OFF
ENABLE_PROGRAMS OFF
USE_SHARED_MBEDTLS_LIBRARY ON
USE_STATIC_MBEDTLS_LIBRARY ON

Click Generate, then Open Project.

In Visual Studio, right-click on the mbedcrypto project, then select Properties. In Configuration Properties > Linker > Input, put in the absolute path of mbedcrypto.def, then click OK.

Now build the whole solution with Release configuration.

Debug configuration will cause more link errors.

Link errors are expected. Open mbedcrypto.def file, find and delete the unresolved external symbol from mbedcrypto.def, then build again.

Compile libsrt

Use CMake.

Cache Value
USE_ENCLIB mbedtls
USE_OPENSSL_PC OFF
ENABLE_STDCXX_SYNC ON

Set mbedTLS library path accordingly. CMake may failed to find mbedTLS include path, add the include path in Visual Studio instead.

Compile opus

Use CMake.

BUILD_SHARED_LIBS=ON

Compile zlib

Use built-in vs sln.

Right click on zlibstat project, click Properties, choose Configuration Properties > Librarian > All Options, frem Additional options, remove /MACHINE:X64. Make sure to build with ReleaseWithoutAsm configuration.

Build projects one-by-one.

Remember to patch the header after compile.

Compile libpng

Use built-in vs sln.

Unload the built-in zlib project, copy the previously pre-compiled zlib.lib to the output directory.

Spectre Migitation warning as error is a bug in vs2019, manual warning mute is required.

Compile libogg

Use built-in vs sln.

ReleaseDLL configuration for OBS,
Release configuration for dependency of libvorbis.

Compile libvorbis

Use built-in vs sln (vorbis_dynamic.sln).

Put previously compiled libogg.lib at libogg/win32/VS2010/ARM64/Release, where libogg directory is on the same level of vorbis source code directory.

Right click on vorbisenc Project, click Properties. Change Configuration type to dll. In Configuration Properties > Linker > Input, add Module Definition File ../../vorbisenc.def.

Build all Projects. Rename vorbisenc.exe to vorbisenc.dll.

Compile x264 & ffmpeg

Prep

Open Cross MSYS2 bash

Get the sources for x264 and ffmpeg

mkdir tmp
cd tmp
mkdir sources
mkdir build
cd sources
 
git clone --depth 1 https://code.videolan.org/videolan/x264.git
git clone --depth 1 git://source.ffmpeg.org/ffmpeg.git

Fix the build scripts for x264
https://github.com/FFmpeg/gas-preprocessor
Replace gas-preprocessor.pl at x264/tools, then have another copy at /usr/bin

Compile x264

cd tmp/build
mkdir x264
cd x264

CC=cl ./../../sources/x264/configure --prefix=./../../installed --enable-shared --disable-avs --disable-ffms --disable-gpac --disable-interlaced --disable-lavf
make -j 8
make install
mv ./../../installed/lib/libx264.dll.lib ./../../installed/lib/libx264.lib

Compile ffmpeg

Apply patch first.
Add previously compiled zlib.dll, zlib.lib and libpng16-16.dll to installed/bin/.
Add previously compiled zlib.dll and zlib.lib to installed/lib/.
Add png.h, pngconf.h and pnglibconf.h to installed/include/libpng16/.
Add zconf.h and zlib.h to installed/include/.

cd tmp/build
mkdir ffmpeg
cd ffmpeg

export CC=cl

./../../sources/ffmpeg/configure --prefix=./../../installed --toolchain=msvc --arch=aarch64 --target-os=win32 --enable-asm --enable-shared --disable-postproc --disable-programs  --enable-decoder=png --enable-zlib --enable-libx264 --enable-gpl --extra-ldflags="-LIBPATH:./../../installed/lib/"   --extra-cflags="-I./../../installed/include/" --enable-cross-compile --enable-runtime-cpudetect --enable-d3d11va --disable-dxva2 --disable-doc --disable-debug


make V=1 -j
make install

Compile curl

https://medium.com/@chuy.max/compile-libcurl-on-windows-with-visual-studio-2017-x64-and-ssl-winssl-cff41ac7971d

Compile Freetype

open builds\windows\vc2010\freetype.sln
new solution platform ARM64, Copy settings from x64
Switch to Release Static solution configuration
Right click freetype project, then click properties
Click Librarian on the left, change Target Machine to MachineARM64

Compile Detours

https://github.com/Microsoft/Detours Use the built-in sln.

Compile libSpeex

https://gitlab.xiph.org/xiph/speexdsp Use the build-in sln.

Prepare Python

Grab the latest release from https://github.com/jay0lee/CPython-Windows-ARM64. Copy the include folder to DepsARM64\include, then rename it to python. Copy python3.lib and python39.lib to DepsARM64\bin. It may complain about Pyconfig.h not found. Grab one from https://github.com/python/cpython/blob/main/PC/pyconfig.h.

Prepare swig

From the Intel version of deps, copy the entire swig folder over. swig is a compile-time tool, and it's not linked or bundled to the artifact.

Prepare CEF

Download CEF at https://cef-builds.spotifycdn.com/index.html#windowsarm64

unzip, create a folder build inside. Run CMake and point the build directory to the build folder created last step, build the wrapper.

Gather files

Gather the binaries in bin folder and headers in include folder.

It should be look like this:
DepsARM64
β”‚   tree.txt
β”‚   
β”œβ”€β”€β”€bin
β”‚       avcodec-58.dll
β”‚       avcodec.lib
β”‚       avdevice-58.dll
β”‚       avdevice.lib
β”‚       avfilter-7.dll
β”‚       avfilter.lib
β”‚       avformat-58.dll
β”‚       avformat.lib
β”‚       avutil-56.dll
β”‚       avutil.lib
β”‚       cmocka.dll
β”‚       cmocka.lib
β”‚       detours.lib
β”‚       freetype.lib
β”‚       libcurl.dll
β”‚       libcurl.lib
β”‚       libmbedcrypto.dll
β”‚       libogg.dll
β”‚       libopus-0.dll
β”‚       libpng16-16.dll
β”‚       libsrt.dll
β”‚       libvorbis-0.dll
β”‚       libvorbisenc-2.dll
β”‚       libvorbisfile-3.dll
β”‚       libx264-161.dll
β”‚       libx264.lib
β”‚       mbedcrypto.lib
β”‚       mbedtls.lib
β”‚       mbedx509.lib
β”‚       python3.lib
β”‚       python39.lib
β”‚       swresample-3.dll
β”‚       swresample.lib
β”‚       swscale-5.dll
β”‚       swscale.lib
β”‚       x264.exe
β”‚       zlib.dll
β”‚       zlib.lib
β”‚       
β”œβ”€β”€β”€cef
β”‚   β”‚   ...
β”‚               
β”œβ”€β”€β”€include
β”‚   β”‚   detours.h
β”‚   β”‚   ft2build.h
β”‚   β”‚   x264.h
β”‚   β”‚   x264_config.h
β”‚   β”‚   zconf.h
β”‚   β”‚   zlib.h
β”‚   β”‚   
β”‚   β”œβ”€β”€β”€cmocka
β”‚   β”‚       cmocka.h
β”‚   β”‚       cmocka_pbc.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€curl
β”‚   β”‚       curl.h
β”‚   β”‚       curlver.h
β”‚   β”‚       easy.h
β”‚   β”‚       mprintf.h
β”‚   β”‚       multi.h
β”‚   β”‚       options.h
β”‚   β”‚       stdcheaders.h
β”‚   β”‚       system.h
β”‚   β”‚       typecheck-gcc.h
β”‚   β”‚       urlapi.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€freetype
β”‚   β”‚   β”‚   freetype.h
β”‚   β”‚   β”‚   ftadvanc.h
β”‚   β”‚   β”‚   ftbbox.h
β”‚   β”‚   β”‚   ftbdf.h
β”‚   β”‚   β”‚   ftbitmap.h
β”‚   β”‚   β”‚   ftbzip2.h
β”‚   β”‚   β”‚   ftcache.h
β”‚   β”‚   β”‚   ftchapters.h
β”‚   β”‚   β”‚   ftcid.h
β”‚   β”‚   β”‚   ftcolor.h
β”‚   β”‚   β”‚   ftdriver.h
β”‚   β”‚   β”‚   fterrdef.h
β”‚   β”‚   β”‚   fterrors.h
β”‚   β”‚   β”‚   ftfntfmt.h
β”‚   β”‚   β”‚   ftgasp.h
β”‚   β”‚   β”‚   ftglyph.h
β”‚   β”‚   β”‚   ftgxval.h
β”‚   β”‚   β”‚   ftgzip.h
β”‚   β”‚   β”‚   ftimage.h
β”‚   β”‚   β”‚   ftincrem.h
β”‚   β”‚   β”‚   ftlcdfil.h
β”‚   β”‚   β”‚   ftlist.h
β”‚   β”‚   β”‚   ftlzw.h
β”‚   β”‚   β”‚   ftmac.h
β”‚   β”‚   β”‚   ftmm.h
β”‚   β”‚   β”‚   ftmodapi.h
β”‚   β”‚   β”‚   ftmoderr.h
β”‚   β”‚   β”‚   ftotval.h
β”‚   β”‚   β”‚   ftoutln.h
β”‚   β”‚   β”‚   ftparams.h
β”‚   β”‚   β”‚   ftpfr.h
β”‚   β”‚   β”‚   ftrender.h
β”‚   β”‚   β”‚   ftsizes.h
β”‚   β”‚   β”‚   ftsnames.h
β”‚   β”‚   β”‚   ftstroke.h
β”‚   β”‚   β”‚   ftsynth.h
β”‚   β”‚   β”‚   ftsystem.h
β”‚   β”‚   β”‚   fttrigon.h
β”‚   β”‚   β”‚   fttypes.h
β”‚   β”‚   β”‚   ftwinfnt.h
β”‚   β”‚   β”‚   t1tables.h
β”‚   β”‚   β”‚   ttnameid.h
β”‚   β”‚   β”‚   tttables.h
β”‚   β”‚   β”‚   tttags.h
β”‚   β”‚   β”‚   
β”‚   β”‚   β”œβ”€β”€β”€config
β”‚   β”‚   β”‚       ftconfig.h
β”‚   β”‚   β”‚       ftheader.h
β”‚   β”‚   β”‚       ftmodule.h
β”‚   β”‚   β”‚       ftoption.h
β”‚   β”‚   β”‚       ftstdlib.h
β”‚   β”‚   β”‚       integer-types.h
β”‚   β”‚   β”‚       mac-support.h
β”‚   β”‚   β”‚       public-macros.h
β”‚   β”‚   β”‚       
β”‚   β”‚   └───internal
β”‚   β”‚       β”‚   autohint.h
β”‚   β”‚       β”‚   cffotypes.h
β”‚   β”‚       β”‚   cfftypes.h
β”‚   β”‚       β”‚   compiler-macros.h
β”‚   β”‚       β”‚   ftcalc.h
β”‚   β”‚       β”‚   ftdebug.h
β”‚   β”‚       β”‚   ftdrv.h
β”‚   β”‚       β”‚   ftgloadr.h
β”‚   β”‚       β”‚   fthash.h
β”‚   β”‚       β”‚   ftmemory.h
β”‚   β”‚       β”‚   ftobjs.h
β”‚   β”‚       β”‚   ftpsprop.h
β”‚   β”‚       β”‚   ftrfork.h
β”‚   β”‚       β”‚   ftserv.h
β”‚   β”‚       β”‚   ftstream.h
β”‚   β”‚       β”‚   fttrace.h
β”‚   β”‚       β”‚   ftvalid.h
β”‚   β”‚       β”‚   psaux.h
β”‚   β”‚       β”‚   pshints.h
β”‚   β”‚       β”‚   sfnt.h
β”‚   β”‚       β”‚   t1types.h
β”‚   β”‚       β”‚   tttypes.h
β”‚   β”‚       β”‚   wofftypes.h
β”‚   β”‚       β”‚   
β”‚   β”‚       └───services
β”‚   β”‚               svbdf.h
β”‚   β”‚               svcfftl.h
β”‚   β”‚               svcid.h
β”‚   β”‚               svfntfmt.h
β”‚   β”‚               svgldict.h
β”‚   β”‚               svgxval.h
β”‚   β”‚               svkern.h
β”‚   β”‚               svmetric.h
β”‚   β”‚               svmm.h
β”‚   β”‚               svotval.h
β”‚   β”‚               svpfr.h
β”‚   β”‚               svpostnm.h
β”‚   β”‚               svprop.h
β”‚   β”‚               svpscmap.h
β”‚   β”‚               svpsinfo.h
β”‚   β”‚               svsfnt.h
β”‚   β”‚               svttcmap.h
β”‚   β”‚               svtteng.h
β”‚   β”‚               svttglyf.h
β”‚   β”‚               svwinfnt.h
β”‚   β”‚               
β”‚   β”œβ”€β”€β”€libavcodec
β”‚   β”‚       ac3_parser.h
β”‚   β”‚       adts_parser.h
β”‚   β”‚       avcodec.h
β”‚   β”‚       avdct.h
β”‚   β”‚       avfft.h
β”‚   β”‚       bsf.h
β”‚   β”‚       codec.h
β”‚   β”‚       codec_desc.h
β”‚   β”‚       codec_id.h
β”‚   β”‚       codec_par.h
β”‚   β”‚       d3d11va.h
β”‚   β”‚       dirac.h
β”‚   β”‚       dv_profile.h
β”‚   β”‚       dxva2.h
β”‚   β”‚       jni.h
β”‚   β”‚       mediacodec.h
β”‚   β”‚       packet.h
β”‚   β”‚       qsv.h
β”‚   β”‚       vaapi.h
β”‚   β”‚       vdpau.h
β”‚   β”‚       version.h
β”‚   β”‚       videotoolbox.h
β”‚   β”‚       vorbis_parser.h
β”‚   β”‚       xvmc.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libavdevice
β”‚   β”‚       avdevice.h
β”‚   β”‚       version.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libavfilter
β”‚   β”‚       avfilter.h
β”‚   β”‚       buffersink.h
β”‚   β”‚       buffersrc.h
β”‚   β”‚       version.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libavformat
β”‚   β”‚       avformat.h
β”‚   β”‚       avio.h
β”‚   β”‚       version.h
β”‚   β”‚       
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libavutil
β”‚   β”‚       adler32.h
β”‚   β”‚       aes.h
β”‚   β”‚       aes_ctr.h
β”‚   β”‚       attributes.h
β”‚   β”‚       audio_fifo.h
β”‚   β”‚       avassert.h
β”‚   β”‚       avconfig.h
β”‚   β”‚       avstring.h
β”‚   β”‚       avutil.h
β”‚   β”‚       base64.h
β”‚   β”‚       blowfish.h
β”‚   β”‚       bprint.h
β”‚   β”‚       bswap.h
β”‚   β”‚       buffer.h
β”‚   β”‚       camellia.h
β”‚   β”‚       cast5.h
β”‚   β”‚       channel_layout.h
β”‚   β”‚       common.h
β”‚   β”‚       cpu.h
β”‚   β”‚       crc.h
β”‚   β”‚       des.h
β”‚   β”‚       dict.h
β”‚   β”‚       display.h
β”‚   β”‚       dovi_meta.h
β”‚   β”‚       downmix_info.h
β”‚   β”‚       encryption_info.h
β”‚   β”‚       error.h
β”‚   β”‚       eval.h
β”‚   β”‚       ffversion.h
β”‚   β”‚       fifo.h
β”‚   β”‚       file.h
β”‚   β”‚       film_grain_params.h
β”‚   β”‚       frame.h
β”‚   β”‚       hash.h
β”‚   β”‚       hdr_dynamic_metadata.h
β”‚   β”‚       hmac.h
β”‚   β”‚       hwcontext.h
β”‚   β”‚       hwcontext_cuda.h
β”‚   β”‚       hwcontext_d3d11va.h
β”‚   β”‚       hwcontext_drm.h
β”‚   β”‚       hwcontext_dxva2.h
β”‚   β”‚       hwcontext_mediacodec.h
β”‚   β”‚       hwcontext_opencl.h
β”‚   β”‚       hwcontext_qsv.h
β”‚   β”‚       hwcontext_vaapi.h
β”‚   β”‚       hwcontext_vdpau.h
β”‚   β”‚       hwcontext_videotoolbox.h
β”‚   β”‚       hwcontext_vulkan.h
β”‚   β”‚       imgutils.h
β”‚   β”‚       intfloat.h
β”‚   β”‚       intreadwrite.h
β”‚   β”‚       lfg.h
β”‚   β”‚       log.h
β”‚   β”‚       lzo.h
β”‚   β”‚       macros.h
β”‚   β”‚       mastering_display_metadata.h
β”‚   β”‚       mathematics.h
β”‚   β”‚       md5.h
β”‚   β”‚       mem.h
β”‚   β”‚       motion_vector.h
β”‚   β”‚       murmur3.h
β”‚   β”‚       opt.h
β”‚   β”‚       parseutils.h
β”‚   β”‚       pixdesc.h
β”‚   β”‚       pixelutils.h
β”‚   β”‚       pixfmt.h
β”‚   β”‚       random_seed.h
β”‚   β”‚       rational.h
β”‚   β”‚       rc4.h
β”‚   β”‚       replaygain.h
β”‚   β”‚       ripemd.h
β”‚   β”‚       samplefmt.h
β”‚   β”‚       sha.h
β”‚   β”‚       sha512.h
β”‚   β”‚       spherical.h
β”‚   β”‚       stereo3d.h
β”‚   β”‚       tea.h
β”‚   β”‚       threadmessage.h
β”‚   β”‚       time.h
β”‚   β”‚       timecode.h
β”‚   β”‚       timestamp.h
β”‚   β”‚       tree.h
β”‚   β”‚       twofish.h
β”‚   β”‚       tx.h
β”‚   β”‚       version.h
β”‚   β”‚       video_enc_params.h
β”‚   β”‚       xtea.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libpng16
β”‚   β”‚       png.h
β”‚   β”‚       pngconf.h
β”‚   β”‚       pnglibconf.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libswresample
β”‚   β”‚       swresample.h
β”‚   β”‚       version.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€libswscale
β”‚   β”‚       swscale.h
β”‚   β”‚       version.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€mbedtls
β”‚   β”‚       aes.h
β”‚   β”‚       aesni.h
β”‚   β”‚       arc4.h
β”‚   β”‚       aria.h
β”‚   β”‚       asn1.h
β”‚   β”‚       asn1write.h
β”‚   β”‚       base64.h
β”‚   β”‚       bignum.h
β”‚   β”‚       blowfish.h
β”‚   β”‚       bn_mul.h
β”‚   β”‚       camellia.h
β”‚   β”‚       ccm.h
β”‚   β”‚       certs.h
β”‚   β”‚       chacha20.h
β”‚   β”‚       chachapoly.h
β”‚   β”‚       check_config.h
β”‚   β”‚       cipher.h
β”‚   β”‚       cipher_internal.h
β”‚   β”‚       cmac.h
β”‚   β”‚       compat-1.3.h
β”‚   β”‚       config.h
β”‚   β”‚       config_psa.h
β”‚   β”‚       ctr_drbg.h
β”‚   β”‚       debug.h
β”‚   β”‚       des.h
β”‚   β”‚       dhm.h
β”‚   β”‚       ecdh.h
β”‚   β”‚       ecdsa.h
β”‚   β”‚       ecjpake.h
β”‚   β”‚       ecp.h
β”‚   β”‚       ecp_internal.h
β”‚   β”‚       entropy.h
β”‚   β”‚       entropy_poll.h
β”‚   β”‚       error.h
β”‚   β”‚       gcm.h
β”‚   β”‚       havege.h
β”‚   β”‚       hkdf.h
β”‚   β”‚       hmac_drbg.h
β”‚   β”‚       md.h
β”‚   β”‚       md2.h
β”‚   β”‚       md4.h
β”‚   β”‚       md5.h
β”‚   β”‚       md_internal.h
β”‚   β”‚       memory_buffer_alloc.h
β”‚   β”‚       net.h
β”‚   β”‚       net_sockets.h
β”‚   β”‚       nist_kw.h
β”‚   β”‚       oid.h
β”‚   β”‚       padlock.h
β”‚   β”‚       pem.h
β”‚   β”‚       pk.h
β”‚   β”‚       pkcs11.h
β”‚   β”‚       pkcs12.h
β”‚   β”‚       pkcs5.h
β”‚   β”‚       pk_internal.h
β”‚   β”‚       platform.h
β”‚   β”‚       platform_time.h
β”‚   β”‚       platform_util.h
β”‚   β”‚       poly1305.h
β”‚   β”‚       psa_util.h
β”‚   β”‚       ripemd160.h
β”‚   β”‚       rsa.h
β”‚   β”‚       rsa_internal.h
β”‚   β”‚       sha1.h
β”‚   β”‚       sha256.h
β”‚   β”‚       sha512.h
β”‚   β”‚       ssl.h
β”‚   β”‚       ssl_cache.h
β”‚   β”‚       ssl_ciphersuites.h
β”‚   β”‚       ssl_cookie.h
β”‚   β”‚       ssl_internal.h
β”‚   β”‚       ssl_ticket.h
β”‚   β”‚       threading.h
β”‚   β”‚       threading_alt.h
β”‚   β”‚       timing.h
β”‚   β”‚       version.h
β”‚   β”‚       x509.h
β”‚   β”‚       x509_crl.h
β”‚   β”‚       x509_crt.h
β”‚   β”‚       x509_csr.h
β”‚   β”‚       xtea.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€ogg
β”‚   β”‚       config_types.h.in
β”‚   β”‚       Makefile.am
β”‚   β”‚       ogg.h
β”‚   β”‚       os_types.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€opus
β”‚   β”‚       opus.h
β”‚   β”‚       opus_custom.h
β”‚   β”‚       opus_defines.h
β”‚   β”‚       opus_multistream.h
β”‚   β”‚       opus_projection.h
β”‚   β”‚       opus_types.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€psa
β”‚   β”‚       crypto.h
β”‚   β”‚       crypto_accel_driver.h
β”‚   β”‚       crypto_compat.h
β”‚   β”‚       crypto_config.h
β”‚   β”‚       crypto_driver_common.h
β”‚   β”‚       crypto_entropy_driver.h
β”‚   β”‚       crypto_extra.h
β”‚   β”‚       crypto_platform.h
β”‚   β”‚       crypto_se_driver.h
β”‚   β”‚       crypto_sizes.h
β”‚   β”‚       crypto_struct.h
β”‚   β”‚       crypto_types.h
β”‚   β”‚       crypto_values.h
β”‚   β”‚       
β”‚   β”œβ”€β”€β”€python
β”‚   β”‚   β”‚   abstract.h
β”‚   β”‚   β”‚   asdl.h
β”‚   β”‚   β”‚   ast.h
β”‚   β”‚   β”‚   bitset.h
β”‚   β”‚   β”‚   bltinmodule.h
β”‚   β”‚   β”‚   boolobject.h
β”‚   β”‚   β”‚   bytearrayobject.h
β”‚   β”‚   β”‚   bytesobject.h
β”‚   β”‚   β”‚   cellobject.h
β”‚   β”‚   β”‚   ceval.h
β”‚   β”‚   β”‚   classobject.h
β”‚   β”‚   β”‚   code.h
β”‚   β”‚   β”‚   codecs.h
β”‚   β”‚   β”‚   compile.h
β”‚   β”‚   β”‚   complexobject.h
β”‚   β”‚   β”‚   context.h
β”‚   β”‚   β”‚   datetime.h
β”‚   β”‚   β”‚   descrobject.h
β”‚   β”‚   β”‚   dictobject.h
β”‚   β”‚   β”‚   dynamic_annotations.h
β”‚   β”‚   β”‚   enumobject.h
β”‚   β”‚   β”‚   errcode.h
β”‚   β”‚   β”‚   eval.h
β”‚   β”‚   β”‚   exports.h
β”‚   β”‚   β”‚   fileobject.h
β”‚   β”‚   β”‚   fileutils.h
β”‚   β”‚   β”‚   floatobject.h
β”‚   β”‚   β”‚   frameobject.h
β”‚   β”‚   β”‚   funcobject.h
β”‚   β”‚   β”‚   genericaliasobject.h
β”‚   β”‚   β”‚   genobject.h
β”‚   β”‚   β”‚   graminit.h
β”‚   β”‚   β”‚   grammar.h
β”‚   β”‚   β”‚   import.h
β”‚   β”‚   β”‚   interpreteridobject.h
β”‚   β”‚   β”‚   intrcheck.h
β”‚   β”‚   β”‚   iterobject.h
β”‚   β”‚   β”‚   listobject.h
β”‚   β”‚   β”‚   longintrepr.h
β”‚   β”‚   β”‚   longobject.h
β”‚   β”‚   β”‚   marshal.h
β”‚   β”‚   β”‚   memoryobject.h
β”‚   β”‚   β”‚   methodobject.h
β”‚   β”‚   β”‚   modsupport.h
β”‚   β”‚   β”‚   moduleobject.h
β”‚   β”‚   β”‚   namespaceobject.h
β”‚   β”‚   β”‚   node.h
β”‚   β”‚   β”‚   object.h
β”‚   β”‚   β”‚   objimpl.h
β”‚   β”‚   β”‚   odictobject.h
β”‚   β”‚   β”‚   opcode.h
β”‚   β”‚   β”‚   osdefs.h
β”‚   β”‚   β”‚   osmodule.h
β”‚   β”‚   β”‚   parsetok.h
β”‚   β”‚   β”‚   patchlevel.h
β”‚   β”‚   β”‚   picklebufobject.h
β”‚   β”‚   β”‚   pyarena.h
β”‚   β”‚   β”‚   pycapsule.h
β”‚   β”‚   β”‚   pyctype.h
β”‚   β”‚   β”‚   pydebug.h
β”‚   β”‚   β”‚   pydtrace.d
β”‚   β”‚   β”‚   pydtrace.h
β”‚   β”‚   β”‚   pyerrors.h
β”‚   β”‚   β”‚   pyexpat.h
β”‚   β”‚   β”‚   pyfpe.h
β”‚   β”‚   β”‚   pyframe.h
β”‚   β”‚   β”‚   pyhash.h
β”‚   β”‚   β”‚   pylifecycle.h
β”‚   β”‚   β”‚   pymacconfig.h
β”‚   β”‚   β”‚   pymacro.h
β”‚   β”‚   β”‚   pymath.h
β”‚   β”‚   β”‚   pymem.h
β”‚   β”‚   β”‚   pyport.h
β”‚   β”‚   β”‚   pystate.h
β”‚   β”‚   β”‚   pystrcmp.h
β”‚   β”‚   β”‚   pystrhex.h
β”‚   β”‚   β”‚   pystrtod.h
β”‚   β”‚   β”‚   Python-ast.h
β”‚   β”‚   β”‚   Python.h
β”‚   β”‚   β”‚   pythonrun.h
β”‚   β”‚   β”‚   pythread.h
β”‚   β”‚   β”‚   pytime.h
β”‚   β”‚   β”‚   py_curses.h
β”‚   β”‚   β”‚   rangeobject.h
β”‚   β”‚   β”‚   setobject.h
β”‚   β”‚   β”‚   sliceobject.h
β”‚   β”‚   β”‚   structmember.h
β”‚   β”‚   β”‚   structseq.h
β”‚   β”‚   β”‚   symtable.h
β”‚   β”‚   β”‚   sysmodule.h
β”‚   β”‚   β”‚   token.h
β”‚   β”‚   β”‚   traceback.h
β”‚   β”‚   β”‚   tracemalloc.h
β”‚   β”‚   β”‚   tupleobject.h
β”‚   β”‚   β”‚   typeslots.h
β”‚   β”‚   β”‚   ucnhash.h
β”‚   β”‚   β”‚   unicodeobject.h
β”‚   β”‚   β”‚   warnings.h
β”‚   β”‚   β”‚   weakrefobject.h
β”‚   β”‚   β”‚   
β”‚   β”‚   β”œβ”€β”€β”€cpython
β”‚   β”‚   β”‚       abstract.h
β”‚   β”‚   β”‚       bytearrayobject.h
β”‚   β”‚   β”‚       bytesobject.h
β”‚   β”‚   β”‚       ceval.h
β”‚   β”‚   β”‚       code.h
β”‚   β”‚   β”‚       dictobject.h
β”‚   β”‚   β”‚       fileobject.h
β”‚   β”‚   β”‚       fileutils.h
β”‚   β”‚   β”‚       frameobject.h
β”‚   β”‚   β”‚       import.h
β”‚   β”‚   β”‚       initconfig.h
β”‚   β”‚   β”‚       interpreteridobject.h
β”‚   β”‚   β”‚       listobject.h
β”‚   β”‚   β”‚       methodobject.h
β”‚   β”‚   β”‚       object.h
β”‚   β”‚   β”‚       objimpl.h
β”‚   β”‚   β”‚       pyerrors.h
β”‚   β”‚   β”‚       pylifecycle.h
β”‚   β”‚   β”‚       pymem.h
β”‚   β”‚   β”‚       pystate.h
β”‚   β”‚   β”‚       sysmodule.h
β”‚   β”‚   β”‚       traceback.h
β”‚   β”‚   β”‚       tupleobject.h
β”‚   β”‚   β”‚       unicodeobject.h
β”‚   β”‚   β”‚       
β”‚   β”‚   └───internal
β”‚   β”‚           pegen_interface.h
β”‚   β”‚           pycore_abstract.h
β”‚   β”‚           pycore_accu.h
β”‚   β”‚           pycore_atomic.h
β”‚   β”‚           pycore_byteswap.h
β”‚   β”‚           pycore_bytes_methods.h
β”‚   β”‚           pycore_call.h
β”‚   β”‚           pycore_ceval.h
β”‚   β”‚           pycore_code.h
β”‚   β”‚           pycore_condvar.h
β”‚   β”‚           pycore_context.h
β”‚   β”‚           pycore_dtoa.h
β”‚   β”‚           pycore_fileutils.h
β”‚   β”‚           pycore_gc.h
β”‚   β”‚           pycore_getopt.h
β”‚   β”‚           pycore_gil.h
β”‚   β”‚           pycore_hamt.h
β”‚   β”‚           pycore_hashtable.h
β”‚   β”‚           pycore_import.h
β”‚   β”‚           pycore_initconfig.h
β”‚   β”‚           pycore_interp.h
β”‚   β”‚           pycore_object.h
β”‚   β”‚           pycore_pathconfig.h
β”‚   β”‚           pycore_pyerrors.h
β”‚   β”‚           pycore_pyhash.h
β”‚   β”‚           pycore_pylifecycle.h
β”‚   β”‚           pycore_pymem.h
β”‚   β”‚           pycore_pystate.h
β”‚   β”‚           pycore_runtime.h
β”‚   β”‚           pycore_sysmodule.h
β”‚   β”‚           pycore_traceback.h
β”‚   β”‚           pycore_tupleobject.h
β”‚   β”‚           pycore_warnings.h
β”‚   β”‚           
β”‚   β”œβ”€β”€β”€srt
β”‚   β”‚   β”‚   access_control.h
β”‚   β”‚   β”‚   api.h
β”‚   β”‚   β”‚   buffer.h
β”‚   β”‚   β”‚   cache.h
β”‚   β”‚   β”‚   channel.h
β”‚   β”‚   β”‚   common.h
β”‚   β”‚   β”‚   congctl.h
β”‚   β”‚   β”‚   core.h
β”‚   β”‚   β”‚   crypto.h
β”‚   β”‚   β”‚   epoll.h
β”‚   β”‚   β”‚   fec.h
β”‚   β”‚   β”‚   group.h
β”‚   β”‚   β”‚   handshake.h
β”‚   β”‚   β”‚   list.h
β”‚   β”‚   β”‚   logger_defs.h
β”‚   β”‚   β”‚   logging.h
β”‚   β”‚   β”‚   logging_api.h
β”‚   β”‚   β”‚   md5.h
β”‚   β”‚   β”‚   netinet_any.h
β”‚   β”‚   β”‚   packet.h
β”‚   β”‚   β”‚   packetfilter.h
β”‚   β”‚   β”‚   packetfilter_api.h
β”‚   β”‚   β”‚   packetfilter_builtin.h
β”‚   β”‚   β”‚   platform_sys.h
β”‚   β”‚   β”‚   queue.h
β”‚   β”‚   β”‚   srt.h
β”‚   β”‚   β”‚   srt_compat.h
β”‚   β”‚   β”‚   sync.h
β”‚   β”‚   β”‚   threadname.h
β”‚   β”‚   β”‚   udt.h
β”‚   β”‚   β”‚   utilities.h
β”‚   β”‚   β”‚   window.h
β”‚   β”‚   β”‚   
β”‚   β”‚   └───win
β”‚   β”‚           syslog_defs.h
β”‚   β”‚           unistd.h
β”‚   β”‚           wintime.h
β”‚   β”‚           
β”‚   └───vorbis
β”‚           codec.h
β”‚           Makefile.am
β”‚           vorbisenc.h
β”‚           vorbisfile.h
β”‚           
β”œβ”€β”€β”€qt
β”‚   |   ...
β”‚               
β”œβ”€β”€β”€swig
β”‚   β”‚   swig.exe
β”‚   |   ...
β”‚
β”œβ”€β”€β”€VulkanSDK
β”‚   β”œβ”€β”€β”€Include
    β”‚   └───...
    β”‚   vulkan-1.lib

Compile OBS

Generate .sln

Use CMake.

Cache Value
DepsPath DepsARM64
QTDIR DepsARM64/qt
PYTHON_LIB DepsARM64/bin/python310.lib
ENABLE_BROWSER ON
CEF_ROOT_DIR DepsARM64/cef

Note that CPython have support for Windows ARM64 only since version 3.9, while the x64 version of OBS Studio is still using version 3.6.

Compile

Select Release or RelWithDebInfo configuration, and build.

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