iOS-ijkPlayer集成問題

問題1

./compile-ffmpeg.sh all 執行完后報錯如圖:


If you think configure made a mistake, make sure you are using the latest

version from Git.? If the latest version fails, report the problem to the

ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.freenode.net.

Include the log file "ffbuild/config.log" produced by configure as this will help

solve the problem.


解決辦法:

輸入:sudo xcode-select --switch /Applications/Xcode.app

問題2

如下圖:

warning:?optimization flag '-fomit-frame-pointer' is not supported for target 'armv7' [-Wignored-optimization-argument]

AS libavcodec/arm/aacpsdsp_neon.o

./libavutil/arm/asm.S:50:9:?error:?unknown directive

? ? ? ? .arch armv7-a

? ? ? ? ^

make: *** [libavcodec/arm/aacpsdsp_neon.o] Error 1

make: *** Waiting for unfinished jobs....

解決辦法:


打開這個 compile-ffmpeg.sh ?文件

第24行 改為: FF_ALL_ARCHS_IOS8_SDK="arm64 i386 x86_64"

第120行 改為: if [ "$FF_TARGET" = "armv7s" -o "$FF_TARGET" = "arm64" ]; then

第159行 改為: echo " compile-ffmpeg.sh arm64|i386|x86_64"

最后編輯于
?著作權歸作者所有,轉載或內容合作請聯系作者
平臺聲明:文章內容(如有圖片或視頻亦包括在內)由作者上傳并發布,文章內容僅代表作者本人觀點,簡書系信息發布平臺,僅提供信息存儲服務。