ffmpegScale property

String? get ffmpegScale

Returns scale filter for ffmpeg in "iw*scale:ih*scale" format

Implementation

String? get ffmpegScale {
  final scale = cropParam?.scale;
  if (scale == null) return null;

  return 'iw*$scale:ih*$scale';
}