Swiftpack.co - heestand-xyz/VideoFrames as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by heestand-xyz.
heestand-xyz/VideoFrames 1.0.0
Convert between Video and Image Frames
⭐️ 1
🕓 8 weeks ago
iOS macOS tvOS
.package(url: "https://github.com/heestand-xyz/VideoFrames.git", from: "1.0.0")

VideoFrames

Convert between Video and Image Frames

Install

.package(url: "https://github.com/heestand-xyz/VideoFrames", from: "0.1.0")

Example

func convertVideoToFrames(from url: URL, force: Bool = false) async throws -> [_Image]

CLI

To use the command line tools add VideoToFrames or FramesToVideo to /usr/local/bin/

$ VideoToFrames ~/Desktop/video.mov ~/Desktop/video_frames/ --format jpg --quality 0.8 
$ FramesToVideo ~/Desktop/video_frames ~/Desktop/video.mov --fps 30 --kbps 1000 

GitHub

link
Stars: 1
Last commit: 5 weeks ago
jonrohan Something's broken? Yell at me @ptrpavlik. Praise and feedback (and money) is also welcome.

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics