Skip to content
Snippets Groups Projects
Commit 599d05a3 authored by Anduin Xue's avatar Anduin Xue
Browse files

Use crf instead bitrate.

parent 8614b4ec
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ namespace Parser ...@@ -69,7 +69,7 @@ namespace Parser
Console.WriteLine($"{filePath} WILL be parsed!"); Console.WriteLine($"{filePath} WILL be parsed!");
File.Delete(newFileName); File.Delete(newFileName);
await _commandService.RunCommand("ffmpeg", $@"-i ""{filePath}"" -codec:a copy -codec:v {coder} -b:v 16M ""{newFileName}""", folder, getOutput: false); await _commandService.RunCommand("ffmpeg", $@"-i ""{filePath}"" -codec:a copy -codec:v {coder} -crf 20 ""{newFileName}""", folder, getOutput: false);
if (File.Exists(newFileName)) if (File.Exists(newFileName))
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment