Corresponding source for the bundled ffmpeg in ChopShop ======================================================== ChopShop bundles a small static build of FFmpeg, used to import the file formats AVFoundation does not read natively (Matroska, WebM, Ogg, FLAC). The bundled binary is licensed under the GNU Lesser General Public License, version 3 (LGPL v3): https://www.gnu.org/licenses/lgpl-3.0.html This directory contains everything needed to reproduce that build: ffmpeg-7.1.2.tar.xz The exact upstream FFmpeg source release the bundled binary was built from. Identical to ffmpeg.org/releases/ffmpeg-7.1.2.tar.xz. SHA-256: 089bc60fb59d6aecc5d994ff530fd0dcb3ee39aa55867849a2bbc4e555f9c304 build-ffmpeg.sh The build script used to produce the bundled binary. It clones the same upstream release, runs ./configure with the flags listed inside, and lipos the resulting binary into the form ChopShop ships. Reproducing the bundled binary ------------------------------ tar xf ffmpeg-7.1.2.tar.xz bash build-ffmpeg.sh The output binary appears at build/ffmpeg/ffmpeg. By default it is arm64-only (the architecture ChopShop ships). To build universal: ARCHS="arm64 x86_64" bash build-ffmpeg.sh License ------- The unmodified FFmpeg source in ffmpeg-7.1.2.tar.xz is licensed under its own combination of LGPL, GPL, and BSD-style licenses. The configure flags in build-ffmpeg.sh select only LGPL-compatible components: --disable-gpl --disable-nonfree, no libx264, no libx265. The resulting binary is therefore LGPL v3. No modifications are made to the FFmpeg source itself. The complete "modification" is the set of ./configure flags in build-ffmpeg.sh. Questions: ben.dansby@gmail.com