VideoOptions class
Video export configuration if the editor supports video editing.
Constructors
- VideoOptions({double? bitRate, VideoCodec? codec, VideoFormat? format, double? quality, bool? segments})
- Creates new VideoOptions.
Properties
- bitRate → double?
-
The bit rate in bits per second to use when exporting to VideoCodec.H264.
final
- codec → VideoCodec?
-
The video codec to use for the exported video.
final
- format → VideoFormat?
-
The video container format to export.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- quality → double?
-
The compression quality to use when exporting to VideoCodec.hevc.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- segments → bool?
-
Whether the video editor should include the video segments of the
composition in the
VideoEditorResult
. Please note: If enabled, you need to release the result viaVideoEditorResult.release()
after processing the video segments in order to prevent memory leaks.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited