} // default to stdin input public Converter(FfmpegLogLevel logLevel, string inputPath) : base("ffmpeg", "-hide_banner -h") { _argBuilder = new FfmpegArgBuilder() .Input(inputPath) .LogLevel(logLevel); _info = new ProcessStartInfo { FileName = Command, CreateNoWindow = true, RedirectStandardInput = true, RedirectStandardOutput = true, RedirectStandardError = true, }; }
public Converter(FfmpegLogLevel logLevel) : this(logLevel, "-") { } // default to stdin input
public FfmpegArgBuilder LogLevel(FfmpegLogLevel level) { _sb.AppendFormat("-loglevel {0} ", level.GetHashCode()); return(this); }