Skip to content

Latest commit

Β 

History

History
55 lines (42 loc) Β· 1.21 KB

File metadata and controls

55 lines (42 loc) Β· 1.21 KB

FFmpegKitSPM

A Swift Package that wraps FFmpegKit and its related binary frameworks using .xcframework files for easy integration via Swift Package Manager (SPM).

πŸ“¦ Included Frameworks

This package includes the following .xcframework binaries:

  • ffmpegkit
  • libavcodec
  • libavdevice
  • libavfilter
  • libavformat
  • libavutil
  • libswresample
  • libswscale

πŸ“ Folder Structure

FFmpegKitSPM/ β”œβ”€β”€ Package.swift β”œβ”€β”€ README.md β”œβ”€β”€ xcframeworks/ β”‚ β”œβ”€β”€ ffmpegkit.xcframework β”‚ β”œβ”€β”€ libavcodec.xcframework β”‚ β”œβ”€β”€ libavdevice.xcframework β”‚ β”œβ”€β”€ libavfilter.xcframework β”‚ β”œβ”€β”€ libavformat.xcframework β”‚ β”œβ”€β”€ libavutil.xcframework β”‚ β”œβ”€β”€ libswresample.xcframework β”‚ └── libswscale.xcframework └── Sources/ └── FFmpegWrapper/ └── dummy.swift

βœ… Requirements

  • Swift 5.6 or later
  • Xcode 13 or later
  • iOS 12.0+ / macOS 10.15+

🧩 Installation

  1. Push this repository to GitHub (or another Git host).
  2. In your Xcode project:
    • Go to File > Add Packages...
    • Enter the URL to this repository.
    • Select a version/tag (e.g., 1.0.0)

πŸ“š Usage

Import the package wherever needed:

import ffmpegkit