Swift Video Framework for Linux, macOS, and iOS/iPadOS
Video streaming and processing framework for Linux, macOS, and iOS/iPadOS/tvOS. Swift 5.1+ because I'm just opening this up and I really don't feel like dealing with older versions of Swift.
For now, check the Examples directory for some hints about how to use this framework. I promise I will be creating documentation to clarify how it all fits together and how you can do useful, interesting things with this framework.
.package(url: "https://github.com/unpause-live/SwiftVideo.git", from: "0.2.0")to your package dependencies
SwiftVideo_Baredepending on whether or not you wish to build with FFmpeg and Freetype support.
You can use this project in Xcode for iOS as a Swift Package as of 0.2.0.
SwiftVideo_Bareproduct when prompted. This will build SwiftVideo without FFmpeg and Freetype. If you have built those libraries for iOS and wish to use them with SwiftVideo, choose the
Sources/SwiftVideo/kernels.metalin your project directly so that they are included. This will be changed when Swift 5.3 is released.
FFmpeg support is thanks to https://github.com/sunlubo/SwiftFFmpeg