video_toolbox 0.0.1 copy "video_toolbox: ^0.0.1" to clipboard
video_toolbox: ^0.0.1 copied to clipboard

PlatformmacOS

video compression using the Video Toolbox API

video_toolbox #

A Dart package that provides video compression using the Video Toolbox API.

Usage #

Import the package #

import 'package:video_toolbox/video_toolbox.dart';
copied to clipboard

Compress a video #

void main() async {
  final videoToolbox = VideoToolbox();

  await videoToolbox.compressVideo(
    inputPath: "/path/to/input/video.mp4",
    outputPath: "/path/to/output/video.mp4",
    destBitRate: 1000000, // in bits per second
    destWidth: 1280,
    destHeight: 720,
  );

  print("Video compression completed.");
}
copied to clipboard
1
likes
150
points
27
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.09 - 2025.03.24

video compression using the Video Toolbox API

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on video_toolbox