FFmpeg in the Jombo app for iPhone: how it was built ==================================================== Jombo (Samneon Ltd) uses libraries from the FFmpeg project (https://ffmpeg.org), version 9.0.2, under the GNU Lesser General Public License, version 2.1 (LICENSE.txt in this folder). They turn videos saved in kinds the iPhone can't open (WebM, MKV, AVI, MPEG, FLV and others) into ordinary MP4 videos, on the phone itself. FFmpeg belongs to its authors, not to Samneon Ltd: https://ffmpeg.org/legal.html THE SOURCE ---------- ffmpeg-9.0.2.tar.xz FFmpeg's own 9.0.2 release, byte for byte, the same file as https://ffmpeg.org/releases/ffmpeg-9.0.2.tar.xz SHA-256 8c3850283eb25fa026482078a04051e0be17347b09ef81a0849bec15a96e002e ffmpeg-9.0.2.tar.xz.asc FFmpeg's signature for it, made with FFmpeg's release signing key FCF9 86EA 15E6 E293 A564 4F10 B432 2F04 D676 58D8 (ffmpeg-devel@ffmpeg.org) No changes were made to FFmpeg's code: we built from this file as it is, so a list of changes would be empty. Nothing GPL or "nonfree" is in it (configure was never given --enable-gpl, --enable-version3 or --enable-nonfree). To check the file: gpg --verify ffmpeg-9.0.2.tar.xz.asc ffmpeg-9.0.2.tar.xz THE BUILD --------- build-ffmpeg.sh in this folder is the exact script we built it with. On a Mac with Xcode: tar xf ffmpeg-9.0.2.tar.xz REPO= zsh build-ffmpeg.sh ffmpeg-9.0.2 It leaves /Packages/VeyroKit/Frameworks/FFmpeg.xcframework. We built it with Xcode 26.6 (17F113), Apple clang 21.0.0, the iOS 26.5 SDK, on macOS 26.2, on 20 November 2026. For each of three targets (iPhone: arm64-apple-ios18.0; the iPhone simulator: arm64-apple-ios18.0-simulator; the Mac, for our tests only: arm64-apple-macos15.0) the script runs, from an empty build folder: ffmpeg-9.0.2/configure --prefix= --enable-cross-compile --target-os=darwin --arch=aarch64 \ --cc=$(xcrun -sdk iphoneos -f clang) --sysroot=$(xcrun -sdk iphoneos --show-sdk-path) \ --extra-cflags="-target arm64-apple-ios18.0" --extra-ldflags="-target arm64-apple-ios18.0" \ --disable-everything --disable-programs --disable-doc --disable-debug --disable-network --disable-autodetect \ --disable-avdevice --disable-avfilter --enable-pic --enable-static --disable-shared \ --enable-avformat --enable-avcodec --enable-swscale --enable-swresample \ --enable-videotoolbox --enable-audiotoolbox --enable-zlib \ --enable-protocol=file \ --enable-demuxer=matroska,avi,mpegts,mpegps,mpegvideo,flv,ogg,mov,m4v,h264,hevc \ --enable-muxer=mp4 \ --enable-parser=h264,hevc,av1,mpeg4video,mpegvideo,vp8,vp9,mpegaudio,aac,ac3,opus,vorbis,flac,mjpeg,h263 \ --enable-decoder=vp8,vp9,mpeg1video,mpeg2video,mpeg4,msmpeg4v1,msmpeg4v2,msmpeg4v3,h263,flv,theora,mjpeg \ --enable-decoder=vorbis,opus,mp2,mp2float,mp3,mp3float,ac3,flac,pcm_s16le,pcm_s16be,pcm_s24le,pcm_s32le,pcm_f32le,pcm_u8,pcm_alaw,pcm_mulaw,adpcm_ima_wav,adpcm_ms,aac_at \ --enable-encoder=h264_videotoolbox,aac_at \ --enable-bsf=aac_adtstoasc,mpeg4_unpack_bframes,vp9_superframe_split,extract_extradata make && make install (The simulator and Mac targets use their own SDK and -target in the same places.) Then it links FFmpeg's five libraries into one dynamic library, as a framework: clang -dynamiclib -target arm64-apple-ios18.0 -isysroot \ -install_name @rpath/FFmpeg.framework/FFmpeg -compatibility_version 9.0 -current_version 9.0.2 -Wl,-all_load \ libavformat.a libavcodec.a libswresample.a libswscale.a libavutil.a \ -framework VideoToolbox -framework AudioToolbox -framework CoreMedia -framework CoreVideo -framework CoreFoundation \ -lz -o FFmpeg.framework/FFmpeg strip -x FFmpeg.framework/FFmpeg and puts beside it an Info.plist (bundle id com.samneon.veyro3.ffmpeg), Apple's privacy manifest and this licence (LICENSE.txt). Only the iPhone framework goes into the app, in its Frameworks folder (Frameworks/FFmpeg.framework). REPLACING IT ------------ The app loads FFmpeg from its own framework at run time, so it can be swapped for one you build yourself, changed as you like: build it the same way, keep the install name (@rpath/FFmpeg.framework/FFmpeg) and FFmpeg 9.0's public functions in libavformat, libavcodec, libswscale, libswresample and libavutil, put it in place of FFmpeg.framework in the app's Frameworks folder, and sign the app again. Questions, or to have this source sent to you: support@jomboai.com This folder: https://jomboai.com/source/ffmpeg/ ยท The page about it: https://jomboai.com/open-source