How can I install latest ffmpeg ios libraries armv7, armv7s, i386 and universal on Mac with 10.8?
相关问题
- Core Data lightweight migration crashes after App
- How can I implement password recovery in an iPhone
- State preservation and restoration strategies with
- “Zero out” sensitive String data in Swift
- Get the NSRange for the visible text after scroll
相关文章
- 现在使用swift开发ios应用好还是swift?
- Handling ffmpeg library interface change when upgr
- How to use a framework build of Python with Anacon
- UITableView dragging distance with UIRefreshContro
- TCC __TCCAccessRequest_block_invoke
- Where does a host app handle NSExtensionContext#co
- Swift - hide pickerView after value selected
- How do you detect key up / key down events from a
After a couple of days I have made step by step instructions for this install:
FFmpeg Build Instructions MAC 10.8 or better
Copy ffmpeg-2.0.tar.bz2 (https://ffmpeg.org/releases/ffmpeg-1.0.7.tar.bz2, https://ffmpeg.org/download.html) and Unzip to Documents folder
Make sure you have the latest Command Line Tools under Xcode >; Preferences >; Downloads >; Components
Install gas-preprocessor
Bug in xcrun starting in version 10.8
open terminal and paste in following command and press enter:
cd to ffmpeg-2 folder and paste in following command and press enter:
To config armv7s library paste in following command and press enter:
To build and install armv7s library paste in following command and press enter:
To config i386 (so simulator will work ) library paste in following command and press enter:
To build and install i386 library paste in following command and press enter:
To make universal library ( which is the library added to xcode ) paste in following command and press enter:
For building ffmpeg iOS libraries you can use this little scripts.
export FFSRC=/path/to/ffmpeg
build_ffmpeg
folder and run:./ios.sh
sdk-ios
folderI needed arm64 support and this script worked for me: https://github.com/kewlbear/FFmpeg-iOS-build-script
Use
for iOS 64-bit and simulator architecture. Then copy the contents in the "fat" directory into your Xcode project.
The only modification I made to the script was uncommenting this line:
to compile the libavresample library.
Edit: It's not working with armv7 and armv7s however, using iOS 7.1 SDK. If I find a solution I'll post here.
Support universal ffmpeg library for iOS7 and XCode5:
Make sure you have the latest Command Line Tools under Xcode >; Preferences >; Downloads >; Components
Install gas-preprocessor
Download my shell script from: https://gist.github.com/m1entus/6983547
sh build-ffmpeg.sh
.