Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
calculateCompressionStats({required String inputPath, required String outputPath})
→ Future<CompressionStats>
-
Calculate compression stats from file paths
-
clearCache()
→ Future<void>
-
Clear cache
-
compressVideo({required String inputPath, int bitrate = 2000000, int? width, int? height, bool preserveResolution = true, bool avoidLargerOutput = true, VideoSetting videoSetting = VideoSetting.h264, AudioSetting audioSetting = AudioSetting.aac, int audioBitrate = 128000, int audioSampleRate = 44100, int audioChannels = 2, bool printingInfo = false, dynamic onProgress(double progress)?})
→ Future<String?>
-
Compress video
-
printVideoInfo(String path)
→ Future<void>
-
Print video size and resolution