Configure FFmpeg build profiles (Lite vs Default)
masterYou can customize the FFmpeg build to trade off codec support for binary size by switching configuration modules in the config directory before running the compilation scripts.
Option 1: Default (More codecs/formats)
cd config
rm module.sh
ln -s module-default.sh module.sh
cd android/contrib
sh compile-ffmpeg.sh cleanOption 2: Lite with HEVC support (Smaller size, includes HEVC)
cd config
rm module.sh
ln -s module-lite-hevc.sh module.sh
cd android/contrib
sh compile-ffmpeg.sh cleanOption 3: Lite (Smallest size, default)
cd config
rm module.sh
ln -s module-lite.sh module.sh
cd android/contrib
sh compile-ffmpeg.sh clean