flutter_compress library
Classes
- CancellationToken
- A cancellation handle for a single compression job.
- CompressionEstimate
- A pre-flight estimate produced without actually encoding.
- CompressionProgress
- Live progress event streamed during compression.
- FlutterCompress
- High-level, app-facing API for video compression.
- TrimRange
- A trim window, in milliseconds from the start of the source.
- VideoCompressConfig
- Full compression request.
- VideoCompressResult
- Result of a completed compression.
- VideoInfo
- Metadata about a source (or output) video.
Enums
- CompressQuality
- Convenience quality tiers. Used only when neither VideoCompressConfig.targetSizeMB nor VideoCompressConfig.videoBitrateKbps is provided.
- DimensionAlignment
- How to reconcile output dimensions with encoder requirements.
- VideoCodec
- Video codec to request for the output stream.
Exceptions / Errors
- VideoCompressCancelledException
- Thrown when a job is cancelled via FlutterCompress.cancel.
- VideoCompressException
- Thrown when a compression job fails on the native side.