Skip to content
Projects

About

FFmpegKit is a collection of tools to use FFmpeg mpv library in iOS, macOS, tvOS, visionOS applications.

Web & App Development

How these counts are measured

What you can do

  • Scripts to build FFmpeg、MPV native libraries
  • Run ffmpeg ffprobe in code

Measured star growth

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
Collecting history

Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.

README.md

Original

FFmpegKit GitHub release CocoaPods

FFmpegKit is a collection of tools to use FFmpeg in iOS, macOS, tvOS, xrOS, visionOS applications.

Swift Package Manager

dependencies: [
    .package(url: "https://github.com/kingslay/FFmpegKit.git", .branch("main"))
]

License

FFmpegKit uses the GPL license.

Additionally, there is a paid version that adopts the LGPL license (contact us).

LGPL version Features

  • Scripts to build FFmpeg、MPV native libraries
  • Run ffmpeg ffprobe in code

Build Scripts

swift package BuildFFmpeg -h
swift package --disable-sandbox BuildFFmpeg

swift run ffplay
swift run ffmpegCmd
swift run ffprobeCmd

Run ffmpeg ffprobe in code

var arguments = ["ffmpeg", "-i", "file1.mp4", "-c:v", "mpeg4", "file2.mp4"]
var argv = arguments.map {
    UnsafeMutablePointer(mutating: ($0 as NSString).utf8String)
}
ffmpeg_execute(Int32(arguments.count), &argv)

arguments = ["ffprobe", "-h"]
argv = arguments.map {
    UnsafeMutablePointer(mutating: ($0 as NSString).utf8String)
}
ffprobe_execute(Int32(arguments.count), &argv)

Explore related projects

Loading…