ComposeVideoRequest constructor
ComposeVideoRequest({
- String? taskId,
- required String inputVideoPath,
- String? outputVideoPath,
- Uint8List? watermarkImage,
- String? text,
- Anchor anchor = Anchor.bottomRight,
- double margin = 16.0,
- MeasureUnit marginUnit = MeasureUnit.px,
- double offsetX = 0.0,
- double offsetY = 0.0,
- MeasureUnit offsetUnit = MeasureUnit.px,
- double widthPercent = 0.18,
- double opacity = 0.6,
- VideoCodec codec = VideoCodec.h264,
- int? bitrateBps,
- double? maxFps,
- int? maxLongSide,
Implementation
ComposeVideoRequest({
this.taskId,
required this.inputVideoPath,
this.outputVideoPath,
this.watermarkImage,
this.text,
this.anchor = Anchor.bottomRight,
this.margin = 16.0,
this.marginUnit = MeasureUnit.px,
this.offsetX = 0.0,
this.offsetY = 0.0,
this.offsetUnit = MeasureUnit.px,
this.widthPercent = 0.18,
this.opacity = 0.6,
this.codec = VideoCodec.h264,
this.bitrateBps,
this.maxFps,
this.maxLongSide,
});