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.1.1
Convert between Video and Image Frames
⭐️ 5
🕓 29 weeks ago
iOS macOS tvOS
.package(url: "https://github.com/heestand-xyz/VideoFrames.git", from: "1.1.1")

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: 5
Last commit: 29 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

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