Check NVENC compatibility before even starting interpolation

This commit is contained in:
N00MKRAD
2021-02-21 21:18:31 +01:00
parent 5f3ffc8c4a
commit 5949e570a7
5 changed files with 35 additions and 11 deletions

View File

@@ -77,7 +77,7 @@ namespace Flowframes
if (line.Contains("Could not open file"))
Interpolate.Cancel($"FFmpeg Error: {line}");
if (line.Contains("No NVENC capable devices found"))
if (line.Contains("No NVENC capable devices found") || line.Contains("Cannot load nvcuda.dll"))
Interpolate.Cancel($"FFmpeg Error: {line}\nMake sure you have an NVENC-capable Nvidia GPU.");
if (!hidden && showProgressBar && line.Contains("time="))