/// <summary> /// Applies an ffmpeg preset to set encoding performance. /// </summary> public FFmpegH264VideoCommandBuilder WithPreset(H264Preset preset) { if (preset == H264Preset.None) { return(this); } TryAddSimpleCommand($"-preset {preset.ToString().ToLowerInvariant()}", preset.ToString()); return(this); }
public FFmpegVideoCommandBuilder WithPreset(H264Preset preset) { if (preset == H264Preset.none) { return(this); } TryAddSimpleCommand($"-preset {preset}", preset.ToString()); return(this); }