Skip to content

Commit a7cddd8

Browse files
committed
update
1 parent 10df6ac commit a7cddd8

4 files changed

Lines changed: 39 additions & 23 deletions

File tree

Demo/Demo.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.resolved

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -42,25 +42,6 @@ let package = Package(
4242
]
4343
)
4444

45-
var ffmpegKitPath = FileManager.default.currentDirectoryPath + "/FFmpegKit"
46-
if !FileManager.default.fileExists(atPath: ffmpegKitPath) {
47-
ffmpegKitPath = FileManager.default.currentDirectoryPath + "/../FFmpegKit"
48-
}
49-
50-
if !FileManager.default.fileExists(atPath: ffmpegKitPath), let url = URL(string: #file) {
51-
let path = url.deletingLastPathComponent().path
52-
// 解决用xcode引入spm的时候,依赖关系出错的问题
53-
if !path.contains("/checkouts/") {
54-
ffmpegKitPath = path + "/../FFmpegKit"
55-
}
56-
}
57-
58-
if FileManager.default.fileExists(atPath: ffmpegKitPath + "/Package.swift") {
59-
package.dependencies += [
60-
.package(path: ffmpegKitPath),
61-
]
62-
} else {
63-
package.dependencies += [
64-
.package(url: "https://github.com/kingslay/FFmpegKit.git", from: "6.1.3"),
65-
]
66-
}
45+
package.dependencies += [
46+
.package(url: "https://github.com/kingslay/FFmpegKit.git", from: "6.1.3"),
47+
]

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Some features of the LGPL version require a one-time payment, which I have used
2727
|Dolby AC-4|||
2828
|Swift Concurrency|||
2929
|AV1 hardware decoding|||
30+
|Word-by-word subtitles|||
3031
|All demuxers, All decoders|||
3132
|Use System Caption Appearance|||
3233
|Record video clips at any time|||
@@ -41,10 +42,11 @@ Some features of the LGPL version require a one-time payment, which I have used
4142
|Full display of ass subtitles effect(Render as image using libass)|||
4243
|FFmpeg version|8.0.1|6.1.0|
4344
|Video upscaling |💰||
45+
|Precache data to Hard Drive|💰||
46+
|Video switching with zero delay|💰||
4447
|Dovi P5 displays HDR (not overheating)|💰||
4548
|Live streaming supports rewind viewing|💰||
4649
|ISO Blu-ray disc playback on all Apple platforms|💰||
47-
|Cache data to Hard Drive,Preload data to Hard Drive|💰||
4850
|Simultaneous playback of separate audio and video URLs|💰||
4951
|Offline AI real-time subtitle generation and translation|💰||
5052
|Play videos in a small window in the App (resumable, supports macOS、iOS and tvOS)|💰||
@@ -339,6 +341,11 @@ Your user icon or company logo shows up this with a link to your home page.
339341
|[pateltejas](https://github.com/pateltejas)||
340342
|[ewanl2001](https://github.com/ewanl2001)||
341343
|[themisterholliday](https://github.com/themisterholliday)||
344+
|[JulienDev](https://github.com/JulienDev)||
345+
|[Sheinices](https://github.com/Sheinices)||
346+
|[Etheirystech](https://github.com/Etheirystech)||
347+
|[loicleser](https://github.com/loicleser)||
348+
342349

343350
Thanks to [nightfall708](https://github.com/nightfall708) for sponsoring a mac mini
344351

0 commit comments

Comments
 (0)