mirror of
https://github.com/ShareX/ShareX.git
synced 2024-09-30 01:07:21 +13:00
Change CLI encoder default values
This commit is contained in:
parent
397641d41e
commit
f7bea3a8bb
1 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue