command property

String get command

Implementation

String get command {
  switch (this) {
    case NyxVideoCodec.h264:
      return 'libx264';
    case NyxVideoCodec.h265:
      return 'libx265';
    case NyxVideoCodec.xvid:
      return 'libxvid';
    case NyxVideoCodec.vp8:
      return 'libvpx';
    case NyxVideoCodec.vp9:
      return 'libvpx-vp9';
    case NyxVideoCodec.av1:
      return 'libaom-av1';
    case NyxVideoCodec.mpeg4:
      return 'mpeg4';
    case NyxVideoCodec.mpeg2:
      return 'mpeg2video';
  }
}