FFmpeg Source Code
CineManiac uses the FFmpeg libraries libavutil, libswresample, libswscale, libavcodec and libavformat, version 9.0.2, under the GNU Lesser General Public License version 2.1 or later. No GPL, nonfree or version-3 components are enabled. The FFmpeg source is unmodified apart from one small build fix for visionOS, included below.
Download
cinemaniac-ffmpeg-9.0.2-source.tar.gz (12 MB)
SHA-256: a8162c0dcf523b3b1f8a0d8af74b3719fbeaf8de8ea2fcbd69562a259a33be52
It contains:
ffmpeg-9.0.2.tar.xz: the unmodified upstream source, as published at ffmpeg.org/releases (SHA-2568c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e).build-ffmpeg.sh: the exact script that configures and builds the libraries.patches/ffmpeg/: the build fix applied before configuring (the visionOS VideoToolbox pixel-buffer key, which visionOS doesn't have; iOS builds are unaffected). The patch and the changed line inlibavcodec/videotoolbox.csay who changed it and when. The build script applies it.FFMPEG_BUILD_INFO.md: the configure flags and the toolchain used for the shipped build.COPYING.LGPLv2.1: the licence.README.md: how to rebuild the libraries and replace them.
Rebuilding and replacing the libraries
On a Mac with Xcode, put build-ffmpeg.sh and patches/ in a Scripts/ folder and the FFmpeg tarball in Vendor/FFmpeg/src/ next to it, then run Scripts/build-ffmpeg.sh. It produces one dynamic .xcframework per library, for iOS and visionOS.
The libraries ship as separate dynamic frameworks inside CineManiac.app/Frameworks/, loaded at run time. A modified build with the same public interface can replace them there; the app must then be re-signed to install it on a device, as for any iOS or visionOS app.
Contact
Questions about this source: email andy.kim.jkhoodles@gmail.com.