Change CLI encoder default values

This commit is contained in:
Jaex 2017-06-26 09:44:40 +03:00
parent 397641d41e
commit f7bea3a8bb

View file

@ -37,13 +37,13 @@ public class VideoEncoder
public VideoEncoder()
{
Name = "x264 encoder to MP4";
Path = "x264.exe";
Args = "--output %output %input";
Name = "FFmpeg x264";
Path = "ffmpeg.exe";
Args = "-i %input -c:v libx264 -preset slow -crf 20 %output";
OutputExtension = "mp4";
}
/// <param name="sourceFilePath">AVI file path</param>
/// <param name="sourceFilePath">Source file path</param>
/// <param name="targetFilePath">Target file path without extension</param>
public void Encode(string sourceFilePath, string targetFilePath)
{