diff --git a/vmaf-gui/Form1.cs b/vmaf-gui/Form1.cs index fdfab12..3c30fb6 100644 --- a/vmaf-gui/Form1.cs +++ b/vmaf-gui/Form1.cs @@ -227,7 +227,7 @@ void vmaf(string resolution, string model, bool psnr, bool ssim) //string args = "yuv420p "+ resolution +" ./temp/source.yuv ./temp/compressed.yuv .\\model\\"+ model +" --log log.xml"; Array res = resolution.Split(' '); - string args = $"--threads 4 --reference ./temp/source.y4m --distorted ./temp/compressed.y4m -o log.xml "; + string args = $"--threads {Environment.ProcessorCount} --reference ./temp/source.y4m --distorted ./temp/compressed.y4m -o log.xml "; args += "--model path=./model/" + model; /*