Support for Arm64 FFmpeg under Mac compilation
Starting in January 2015, Apple began to require all new AppStore applications to support arm64, and the previous ffmpeg would be rejected if it was not compiled to support the arm64 version. The compilation script is given here, and the test passes under ffmpeg2.5.2. This time only compiles the function which supports h264 decoding, needs the others to change the compile command by itself
Script:
Http://www.mingjianhua.com/post/buildffmpegforarm64.html
Usage
If you need to support both ARMV7 and arm64, use the following command
./build armv7 arm64
Then, merge through the./merge.sh Script
If there is no local yasm, it may be reported missing yasm error, to download the yasm under the Mac, download it and put it under the Usr/bin
Http://www.mingjianhua.com/post/yasm-1.2.0formac.html
Merge scripts:
Http://www.mingjianhua.com/post/buildffmpegforarm64.html
With the merge script, if the report cannot find a directory error, manually build the Universal/lib directory
Support for Arm64 FFmpeg under Mac compilation