composeVideo method

Future<VideoTask> composeVideo({
  1. required String inputVideoPath,
  2. String? outputVideoPath,
  3. Uint8List? watermarkImage,
  4. String? text,
  5. String anchor = 'bottomRight',
  6. double margin = 16.0,
  7. String marginUnit = 'px',
  8. double offsetX = 0.0,
  9. double offsetY = 0.0,
  10. String offsetUnit = 'px',
  11. double widthPercent = 0.18,
  12. double opacity = 0.6,
  13. String codec = 'h264',
  14. int? bitrateBps,
  15. double? maxFps,
  16. int? maxLongSide,
})

Starts composing a watermark over a video file on iOS. Returns a VideoTask that exposes a progress stream and completion future.

Implementation

Future<VideoTask> composeVideo({
  required String inputVideoPath,
  String? outputVideoPath,
  Uint8List? watermarkImage,
  String? text,
  String anchor = 'bottomRight',
  double margin = 16.0,
  String marginUnit = 'px',
  double offsetX = 0.0,
  double offsetY = 0.0,
  String offsetUnit = 'px',
  double widthPercent = 0.18,
  double opacity = 0.6,
  String codec = 'h264',
  int? bitrateBps,
  double? maxFps,
  int? maxLongSide,
}) {
  throw UnimplementedError('composeVideo() has not been implemented.');
}