-
-
Notifications
You must be signed in to change notification settings - Fork 796
tvos.sh
tvos.sh
builds FFmpeg and MobileFFmpeg for tvOS platform.
By default two architectures (arm64 and x86_64) are built without any external libraries enabled. Please note that GPL libraries (external libraries with GPL license) need --enable-gpl
flag to be set explicitly. When compilation ends universal fat binaries and tvOS frameworks are created with enabled architectures inside.
Options can be used to disable architectures and/or enable external libraries.
Usage: ./tvos.sh [OPTION]...
Options:
-h, --help display this help and exit
-V, --version display version information and exit
-d, --debug build with debug information
-s, --speed optimize for speed instead of size
-l, --lts build lts packages to support sdk 9.2+ devices
-f, --force ignore warnings
Licensing options:
--enable-gpl allow use of GPL libraries, resulting libs will be licensed under GPLv3.0 [no]
Platforms:
--disable-arm64 do not build arm64 platform [yes]
--disable-x86-64 do not build x86-64 platform [yes]
Libraries:
--full enables all non-GPL external libraries
--enable-tvos-audiotoolbox build with built-in Apple AudioToolbox support[no]
--enable-tvos-coreimage build with built-in Apple CoreImage support[no]
--enable-tvos-bzip2 build with built-in bzip2 support[no]
--enable-tvos-videotoolbox build with built-in Apple VideoToolbox support[no]
--enable-tvos-zlib build with built-in zlib [no]
--enable-chromaprint build with chromaprint [no]
--enable-fontconfig build with fontconfig [no]
--enable-freetype build with freetype [no]
--enable-fribidi build with fribidi [no]
--enable-gmp build with gmp [no]
--enable-gnutls build with gnutls [no]
--enable-kvazaar build with kvazaar [no]
--enable-lame build with lame [no]
--enable-libaom build with libaom [no]
--enable-libass build with libass [no]
--enable-libiconv build with libiconv [no]
--enable-libilbc build with libilbc [no]
--enable-libtheora build with libtheora [no]
--enable-libvorbis build with libvorbis [no]
--enable-libvpx build with libvpx [no]
--enable-libwebp build with libwebp [no]
--enable-libxml2 build with libxml2 [no]
--enable-opencore-amr build with opencore-amr [no]
--enable-openh264 build with openh264 [no]
--enable-opus build with opus [no]
--enable-sdl build with sdl [no]
--enable-shine build with shine [no]
--enable-snappy build with snappy [no]
--enable-soxr build with soxr [no]
--enable-speex build with speex [no]
--enable-tesseract build with tesseract [no]
--enable-twolame build with twolame [no]
--enable-wavpack build with wavpack [no]
GPL libraries:
--enable-libvidstab build with libvidstab [no]
--enable-x264 build with x264 [no]
--enable-x265 build with x265 [no]
--enable-xvidcore build with xvidcore [no]
Advanced options:
--reconf-LIBRARY run autoreconf before building LIBRARY [no]
--rebuild-LIBRARY build LIBRARY even it is detected as already built [no]
tvos.sh
is called without any options. FFmpeg is built for both platforms without any external library support.
tvos.sh
is called with --full
option. FFmpeg is built for both platforms with all external libraries enabled. Libraries with GPL license are not included in this option.
tvos.sh
is called with a series of --enable-*
, --disable-*
, --reconf-*
and --rebuild-*
options. Options define which platforms and libraries will be built, which libraries will be reconfigured or rebuilt.
Copyright (c) 2018-2021 MobileFFmpeg