Use -qp instead of -cq for NVENC, make 0 lossless

This commit is contained in:
N00MKRAD
2021-04-06 14:46:23 +02:00
parent ea6a6e1e42
commit 10b311b676
2 changed files with 5 additions and 4 deletions

View File

@@ -84,8 +84,7 @@ namespace Flowframes
{
try
{
string ffprobeArgs =
$"-v panic -select_streams v:0 -show_entries stream=r_frame_rate {inputFile.Wrap()}";
string ffprobeArgs = $"-v panic -select_streams v:0 -show_entries stream=r_frame_rate {inputFile.Wrap()}";
string ffprobeOutput = GetFfprobeOutput(ffprobeArgs);
string fpsStr = ffprobeOutput.SplitIntoLines().Where(x => x.Contains("r_frame_rate")).First();
string[] numbers = fpsStr.Split('=')[1].Split('/');