Source of the third-party programs and libraries Onset SAS builds for Onset Engine
(THIRD_PARTY_NOTICES.txt, components 14, 15 and 16, on Windows and macOS).

src/ holds every source file, unmodified, as downloaded from its publisher.
build_scripts/pins.sh lists each one with its URL and SHA-256 checksum; the
.asc and .sig files are the publishers' signatures, checked when they were pinned.
Archives named after a commit (mpv-b0841e8c.tar.gz...) are GitHub's archive of
that commit; pins.sh gives the full commit hash.

To rebuild, from the folder this README is in (the scripts check every file in
src/ against pins.sh and download nothing that is already there):
  Windows programs, cross-compiled on a Mac with Homebrew's mingw-w64:
    build_scripts/build_windows_programs.sh .
    -> win-programs/ffmpeg/bin/{ffmpeg,ffprobe,ffplay}.exe, win-programs/mpv/mpv.exe
  macOS programs, on an Apple Silicon Mac:
    build_scripts/build_mac_ffmpeg.sh .   -> ffmpeg-mac/bin/{ffmpeg,ffprobe}
    build_scripts/build_mac_mpv.sh .      -> mpv-mac/mpv.app
  Decoder libraries: build_scripts/build_mac.sh (macOS), and
    build_scripts/build_windows_ffmpeg.sh then build_windows.ps1 (Windows).
    Unpack src/decord2-1b4cfbd-with-submodules.tar.gz into the work folder
    first, and copy ffmpeg-8.1.1.tar.xz and dav1d-1.5.4.tar.xz there too.
Each script's header lists the tools it needs.

Component 14, video decoding libraries (LGPL; no GPL or non-free FFmpeg parts):
- FFmpeg 8.1.1 (LGPL version 2.1 or later as built), with dav1d 1.5.4 (BSD 2-Clause).
- decord2 at commit 1b4cfbd of https://github.com/johnnynunez/decord2, with its git
  submodules (Apache 2.0). Onset SAS applies build_scripts/decord2-av1-one-frame.patch
  before building, and on Windows also decord2-msvc-2026.patch (lets the 2026 compiler
  build it; no change in behavior).

Component 15, the ffmpeg programs (GPL version 2 or later), static:
- FFmpeg 8.1.1, configured with --enable-gpl, linked with x264 (GPL v2 or later),
  FreeType 2.15.0 (used under the GPL v2), HarfBuzz 15.0.0 (MIT), libass 0.17.5
  (ISC), FriBidi 1.0.17 (LGPL 2.1 or later) and dav1d 1.5.4 (BSD 2-Clause).
- Windows adds zlib 1.3.2 (zlib licence), SDL 2.32.10 (zlib licence, for ffplay),
  nv-codec-headers 13.0.19.1 (MIT, NVIDIA's encoder and decoder interfaces) and
  AMD's AMF headers 1.5.3 (MIT). macOS uses VideoToolbox and its own zlib.

Component 16, mpv 0.42.0 (commit b0841e8c), static, with the component 15 FFmpeg
libraries, libass, FreeType, HarfBuzz, FriBidi and dav1d, plus libplacebo 7.387.0
(LGPL 2.1 or later, with its bundled glad, Jinja, MarkupSafe and fast_float) and
LuaJIT (MIT). On macOS Onset SAS applies build_scripts/mpv-mac-without-vulkan.patch
(one line, so mpv builds without Vulkan; no change in behavior). Windows adds shaderc 2026.3 with glslang, SPIRV-Tools and
SPIRV-Headers, and SPIRV-Cross (Apache 2.0, BSD and MIT), for Direct3D 11; because
of the Apache 2.0 parts the Windows mpv is distributed under the GPL version 3
(mpv's own code is GPL version 2 or later). The macOS mpv is GPL version 2 or later.
