Build FFmpeg with xCode 5

后端 未结 2 1352
旧时难觅i
旧时难觅i 2020-12-06 23:58

Does anyone know how to compile FFmpeg with xCode 5?

My configure part:

./configure --disable-doc --disable-ffmpeg --disable-ffplay --disabl

相关标签:
2条回答
  • 2020-12-07 00:28

    https://github.com/ciphor/ffmpeg4ios

    this probably is what you looking for. Get their build script and study. Change the SDK to your 7.0. It'll compile, at least for me on my Xcode5.

    UPDATE: search for ffmpeg4ios.

    0 讨论(0)
  • 2020-12-07 00:36
    ./configure --prefix=armv7s --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver --enable-avresample --enable-cross-compile --sysroot="/Applications/XCode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk" --target-os=darwin --cc="/Applications/XCode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang" --extra-cflags="-arch armv7s -mfpu=neon -miphoneos-version-min=7.0" --extra-ldflags="-arch armv7s -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.0.sdk -miphoneos-version-min=7.0" --arch=arm --cpu=cortex-a9 --enable-pic
    

    EDIT: Download my script and run from: Installing ffmpeg ios libraries armv7, armv7s, i386 and universal on Mac with 10.8

    0 讨论(0)
提交回复
热议问题