RenderManifest constructor

RenderManifest({
  1. required int width,
  2. required int height,
  3. required int fps,
  4. required int frameCount,
  5. required String framesFileName,
  6. required String outputFileName,
  7. required String renderDigest,
  8. required List<String> ffmpegArgs,
  9. List<String>? posterArgs,
  10. String? posterFileName,
})

Creates a manifest describing one completed capture.

posterArgs/posterFileName are present together only when the composition declares a Video.poster: the SECOND ffmpeg invocation that extracts the poster still.

Implementation

RenderManifest({
  required this.width,
  required this.height,
  required this.fps,
  required this.frameCount,
  required this.framesFileName,
  required this.outputFileName,
  required this.renderDigest,
  required List<String> ffmpegArgs,
  List<String>? posterArgs,
  this.posterFileName,
}) : ffmpegArgs = List.unmodifiable(ffmpegArgs),
     posterArgs = posterArgs == null ? null : List<String>.unmodifiable(posterArgs);