VideoCompressionOptions class

Video compression options

Inheritance

Constructors

VideoCompressionOptions({String? outputFormat, bool keepMetadata = true, Map<String, dynamic>? customOptions, String quality = 'medium', int? maxWidth, int? maxHeight, int? bitrate, String? videoCodec, String? audioCodec, double? frameRate, bool progressive = false})
const

Properties

audioCodec String?
final
bitrate int?
final
customOptions Map<String, dynamic>?
finalinherited
frameRate double?
final
hashCode int
The hash code for this object.
no setterinherited
keepMetadata bool
finalinherited
maxHeight int?
final
maxWidth int?
final
outputFormat String?
finalinherited
progressive bool
final
quality String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
videoCodec String?
final

Methods

copyWith({String? outputFormat, bool? keepMetadata, Map<String, dynamic>? customOptions, String? quality, int? maxWidth, int? maxHeight, int? bitrate, String? videoCodec, String? audioCodec, double? frameRate, bool? progressive}) VideoCompressionOptions
Create a copy with updated values
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
Convert to Map
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited