./macos.sh --help./macos.sh --xcframework \ --enable-macos-audiotoolbox \ --enable-macos-avfoundation \ --enable-macos-bzip2 \ --enable-macos-coreimage \ --enable-macos-libiconv \ --enable-macos-opencl \ --enable-macos-opengl \ --enable-macos-videotoolbox \ --enable-macos-zlib \ --enable-libvorbis \ --enable-libtheora \ --enable-opus \ --enable-opencore-amr \ --enable-libvpx \ --enable-speex \ --enable-lame
'macos.sh' builds FFmpegKitfor macOS platform. By default two architectures (arm64 and x86-64) are enabled without any external libraries. Options can be used to disable architectures and/orenable external libraries. Please note that GPL libraries (external libraries with GPL license) need --enable-gpl flag to beset explicitly. When compilation ends, libraries are created under the prebuilt folder.Usage: ./macos.sh [OPTION]...Specify environment variables as VARIABLE=VALUE to override default build options.Options: -h, --helpdisplay thishelp andexit -v, --versiondisplay version information andexit -d, --debugbuild with debug information -s, --speedoptimizefor speed instead of size -f, --forceignore warnings -x, --xcframeworkbuild xcframework bundles instead of framework bundles -l, --ltsbuild lts packages to support sdk 10.12+ devices --target=macos sdk versionoverride minimum deployment target [10.15]Licensing options: --enable-gplallow building GPL libraries, created libs will be licensed under the GPLv3.0 [no]Architectures: --disable-arm64do not build arm64 architecture [yes] --disable-x86-64do not build x86-64 architecture [yes]Libraries: --fullenables all non-GPL external libraries --enable-macos-audiotoolboxbuild with built-in Apple AudioToolbox support [no] --enable-macos-avfoundationbuild with built-in Apple AVFoundation support [no] --enable-macos-bzip2build with built-in bzip2 support [no] --enable-macos-videotoolboxbuild with built-in Apple VideoToolbox support [no] --enable-macos-zlibbuild with built-in zlib [no] --enable-macos-libiconvbuild with built-in libiconv [no] --enable-macos-coreimagebuild with built-in Apple CoreImage support [no] --enable-macos-openclbuild with built-in OpenCL [no] --enable-macos-openglbuild with built-in OpenGL [no] --enable-chromaprintbuild with chromaprint [no] --enable-dav1dbuild with dav1d [no] --enable-fontconfigbuild with fontconfig [no] --enable-freetypebuild with freetype [no] --enable-fribidibuild with fribidi [no] --enable-gmpbuild with gmp [no] --enable-gnutlsbuild with gnutls [no] --enable-kvazaarbuild with kvazaar [no] --enable-lamebuild with lame [no] --enable-libaombuild with libaom [no] --enable-libassbuild with libass [no] --enable-libilbcbuild with libilbc [no] --enable-libtheorabuild with libtheora [no] --enable-libvorbisbuild with libvorbis [no] --enable-libvpxbuild with libvpx [no] --enable-libwebpbuild with libwebp [no] --enable-libxml2build with libxml2 [no] --enable-opencore-amrbuild with opencore-amr [no] --enable-openh264build with openh264 [no] --enable-opensslbuild with openssl [no] --enable-opusbuild with opus [no] --enable-sdlbuild with sdl [no] --enable-shinebuild with shine [no] --enable-snappybuild with snappy [no] --enable-soxrbuild with soxr [no] --enable-speexbuild with speex [no] --enable-srtbuild with srt [no] --enable-tesseractbuild with tesseract [no] --enable-twolamebuild with twolame [no] --enable-vo-amrwbencbuild with vo-amrwbenc [no] --enable-zimgbuild with zimg [no]GPL libraries: --enable-libvidstabbuild with libvidstab [no] --enable-rubberbandbuild with rubber band [no] --enable-x264build with x264 [no] --enable-x265build with x265 [no] --enable-xvidcorebuild with xvidcore [no]Custom libraries: --enable-custom-library-[n]-name=valuename of the custom library [] --enable-custom-library-[n]-repo=valuegit repository of thesource code [] --enable-custom-library-[n]-repo-commit=valuegit commit to download thesource code from [] --enable-custom-library-[n]-repo-tag=valuegit tag to download thesource code from [] --enable-custom-library-[n]-package-config-file-name=valuepackage config file installed by the build script [] --enable-custom-library-[n]-ffmpeg-enable-flag=valuelibrary name usedin ffmpeg configure script toenable the library [] --enable-custom-library-[n]-license-file=valuelicence file path relative to the librarysource folder []Advanced options: --reconf-LIBRARYrun autoreconf before building LIBRARY [no] --redownload-LIBRARYdownload LIBRARY evenif it is detected as already downloaded [no] --rebuild-LIBRARYbuild LIBRARY evenif it is detected as already built [no] --no-frameworkdo not build framework bundles [no]