mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Added "-b:v 0" for vp9 crf encode, might be redundant though
This commit is contained in:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user