

Please note that this function can not work on relative paths, you need to provide full file system path. Register your own fonts by specifying a custom fonts directory, so they are available to use in FFmpeg filters. 2.3.1 AndroidĮdit android/adle file and define package name in ext.reactNativeFFmpegPackage variable. It is possible to enable other installed packages using the following steps. Installation of react-native-ffmpeg using instructions in 2.1 and 2.2 enables the default package, which is based on https package. Below you can see which libraries are enabled in each

Named according to the external libraries included in them. React-native-ffmpeg provides eight packages that include different sets of external libraries. To encode vp8 or vp9 videos, you needĪ react-native-ffmpeg package with libvpx inside. To encode an h264 video, you need to install a package with x264 inside. You have to install a react-native-ffmpeg package that has at least one of them inside. For example, to encode an mp3 file you need lame or To be enabled in order to encode specific formats/codecs. However, there are certain external libraries that needs react-native link breaks Cocoapods dependencies.įfmpeg includes built-in encoders for some popular formats. On React Native './node_modules/react-native-ffmpeg/react-native-ffmpeg.podspec'ĭO NOT USE react-native link on iOS.

Zlib and MediaCodec Android system librariesīzip2, iconv, libuuid, zlib system libraries and AudioToolbox, VideoToolbox, AVFoundation system frameworks FFmpeg v4.1, v4.2, v4.3 and v4.4-dev releasesĪrm-v7a, arm-v7a-neon, arm64-v8a, x86 and x86_64 architectures on AndroidĪrmv7, armv7s, arm64, arm64e, i386 and x86_64 architectures on iOSįontconfig, freetype, fribidi, gmp, gnutls, kvazaar, lame, libaom, libass, libiconv, libilbc, libtheora, libvorbis, libvpx, libwebp, libxml2, opencore-amr, opus, shine, snappy, soxr, speex, twolame, vo-amrwbenc, wavpack
