-
-
Notifications
You must be signed in to change notification settings - Fork 796
Importing Frameworks
There are two options to use mobile-ffmpeg
frameworks in an iOS / tvOS project.
The first and official way is to use Cocoapods
. Adding mobile-ffmpeg
dependency to the project Podfile
and running pod install
is enough to complete the installation. Cocoapods
will download necessary libraries and update project files for you.
If Cocoapods
is not available or it is not possible to use Cocoapods
on your project, then you can install IOS
frameworks yourself by applying the following steps.
1. Download an iOS framework
package from Releases page. iOS framework
releases are files ending with ios-framework
postfix, e.g., mobile-ffmpeg-min-3.1-ios-framework.zip
.
2. Extract zip package in a temporary location and copy all frameworks (directories with .framework
extension) into your project folder.
3. Open your project in Xcode
and drag & drop all frameworks from Finder's project folder into your project window inside Xcode
.
4. Add libbz2
, libc++
, libz
, CoreMotion
1, GameController
1, VideoToolbox
2 system libraries/frameworks to Build Phases
-> Link Binary With Libraries
section.
1 - Required by full
and full-gpl
packages
2 - Required by v3.0
or later
Copyright (c) 2018-2021 MobileFFmpeg