View Single Post
Old 5th November 2018, 08:15   #14  |  Link
JKyle
App Digger
 
JKyle's Avatar
 
Join Date: Sep 2018
Posts: 411
Do I need to copy dlls to a specific system directory to run NVEnc?

Hi.

Here's my system information and error log:

-------------------------- System Environment --------------------------

StaxRip : 2.0.0.0
Windows : Windows 10 Home 1803
Language : English (United States)
CPU : Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
GPU : NVIDIA GeForce GTX 1060 with Max-Q Design, Intel(R) HD Graphics 630
Memory : 8 GB
Resolution : 2560 x 1080
DPI : 120

...

---------------- Error Video encoding using NVEnc 4.20 ----------------

Video encoding using NVEnc 4.20 failed with exit code: 1 (0x1)

The exit code might be a system error code: STATUS_WAIT_1

The exit code might be a system error code: Incorrect function.


------------------- Video encoding using NVEnc 4.20 -------------------

C:\Utilities\StaxRip\Apps\NVEnc\NVEncC64.exe --avhw cuda --vbrhq 2000 --codec h265 --preset quality --aq --vpp-deband -i "C:\Work\input.mkv" -o "C:\Work\input_temp\input_new_out.h265"

avcuvid: avcodec: failed to load dlls.
avcuvid: please make sure "avcodec-58.dll", "avformat-58.dll",
avcuvid: "avutil-56.dll", "avfilter-7.dll", "swresample-3.dll"
avcuvid: is installed in your system.
Failed to open input file.

Start: 10:45:09 PM
End: 10:45:15 PM
Duration: 00:00:05

...

The dll files are put in the same folder where NVEncC64.exe is.

This may sound like a very basic question but what extra steps do I need to take to avoid this error? I just copied the files in the released 7z file to my own specific folder and that was it. For a reference, I have no problem encoding a file using x264 or x265.


BTW, I run into the same 'missing dll files' error when I try to use qaac for audio encoding.

Last edited by JKyle; 5th November 2018 at 08:26. Reason: qaac encoding error added
JKyle is offline