video_compress library

The API of video_compress 3.1.4, so moving over is a change of imports:

import 'package:video_compress_next/video_compress.dart';

New code can use package:video_compress_next/video_compress_next.dart, which adds typed errors, per-task progress and cancel, HEVC and more.

Classes

IVideoCompress
The video_compress plugin object, on top of VideoCompressor.
MediaInfo
The result type of video_compress, with the same fields and JSON keys.
ObservableBuilder<T>
The progress stream holder of video_compress. One listener at a time: call Subscription.unsubscribe before subscribing again.
Subscription
Returned by ObservableBuilder.subscribe.

Enums

VideoQuality
The quality levels of video_compress, with the same names and order.

Extensions

Compress on IVideoCompress
The methods of video_compress.
VideoQualityOptions on VideoQuality
The CompressOptions of each VideoQuality.

Properties

VideoCompress → IVideoCompress
The same global as video_compress: VideoCompress.compressVideo(...).
no setter