Latest 3.0.0
Homepage https://github.com/smartwalle/KIFFmpeg
License MIT
Platforms ios 7.0
Frameworks AVFoundation, CoreMedia, VideoToolbox
Authors

说明

FFmpeg 编译脚本来源于:https://github.com/kewlbear/FFmpeg-iOS-build-script, 感谢原作者。

安装

pod ‘KIFFmpeg’

FFmpeg iOS build script

Build Status
Flattr this git repo

This is a shell script to build FFmpeg libraries for iOS and tvOS apps.

Tested with:

  • FFmpeg 3.0
  • Xcode 7.2.1

Requirements

Usage

Use build-ffmpeg-tvos.sh for tvOS.

  • To build everything:

    ./build-ffmpeg.sh
  • To build arm64 libraries:

    ./build-ffmpeg.sh arm64
  • To build fat libraries for armv7 and x86_64 (64-bit simulator):

    ./build-ffmpeg.sh armv7 x86_64
  • To build fat libraries from separately built thin libraries:

    ./build-ffmpeg.sh lipo

Download

You can download a binary for FFmpeg 3.0 release at https://downloads.sourceforge.net/project/ffmpeg-ios/ffmpeg-ios-master.tar.bz2

External libraries

You should link your app with

  • libz.dylib
  • libbz2.dylib
  • libiconv.dylib

Influences

Latest podspec

{
    "name": "KIFFmpeg",
    "version": "3.0.0",
    "summary": "FFmpeg for iOS",
    "description": "FFmpeg for iOS.",
    "homepage": "https://github.com/smartwalle/KIFFmpeg",
    "license": "MIT",
    "authors": {
        "SmartWalle": "[email protected]"
    },
    "platforms": {
        "ios": "7.0"
    },
    "source": {
        "git": "https://github.com/smartwalle/KIFFmpeg.git",
        "tag": "3.0.0"
    },
    "ios": {
        "source_files": "FFmpeg-iOS/include/**/*.h",
        "public_header_files": "FFmpeg-iOS/include/**/*.h",
        "preserve_paths": "FFmpeg-iOS/lib/*.a",
        "vendored_libraries": "FFmpeg-iOS/lib/*.a"
    },
    "frameworks": [
        "AVFoundation",
        "CoreMedia",
        "VideoToolbox"
    ],
    "libraries": [
        "iconv",
        "z",
        "bz2"
    ],
    "requires_arc": false
}

Pin It on Pinterest

Share This