Convert between Video and Image Frames
.package(url: "https://github.com/heestand-xyz/VideoFrames", from: "0.1.0")
func convertVideoToFrames(from url: URL, force: Bool = false) async throws -> [_Image]
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
link |
Stars: 1 |
Last commit: 5 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics