0 purchases
video kit
VideoKit #
VideoKit is a Dart package for manipulating video files using FFmpeg and FFprobe commands. It provides a variety of features such as muting, trimming, splitting, compressing, and retrieving video information.
Features #
Mute video
Trim video
Get video duration
Split video
Compress video
Get video information
Getting started #
This package supports both Main and LTS version of the FFmpeg implementation.
Main Release
LTS Release
Android API Level
24
16
Android Camera Access
Yes
-
Android Architectures
arm-v7a-neonarm64-v8ax86x86-64
arm-v7aarm-v7a-neonarm64-v8ax86x86-64
iOS Min SDK
12.1
10
iOS Architectures
arm64arm64-simulatorarm64-mac-catalystx86-64x86-64-mac-catalyst
armv7arm64i386x86-64
To use VideoKit in your Dart project, add it to your pubspec.yaml file:
dependencies:
videokit: ^1.0.0
Then, run flutter pub get to install the package.
Usage
Here's a quick example of how to use VideoKit:
// Mute a video
await VideoKit.muteVideo('input_video.mp4');
// Trim a video
await VideoKit.trimVideo('input_video.mp4', 10, 5); // Trims 5 seconds starting from the 10th second
// Get video information
var videoInfo = await VideoKit.getVideoInfo('input_video.mp4');
print('Video duration: ${videoInfo.duration} seconds');
// Compress a video
await VideoKit.compressVideo('input_video.mp4', 1000); // Compress with a bitrate of 1000 kbps
copied to clipboard
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.