View Full Version : DGAVCDecNV 1.0.13: GPU decoding on Nvidia
Guest
26th September 2008, 00:35
The fix is released at my web site. Thank you for pointing it out.
Atak_Snajpera
26th September 2008, 00:44
Another bug (affects both DGAVCDecNV and DGAVCDec)
is DGAVCDec fixed as well?
Guest
26th September 2008, 00:49
I'm doing it now. Patience please.
Sagekilla
26th September 2008, 01:34
neuron2: I have a feature request. Would it be possible to merge DGAVCIndex and DGAVCIndexNV into one program, and offer a license to enable GPU decoding? I could imagine that for AVCSource() you could call it like so: AVCSource("file.dga",GPU=true,deinterlace=true). I'd think that you could somehow just have it check for a license key before it allows GPU decoding.
Just a thought :) It would be nice to see but if it's not possible then no worries.
Guest
26th September 2008, 01:51
I could probably do it, but it's not high on the list of priorities compared to VC1 support, MPEG integration, and MKV/MOV support. Thanks for the suggestion.
lucassp
26th September 2008, 06:08
I could probably do it, but it's not high on the list of priorities compared to VC1 support, MPEG integration, and MKV/MOV support. Thanks for the suggestion.
There's a very limited amount of GPUs supporting full VC-1 Decoding, so you could put it on a lower priority.
Comatose
26th September 2008, 06:27
Will MKV/MOV support be in DGAVCIndex as well?
ultratoto14
26th September 2008, 07:14
Test it for the first time, it's impressive. I think about a new feature. I think that cuda have optimized functions to resize the image. Is there a possibility to serve already resized frames ? As 1920x1080 -> 1280x720 is CPU consuming.
Great job.
turbojet
26th September 2008, 08:08
any news on the radmin/windows rdp causing encodes to hang?
you'll have another customer if this issue is resolved.
drelin
26th September 2008, 09:46
Just a question.
I've installed the CUDA driver, and now the Hardware accelration on POWERDVD (7.3) not run. If I desactive the PureVideo Acceleration on POWERDVD, the display is correct (but I lost the Hardware accelration) and the pureVideo activated no video displayed (black sreen with error message and video run).
Anybody have a solution for that ?
Thank and sorry for my bad english.
drelin
26th September 2008, 10:08
OK
I 've found the solution.
Just a update of POWERDVD is needed for DXVA works correctly.
Guest
26th September 2008, 12:56
Will MKV/MOV support be in DGAVCIndex as well? Yes, the two will track. The only difference will be use of the GPU for decoding.
yonta
26th September 2008, 12:56
Setup;
E8200@2.66G
9600GT
2GB RAM
Source is Blu-ray 1080p
dgavcdecnv 1.0 alpha3
script used;
LoadPlugin("f:\dgavcdecnv100a3\DGAVCDecodeNV.dll")
AVCSource("f:\test.gpu.dga")
Crop(0, 144, -0, -136)
LanczosResize(1280, 528)
LoadPlugin("f:\dgavcdeca35\DGAVCDecode.dll")
AVCSource("f:\test.dga")
Crop(0, 144, -0, -136)
LanczosResize(1280, 528)
x264 987 logs;
F:\samples>x264.exe --bframes 3 --ref 5 --crf 18 --direct auto --weightb --me umh --subme 6 --b-rdo --mixed-refs --bime --trellis 1 --no-fast-pskip --level 4.1 --progress --threads 3 --output DGAVCDecode.mkv DGAVCDecode.avs
avis [info]: 1280x528 @ 23.98 fps (2414 frames)
.
.
.
x264 [info]: PSNR Mean Y:46.967 U:49.524 V:49.814 Avg:46.782 Global:42.528 kb/s:5658.03
encoded 2414 frames, 5.84 fps, 5658.21 kb/s
F:\samples>x264.exe --bframes 3 --ref 5 --crf 18 --direct auto --weightb --me umh --subme 6 --b-rdo --mixed-refs --bime --trellis 1 --no-fast-pskip --level 4.1 --progress --threads 3 --output DGAVCDecodeNV.mkv DGAVCDecodeNV.avs
avis [info]: 1280x528 @ 23.98 fps (2414 frames)
.
.
.
x264 [info]: PSNR Mean Y:46.967 U:49.523 V:49.814 Avg:46.782 Global:42.528 kb/s:5651.09
encoded 2414 frames, 6.69 fps, 5651.28 kb/s
So, I get approx. 0.85fps speedup.
If the full movie has 200000 frames, using DGAVCDecodeNV will finish encoding about 1h12min earlier.
Guest
26th September 2008, 12:56
Test it for the first time, it's impressive. I think about a new feature. I think that cuda have optimized functions to resize the image. Is there a possibility to serve already resized frames ? As 1920x1080 -> 1280x720 is CPU consuming. I'll ask Nvidia if is possible.
Guest
26th September 2008, 13:00
any news on the radmin/windows rdp causing encodes to hang?
you'll have another customer if this issue is resolved. Please explain in detail what I need to do to duplicate this issue. What environment, what software, what operations.
lucassp
26th September 2008, 13:43
I'll ask Nvidia if is possible.
It should work, but you have to do "real" CUDA programming for that.
http://forums.nvidia.com/index.php?showtopic=60853
Guest
26th September 2008, 14:11
I meant possible with the nvcuvid.dll interface.
turbojet
26th September 2008, 14:35
neuron2 for the radmin\microsoft rdp issue. You might have rdp (remote desktop protocol) installed, check for computer properties, advanced settings, remote, and tick allow if it isnt already.Otherwise you'll need to install radmin (http://www.radmin.com/) on a dgavcindexnv capable computer. Start an encode, and if you either login or logout from either service the encoder hangs.
Guest
26th September 2008, 14:58
Do I need to have two machines and login remotely? If you want this looked at you're going to have to spoon feed me.
Give me an exact step by step of what to install and do.
Quark.Fusion
26th September 2008, 14:59
Donald, what about to make free version with limit to half of source framerate for example? It will not be suited for realtime decoding, but provide good demo of technology. Also with heavy encoding settings I'm don't think that 1-5% speedup is worth 15$.
Guest
26th September 2008, 15:09
Also with heavy encoding settings I'm don't think that 1-5% speedup is worth 15$. As I have said many times, the speedup is not the only reason for this software to exist. If you don't think it offers you anything, then don't buy it.
jeffy
26th September 2008, 15:20
@Quark.Fusion: When you encounter a stream badly decoded by anything but DGAVCDecNV, then you might find the worthiness in it.
turbojet
26th September 2008, 15:20
neuron2 with radmin you can do it on one box, radmin will crash after a few seconds after you login but it will halt the encoding
drelin
26th September 2008, 15:45
I've a problem.
DGAVCDecNVindex run correctly, and I can save the projet.
But I can load the avs file in MEGUI (the soft close immediatly) and when i want to test directly with X264 command line I see teh error message :
"RAWYUV imput requires a resolution" ??.
If you have any suggestion for a solution ?
THX.
DarkZell666
26th September 2008, 15:55
I've a problem.
DGAVCDecNVindex run correctly, and I can save the projet.
But I can load the avs file in MEGUI (the soft close immediatly) and when i want to test directly with X264 command line I see teh error message :
"RAWYUV imput requires a resolution" ??.
If you have any suggestion for a solution ?
THX.
I believe the problem with MeGUI has already been explained earlier in the thread.
Post your script though, there's probably something missing in it.
Guest
26th September 2008, 16:07
MeGUI situation is documented.
For the x264 CLI, post your script and your x264 command line.
Guest
26th September 2008, 16:50
neuron2 with radmin you can do it on one box, radmin will crash after a few seconds after you login but it will halt the encoding Do I have to install the server or the viewer or both? Assuming I install it, how do I login to it in the manner you are talking about?
I did ask for a step-by-step. I just don't have time to do experiments to figure things out.
EDIT: OK, I have remote desktop working. Now, what do I do exactly? Do I connect and start the encode and then disconnect? Do I start it locally and then connect from remote? You gotta tell me what to do.
EDIT 2: I remote connected and tried to start DGAVCIndexNV. I get a CUDA init failure 100. I have written to Nvidia about it. Probably something related to the DX/D3D init.
Guest
26th September 2008, 17:30
Nvidia responds as follows:
That's unfortunately an OS limitation because the display driver gets unloaded with remote desktop operation. The exception would be VNC, which is more gpu-friendly in that regard.
The workaround, then, is TightVNC as previously mentioned.
turbojet
26th September 2008, 18:32
Bummer. VNC is ok software, I like that its open and free. But it really reduces my ability to work as I mentioned before with sluggish performance and random dropouts.
Thanks for checking with nvidia. I'll go see if radmin can work around this.
bond
26th September 2008, 20:02
I can use the "beer money" to buy the MP4 spec I need. mp4 specs are freely available:
http://standards.iso.org/ittf/PubliclyAvailableStandards/c041828_ISO_IEC_14496-12_2005(E).zip
Guest
26th September 2008, 20:25
Not quite. Try getting -14 and -15.
But don't worry, I have them now.
ultratoto14
26th September 2008, 20:33
I use x264 command line as meGui crashes every time. I usually use staxrip but it crashes too. What are the recommended front-end for X264 and XVID encoding with DGAVCIndexNV ?
Guest
26th September 2008, 20:43
I use MeGUI to generate the command line and then copy it out to run with CLI.
rack04
26th September 2008, 21:53
I use MeGUI to generate the command line and then copy it out to run with CLI.
This doesn't work with two pass profiles.
rebkell
26th September 2008, 22:03
This doesn't work with two pass profiles.
It does if you have one in history. You just have to substitute the current input and output source and destination.
Guest
26th September 2008, 22:46
@rebkell
What do you mean by "have one in history"? Can you please give us a step-by-step? Thanks!
@all
I just installed the Nvidia driver 178.13 which came out within the last few days and my High Profile, Level 5.1 streams now decode properly. The problem with non-detection of the CUDA device requiring a reboot is also believed to be fixed by this driver version.
rebkell
26th September 2008, 23:01
@rebkell
What do you mean by "have one in history"? Can you please give us a step-by-step? Thanks!
@all
I just installed the Nvidia driver 178.13 which came out within the last few days and my High Profile, Level 5.1 streams now decode properly. The problem with non-detection of the CUDA device requiring a reboot is also believed to be fixed by this driver version.
Well, it's actually in the log tab, just run a two pass job(really short one if you like) with the parameters you want for the encode.
After it's through, go to the Log tab and expand the Job(s) one of the lines will be very long and it's the x264 encode line, just right click it and Edit Text->Node and it will open the command line for the first pass in notepad. It will contain the exact command used by x264 for the encode. Do the same for the second pass to get the final pass command line.
Guest
26th September 2008, 23:16
just run a two pass job(really short one if you like) with the parameters you want for the encode.. Sorry to be such a dimwit, but how can I do that if MEGUI crashes when I open the file?
rebkell
26th September 2008, 23:28
Sorry to be such a dimwit, but how can I do that if MEGUI crashes when I open the file?
Not sure how to do it if it crashes, here's a typical two pass command line, I'm using the old profile of Xbox-PS3, with a few tweaks on the keyint and min-keyint stuff. The bitrate is calculated from the number of frames times the bitrate to figure out the final size.
"C:\Program Files\megui\tools\x264\x264.910.modified.exe" --pass 1 --bitrate 3400 --stats "G:\Junk\Bones\Bones0405.stats" --level 4.1 --keyint 60 --min-keyint 1 --bframes 3 --direct auto --subme 1 --analyse none --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --me dia --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output NUL "G:\Junk\Bones\Bones0405.avs"
"C:\Program Files\megui\tools\x264\x264.910.modified.exe" --pass 2 --bitrate 3400 --stats "G:\Junk\Bones\Bones0405.stats" --level 4.1 --keyint 60 --min-keyint 1 --ref 3 --mixed-refs --bframes 3 --b-rdo --bime --weightb --direct auto --subme 6 --analyse p8x8,b8x8,i4x4,i8x8 --8x8dct --ipratio 1.1 --pbratio 1.1 --vbv-bufsize 9000 --vbv-maxrate 24000 --qcomp 0.5 --me umh --merange 12 --threads auto --thread-input --progress --no-psnr --no-ssim --output "G:\Junk\Bones\Bones0405.mkv" "G:\Junk\Bones\Bones0405.avs"
Don't know if it helps, there's not a significant difference between the first pass and the 2nd pass, you can check it out.
xopowo
27th September 2008, 17:44
I don't know if I'm the only one experiencing this, but if I have a script that looks like this:
AVCSource("1.dga", deinterlace=true) ++ AVCSource("2.dga", deinterlace=true)
Then when virtualdubmod gets to the second AVCSource, it crashes with some error that says it can't be "read."
If I run them seperately, then both of them work fine. Also, once an AVS is loaded into vdubmod, and then if one closes that file, and tries to load another one (without physically closing the program), vdubmod crashes again based on the same type of message. Something is getting hung up is my guess?
Guest
27th September 2008, 18:09
I can't duplicate any of that. What version are you using?
xopowo
28th September 2008, 05:54
AVISynth 2.5.7 and v1.0.1 of the program.
xopowo
28th September 2008, 07:47
Also, two more questions:
I guess only one thread can be addressed at one time? I thought this was fixed? Neither vdub can be accessed with more than one instance at a time, nor can x264 from CLI.
Additionally, I know that you (Donald) had mentioned building a ts cutter for h264 since there isn't a good one out there. If this is still something that you intend to pursue, is it possible that it could use the purevideo CUDA things as well (as opposed to DirectShow and/or haali)?
Guest
28th September 2008, 13:34
I'm sorry but multi-instance is working fine and you are the only person reporting an issue. Let me think about it and then send you a debugging build to try to find out what is happening for you. In the meantime what is the exact error you get when you load the script the second time?
An intitial version of a cutter would use libavcodec for broadest compatibility, but don't look for this to arrive any time soon.
xopowo
28th September 2008, 17:27
http://img375.imageshack.us/img375/8156/vdubmoderrorcm2.th.jpg (http://img375.imageshack.us/my.php?image=vdubmoderrorcm2.jpg)http://img375.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
That is what happens when I try to open two instances of vdubmod. Also, when I run x264.exe from CLI, the first one runs, the second one starts to go, then just stops (it doesn't give an error); it just doesn't do anything.
ultratoto14
28th September 2008, 19:57
I search in windows error log to see if the problem with meGui is the same than Staxrip. I've got two different cases :
meGui :
Application défaillante MeGUI.exe, version 0.3.0.2017, horodatage 0x48d8f4c3, module défaillant DGAVCDecodeNV.dll, version 1.0.0.0, horodatage 0x48dc15d3, code d’exception 0xc0000005, décalage d’erreur 0x000044ac, ID du processus 0x1514, heure de début de l’application 0x01c9219ae07f4a02.
StaxRip :
Application défaillante StaxRip.exe, version 1.1.1.0, horodatage 0x4875d9fb, module défaillant d3d9.dll_unloaded, version 0.0.0.0, horodatage 0x4791a65d, code d’exception 0xc0000005, décalage d’erreur 0x71acf03c, ID du processus 0x9d4, heure de début de l’application 0x01c920dbe791eefd.
Sorry for the language, I'm French. This is strange that the DGAVCDecodeNV.dll installed is not 1.0.0.0 but 1.0.1.0.
I tried to create multiple instances of the DGAVCDecodeNV and have no problem with two virtualdubmod.
Tell me if you want me to test something.
Guest
28th September 2008, 21:58
http://img375.imageshack.us/img375/8156/vdubmoderrorcm2.th.jpg (http://img375.imageshack.us/my.php?image=vdubmoderrorcm2.jpg)http://img375.imageshack.us/images/thpix.gif (http://g.imageshack.us/thpix.php)
That is what happens Just tell me with an exact error message in text. Your link is all screwed up and I can't see anything.
when I run x264.exe from CLI, the first one runs, the second one starts to go, then just stops (it doesn't give an error); it just doesn't do anything. I'm supposed to guess what your CLI commands were???
Also, provide a link to a stream sample that I can use to duplicate this.
Guest
28th September 2008, 22:00
Sorry for the language, I'm French. Yes, but that doesn't help me. Can you please take a stab at translating it?
jeffy
28th September 2008, 22:57
meGui :
Application défaillante MeGUI.exe, version 0.3.0.2017, horodatage 0x48d8f4c3, module défaillant DGAVCDecodeNV.dll, version 1.0.0.0, horodatage 0x48dc15d3, code d’exception 0xc0000005, décalage d’erreur 0x000044ac, ID du processus 0x1514, heure de début de l’application 0x01c9219ae07f4a02.
StaxRip :
Application défaillante StaxRip.exe, version 1.1.1.0, horodatage 0x4875d9fb, module défaillant d3d9.dll_unloaded, version 0.0.0.0, horodatage 0x4791a65d, code d’exception 0xc0000005, décalage d’erreur 0x71acf03c, ID du processus 0x9d4, heure de début de l’application 0x01c920dbe791eefd.
Application défaillante = Faulting application
horodatage = time stamp
module défaillant = faulting module
code d’exception = exception code
décalage d’erreur = fault offset
ID du processus = process id
heure de début de l’application = application start time
Let me guess the OS, Windows Vista.
ultratoto14
29th September 2008, 07:26
You're right, Windows Vista 32 SP1.
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.