Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NVencC fails when using NVEnc Native/Cuda as decoder #8

Closed
iamcagn opened this issue Jul 16, 2018 · 1 comment
Closed

NVencC fails when using NVEnc Native/Cuda as decoder #8

iamcagn opened this issue Jul 16, 2018 · 1 comment

Comments

@iamcagn
Copy link

iamcagn commented Jul 16, 2018

Hi there,

Previously with 1.7.0 of Staxrip I was able to use the NVEnc Native as the decoder, reducing CPU usage for the video conversion. When I use the 1.8.2.0 release from you, I receive the following error as soon as the video conversion starts. The dll files it mentions in the error are present, so I'm unsure why it's unable to load them. Using AviSynth/VapourSynth as the decoder works as expected, just with higher CPU usage.

Any suggestions?

Error Video encoding using NVEnc 4.07 (1.8.2.0)

Video encoding using NVEnc 4.07 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.07 -------------------

D:\Staxrip\Apps\NVEnc\NVEncC64.exe --cqp 20:27:30 --codec h265 --preset quality --output-depth 10 --bframes 4 --ref 4 --lookahead 32 --qp-init 1 --aq --output-buf 128 --mv-precision q-pel --cabac -i "Y:\TC\T\file.mkv" -o "C:\StaxTemp\file_temp\file_out.h265"

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

StaxRip.ErrorAbortException: Video encoding using NVEnc 4.07 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.07 -------------------

D:\Staxrip\Apps\NVEnc\NVEncC64.exe --cqp 20:27:30 --codec h265 --preset quality --output-depth 10 --bframes 4 --ref 4 --lookahead 32 --qp-init 1 --aq --output-buf 128 --mv-precision q-pel --cabac -i "Y:\TC\T\file.mkv" -o "C:\StaxTemp\file_temp\file_out.h265"

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

at StaxRip.Proc.Start()
at StaxRip.NVEnc.Encode()
at StaxRip.GlobalClass.ProcessVideo()
at System.Threading.Tasks.Parallel.<>c__DisplayClass4_0.b__0()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at StaxRip.GlobalClass.ProcessJob(String jobPath)

@iamcagn
Copy link
Author

iamcagn commented Jul 16, 2018

Upgrading NVEncC to 4.09 seems to have fixed the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant