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

Hardware HEVC.

parent 4cc83795
No related branches found
No related tags found
No related merge requests found
...@@ -68,7 +68,7 @@ namespace Parser ...@@ -68,7 +68,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 libx265 ""{newFileName}""", folder, getOutput: false); await _commandService.RunCommand("ffmpeg", $@"-i ""{filePath}"" -codec:a copy -codec:v hevc_nvenc -b:v 16M ""{newFileName}""", folder, getOutput: false);
// Delete old file. // Delete old file.
File.Delete(filePath); File.Delete(filePath);
......
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