composeVideo method
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,
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.');
}