Unravel source code

Third-party audio and video components used by Unravel 1.0.0. These source archives and build records correspond to the app’s SOURCE.txt notice. They do not include Unravel’s proprietary application source or separation models.

Archive checksums are pinned in the source manifest. Download the archives from the upstream projects below and verify each SHA-256 before building.

FFmpeg 9.0.2

Licence: LGPL-2.1-or-later

Download ffmpeg-9.0.2.tar.xz

SHA-256

8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e

LAME 3.100

Licence: LGPL-2.0-or-later

Download lame-3.100.tar.gz

SHA-256

ddfe36cab873794038ae2c1210557ad34857a4b6bdc515785d1da9e175b1da1e

dav1d 1.5.4

Licence: BSD-2-Clause

Download dav1d-1.5.4.tar.xz

SHA-256

686616b7c69eb88d44459391ab25cac13b6647a3b288835c5784e71c1514a5c5

Build script and configuration

The engine targets macOS 14 on Apple silicon. FFmpeg and ffprobe are separate, replaceable programs in Contents/Resources/Engine/bin. LAME is a separate library at Contents/Resources/Engine/lib/libmp3lame.0.dylib. dav1d is linked statically into FFmpeg.

FFmpeg configure options

./configure --prefix=/engine --disable-autodetect --disable-gpl \
  --disable-nonfree --disable-network --disable-doc --disable-ffplay \
  --disable-debug --disable-shared --enable-static --enable-videotoolbox \
  --enable-audiotoolbox --enable-libmp3lame --enable-libdav1d \
  --pkg-config-flags=--static \
  --extra-cflags=-I/opt/homebrew/Cellar/lame/3.100/include \
  --extra-ldflags=-L/opt/homebrew/Cellar/lame/3.100/lib

The recorded build uses Apple clang 21.0.0 (clang-2100.3.34.2). The build script sets MACOSX_DEPLOYMENT_TARGET=14.0 and remaps temporary build paths. GPL and non-free components and network protocols are disabled. The script updates LAME’s runtime path to the bundled library and ad hoc signs the binaries.

dav1d build options

meson setup BUILD_DIR SOURCE_DIR --prefix=PREFIX --libdir=lib \
  --buildtype=release --default-library=static \
  -Denable_tools=false -Denable_tests=false -Db_ndebug=true
ninja -C BUILD_DIR install

The exact commands, temporary paths and archive checks are in build-engine.sh. It installs the pinned Meson 1.12.1 and Ninja 1.13.2 wheels into a temporary Python environment; they are build tools, not app runtime dependencies. Their archive names and SHA-256 values are included in the source manifest.

LAME build and source adjustment

The engine script links the existing Homebrew LAME 3.100 library; it does not rebuild LAME. The installed Homebrew formula is supplied above. Before configuration, that formula removes the line containing lame_init_old from include/libmp3lame.sym to fix an undefined symbol. Apply this adjustment to the pinned LAME source when reproducing that formula.

./configure --disable-dependency-tracking --disable-debug \
  --prefix=INSTALL_PREFIX --enable-nasm
make install

The formula’s prefix is selected by Homebrew. The locally installed dependency was supplied as a Homebrew bottle. The build script expects its headers and library at /opt/homebrew/Cellar/lame/3.100 and an existing bundled libmp3lame.0.dylib.

Using the build script

Place the script in Scripts/build-engine.sh beside an Engine directory containing the bundled LAME library. Place the pinned FFmpeg and dav1d archives and the two build-tool wheels in one source-archive folder. Run:

bash Scripts/build-engine.sh /path/to/source-archives

The script replaces Engine/bin/ffmpeg and ffprobe. Review it before running it. It requires macOS build tools, Python 3, make and pkg-config. The downloadable script is the original build record, not a standalone installer.

See also LAME’s licensing guidance and our Licence Terms. For help obtaining source materials, contact support@strumworksstudio.com.