Added "-b:v 0" for vp9 crf encode, might be redundant though

This commit is contained in:
N00MKRAD
2021-04-25 21:48:57 +02:00
parent 91bf49434d
commit c88d190118

View File

@@ -79,7 +79,7 @@ namespace Flowframes.Media
if (codec == Codec.VP9)
{
int crf = Config.GetInt("vp9Crf");
string qualityStr = (crf > 0) ? $"-crf {crf}" : "-lossless 1";
string qualityStr = (crf > 0) ? $"-b:v 0 -crf {crf}" : "-lossless 1";
string cpuUsed = Config.GetInt("vp9Speed", 3).ToString();
args += $"{qualityStr} -cpu-used {cpuUsed} -tile-columns 2 -tile-rows 2 -row-mt 1 -pix_fmt yuv420p";
}