VideoCompressAdvancedConfig class

视频压缩进阶配置

Properties

aggressiveCompression bool?
Enable all aggressive compression settings
finalinherited
audioBitrate int?
Custom audio bitrate in bits per second.
finalinherited
audioChannels int?
Audio channels (1 = mono, 2 = stereo)
finalinherited
audioCodec → VAudioCodec?
Audio codec selection
finalinherited
audioSampleRate int?
Audio sample rate in Hz
finalinherited
autoCorrectOrientation bool?
Auto-correct video orientation (preserves original orientation)
finalinherited
bFrames int?
Number of B-frames for better encoding efficiency (0-16)
finalinherited
brightness double?
Video brightness adjustment (-1.0 to 1.0)
finalinherited
contrast double?
Video contrast adjustment (-1.0 to 1.0)
finalinherited
crf int?
Constant Rate Factor (0-51, lower = better quality)
finalinherited
cropRect → VVideoCropRect?
Optional normalized crop in the displayed, explicitly rotated frame.
finalinherited
customHeight int?
Custom resolution height (must be used with width)
finalinherited
customWidth int?
Custom resolution width (must be used with height)
finalinherited
dimensionHandling → VDimensionHandling?
Dimension alignment handling (null = smart auto-detection)
finalinherited
encodingSpeed → VEncodingSpeed?
Encoding speed vs quality tradeoff
finalinherited
frameRate double?
Target frame rate (FPS)
finalinherited
hardwareAcceleration bool?
Enable hardware acceleration
finalinherited
hashCode int
The hash code for this object.
no setterinherited
keyframeInterval int?
Keyframe interval in seconds (larger = better compression)
finalinherited
monoAudio bool?
Convert audio to mono for smaller file size
finalinherited
noiseReduction bool?
Apply noise reduction preprocessing
finalinherited
reducedFrameRate double?
Automatically reduce frame rate for smaller files
finalinherited
removeAudio bool?
Remove audio track completely
finalinherited
rotation int?
Rotate video (degrees: 0, 90, 180, 270)
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
saturation double?
Video saturation adjustment (-1.0 to 1.0)
finalinherited
trimEndMs int?
Trim video - end time in milliseconds
finalinherited
trimStartMs int?
Trim video - start time in milliseconds
finalinherited
twoPassEncoding bool?
Enable two-pass encoding for better quality
finalinherited
variableBitrate bool?
Enable variable bitrate for better compression efficiency
finalinherited
videoBitrate int?
Custom video bitrate in bits per second (overrides quality preset).
finalinherited
videoCodec → VVideoCodec?
Video codec selection
finalinherited

Methods

isValid() bool
Validates the advanced configuration
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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