mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Use -qp instead of -cq for NVENC, make 0 lossless
This commit is contained in:
@@ -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('/');
|
||||
|
||||
Reference in New Issue
Block a user