The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.
Rust ffmpegfree-video-editormodel-context-protocolnon-linear-editoroffline-firstopen-source-video-editorself-hostedvideo-editingvideo-editing-automationvideo-editing-softwarevideo-editing-toolsvideo-editorvoice-cloningyoutube-automationyoutube-shorts
Pin down what FFmpeg on iOS links
Jareereba9fd9e3b31
diff --git a/engine/crates/concat-media/build.rs b/engine/crates/concat-media/build.rsindex f190d4e8..b3fc3846 100644--- a/engine/crates/concat-media/build.rs+++ b/engine/crates/concat-media/build.rs@@ -19,8 +19,9 @@ fn main() {println!("cargo:rustc-link-lib={lib}");}}- // VideoToolbox and AudioToolbox, the hardware codecs, and the- // frameworks they hand buffers through.+ // VideoToolbox and AudioToolbox, the hardware codecs, the+ // frameworks they hand buffers through, and Security for the TLS+ // behind https."ios" => {for lib in ["z", "m"] {println!("cargo:rustc-link-lib={lib}");@@ -32,6 +33,7 @@ fn main() {"CoreVideo","CoreFoundation","Foundation",+ "Security",] {println!("cargo:rustc-link-lib=framework={framework}");}diff --git a/engine/scripts/ffmpeg-mobile.sh b/engine/scripts/ffmpeg-mobile.shindex 3bc9781d..4b4acd90 100755--- a/engine/scripts/ffmpeg-mobile.sh+++ b/engine/scripts/ffmpeg-mobile.sh@@ -54,8 +54,9 @@ common=(--enable-static --disable-shared --enable-pic--disable-programs --disable-doc--disable-debug- # Nothing external. zlib is part of both platforms' SDKs.- --enable-zlib+ # Nothing external. zlib is part of both platforms' SDKs; bzip2 and+ # lzma are on one and not the other, so neither is taken.+ --enable-zlib --disable-bzlib --disable-lzma--disable-iconv --disable-sdl2 --disable-xlib --disable-libxcb--disable-vulkan --disable-opencl --disable-vaapi --disable-vdpau)@@ -97,6 +98,7 @@ case "$target" in--ar="$(xcrun --sdk $sdk -f ar)" --nm="$(xcrun --sdk $sdk -f nm)" \--ranlib="$(xcrun --sdk $sdk -f ranlib)" --strip="$(xcrun --sdk $sdk -f strip)" \--enable-videotoolbox --enable-audiotoolbox \+ --disable-avfoundation --disable-coreimage \--extra-cflags="-arch arm64 $min_flag" \--extra-ldflags="-arch arm64 $min_flag");;