On upgrading to the 340.52 nvidia drivers i discovered that the dll responsible for CUDA encoding is no longer included...
so for the the conversion tools i use (Mediacoder,Freemake,Mediaespresso)
CUDA hardware acceleration is effectively no longer supported.
It is possible - there is a modded driver out there (or in my case to keep it alive i just rolled back to an older driver)
but no longer officially supported by NVIDIA..
I have contacted the developers from each of the abovementioned apps - they were unaware. (Nice job NVIDIA)
I suppose it's an attempt at getting people to move to the NVENC hardware encoder including on all
Kepler (and newer) video cards.
Since Kepler is around 2 years old and there are as yet NO freely available applications that use it - i'm not surprised.
Contrary to some online pundits - mediaespresso does not now, nor has it ever supported NVENC.
This was conveyed to me by their online support.
Having CUDA pulled out from under them seemed to come as a surprise.
so.....it seems farewell is in order for nvidia GPU encoding.....it was fun while it lasted
never mind - helps my business case to stock up on a Haswell....(only this time if i need high end graphics i'm going ATI out of sheer spite)
+ Reply to Thread
Results 1 to 30 of 50
Thanks for heads up - I was just about to update.BeyonWiz V2 PVR ~ Popcorn A-500 ~ Samsung ES8000 65" LED TV ~ Sony 75" X9500H ~ Windows 7 64bit ~ Yamaha RX-A1070 ~ QnapTS851-4G
Thanks for the heads up, seems like nvcuenc.dll was removed, does anyone know if it's license wise okay to bundle 'nvcuenc.dll' with an application?users currently on my ignore list: deadrats, Stears555
Seems to be only the encoder part, DGDecNV still works,..users currently on my ignore list: deadrats, Stears555
To clarify: Only the support for the deprecated nvcuenc interface/libary has been removed.
Encoding through the newer nvenc interface should still work.
-> Only problem is that most old tools only use the nvcuenc interface, so until some software gets rewritten, a bunch of old encoders will not work anymore.users currently on my ignore list: deadrats, Stears555
I rolled back my NVIDIA display driver back to 314.07 and everything works again. Thanks to the OP for the heads up, caught
me totally off guard.
But hey! I upgrade to v340.52 but I'm still having DLL for cuda and still get supports from all converter tools I search CUDA in my system and found here
C:\WINDOWS\system32\nvcuda.dll (Description : NVIDIA CUDA Driver, Version 340.52)
And all cuda runtime in my video converter tools folder
You install driver with clean install? if not, just try it!
@KenEzthex: Not all tools are bothered by this change, only those that:
a. rely on the nvcuenc.dll in the system folder.
b. use nvcuenc for encodingusers currently on my ignore list: deadrats, Stears555
MediaCoder x64. CUDA encoding was re-enabled on my system.
Last edited by HemLok; 14th Aug 2014 at 21:30. Reason: Typos corrected.
yup, putting the nvcuenc dll next to the binary of the encoder should help.users currently on my ignore list: deadrats, Stears555
I use TMPGEnc 4.0 Xpress and works perfectly......
And I copy the important DLL files from the old version as backup
When I need to use these files, use cmd to extract them as
x:\expand xxxxx.dl_ x:\xxxxx.dll
which x means your local drive and xxxxx means the name above
in the meantime -
looks like this actually has NVENC support....if monitoring with GPU-Z is telling the truth...
i also have the stock 340.52 nvidia drivers installed - so i know that CUDA is gone....
Encodes DVB captured mpeg to h264 - the "high quality"setting does it in about 19-20x real time....
the "video engine load"is about 60% - the "GPU load" is 10%
GPU temp stayed at 30C the whole time....
....and importantly the quality looks to my eyes to be very good
looks like the tactic dropping CUDA support worked for at least one vendor!
Freemake video converter, I couldn't get these instructions to work. I tried extractingCode:
C:\Program Files (x86)\Freemake\Freemake Video Converter
Last edited by sampalmer; 30th Aug 2014 at 21:52.
Also, if it does work, does CUDA encoding use the cores on all of the cards in a system, or just one? I'm planning on setting the 970s up for SLI.
Hopefully it'll work, but if not, I guess I could always fall back on Quick Sync. At lest that would still work...
I dont think CUDA encoding works in SLI...
And even if it does... you wont be using all those cores...
the problem is that CUDA is only used for encoding...
So you end up being CPU bound anyway...
I couldn't get my lowly GTS250 to even break a sweat,
and it only encoded at about 6x real speed converting Aussie DVB Mpegs to Apple MP4's.
Imagine my annoyance at getting a GTX650 that didn't end up encoding any faster despite many more CUDA cores....
in the mean time, DVDFAB now uses NVENC, a hardware encoder present on all kepler and above...
this is quick - really quick -
depending on the source file, i am getting between 15-20x real speed. Quality is pretty good too.
I believe the hardware encoder on maxwell (GTX970) is even faster.
Also - mediacoder is working on an NVENC solution.
Solution Brief: Error in Media Coder - "This application has failed to start because NVCUVENC.DLL was not found"
Reason: NVCUVENC.DLL not follow the new drivers.
1) Go to the Nvidia site (http://www.geforce.com/drivers) and download previous versions of the drivers for the model of your video card
2) Unzip the executable using a program like 7zip, Winzip, Zipper, etc ...
3) Go to the folder and look Display.Driver of the following files: nvcuvenc.dl_, nvcuvenc32.dl_ or nvcuvenc64.dl_ and copy this file to your drive c: \. Should you not find any of these files then go back to the Nvidia site and download older drivers
4) Start menu, run type cmd + enter
5) Run the extract command: c: \ expand xxxxx.dl_xxxxx.dll. Example: c:\expand nvcuvenc.dl_ nvcuvenc.dll or c:\expand nvcuvenc32.dl_ nvcuvenc32.dll or c:\expand nvcuvenc64.dl_ nvcuvenc64.dll
6) Copy the file nvcuvenc.dll or nvcuvenc32.dll or nvcuvenc64.dll in the folder to the installation folder of MediaCoder
7) Run MediaCoder and enable CUDA encoder
Good fun! I Love MediaCoder!
One day I hope to get a NVidia card for NVDecode. Will this effect fft3dGPU?
Nope FFT3DGPU doesn't use nvcuenc.users currently on my ignore list: deadrats, Stears555
So it's not actually CUDA that's been discontinued, just the encoding component... And the thread title is misleading?
It's also not the encoder component in general that's discontinued.
It's just the old nvcuenc component, the newer nvcenc one works fine. (but since most developers got de-motivated by the performance of the old encoder, only a few think about going through the trouble to write a new encoder based on the nvenc example from the sdk.
Personally I thought about it, but deemed it to troublesome to rewrite the code to support std::in pipes and proper flags for a command line tool.
If someone would release a proper (and free) command line encoder which supports std::in pipes I would probably support it in Hybrid, but I'm not really motivated to rewrite a command line tool based on the nvenc example like I did for nvcuenc.
=> Yes, the thread title is misleading since CUDA has nothing to do with this. nvcuenc, which is discontinued, doesn't use CUDA, it uses the encoder chip on the graphic card.
Cu Selurusers currently on my ignore list: deadrats, Stears555
Cool, now I can read the thread without my brain blanking out in incomprehension.
ffmpeg branch on Windows and integrate it in your software, Hybrid.
This branch has NVENC baked in (use libnvenc as the encoder instead of libx264):
The repo has all the details in the wiki. Please check it out and give feedback
will look into itusers currently on my ignore list: deadrats, Stears555
-> reading https://github.com/agathah/ffmpeg_libnvenc/wiki
I'm a bit confused.
https://github.com/agathah/ffmpeg_libnvenc only hosts the complete source of ffmpeg where the patch is already applied.
Also the site states:
ffmpeg.c libavformat/matroskaenc.c libavformat/movenc.c * Add support for using "libnvenc" wherever "libx264" is used
-> Can anyone provide 32/64bit ffmpeg builds ? (or alternatively a patch which adds libnvenc support, but doesn't kill lib264 support)
Ps.: @Brainiarc7: Since documentation is rather sparse I'm not sure if this will make it into Hybrid any time soon.users currently on my ignore list: deadrats, Stears555
Same thing, not a patch but another branch where the patch has already been applied.users currently on my ignore list: deadrats, Stears555
Each time i start mediacoder i get " this dll is not designed to run on windows or contain error". I've tried both x86-x64 mediacoder versions.