ComposeVideoRequest constructor

ComposeVideoRequest({
  1. String? taskId,
  2. required String inputVideoPath,
  3. String? outputVideoPath,
  4. Uint8List? watermarkImage,
  5. String? text,
  6. Anchor anchor = Anchor.bottomRight,
  7. double margin = 16.0,
  8. MeasureUnit marginUnit = MeasureUnit.px,
  9. double offsetX = 0.0,
  10. double offsetY = 0.0,
  11. MeasureUnit offsetUnit = MeasureUnit.px,
  12. double widthPercent = 0.18,
  13. double opacity = 0.6,
  14. VideoCodec codec = VideoCodec.h264,
  15. int? bitrateBps,
  16. double? maxFps,
  17. 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,
});