Skip to content
프로젝트

소개

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

웹 및 앱 개발

이 수치를 측정하는 방법

What you can do

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

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
+2
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

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)

관련 프로젝트 살펴보기

불러오는 중…