toCli method

  1. @override
String toCli()
override

Implementation

@override
String toCli() {
  final properties = <String>[
    if (x != null) "$x",
    if (y != null) "$y",
    if (eofAction != null) "eof_action=$eofAction",
    if (shortest != null) "shortest=$shortest",
    if (overlayW != null) "overlay_w=$overlayW",
    if (overlayH != null) "overlay_h=$overlayH",
    if (inputFrameCount != null) "n=$inputFrameCount",
    if (timestamp != null) "t=${timestamp!.inSeconds}"
  ];
  return 'overlay=${properties.join(":")}';
}