This document is intended to help newcomers to DGDecNV to quickly understand the process and become productive. It is intentionally short and to the point, and is not intended to be a complete users manual or tutorial.
This version of the software is designed to run on Nvidia graphics cards that support PureVideo video decoding.
You are going to use DGIndexNV.exe, DGDecodeNV.dll, and dgindexnv.bmp from the DGDecNV package, so extract them from the ZIP file and put them together in a directory. Choose either the 32-bit or 64-bit executables according to your needs. Place your license.txt file in the same directory.
Also get VirtualDub as we will use that to view the decoded video:
In addition to the above programs, you must have Nvidia drivers installed that support video decoding on the graphics card. That means you need to install version 191.07 or later of the Nvidia graphics drivers.
We'll assume you have an AVC elementary file such as "mystream.264". Fire up DGIndexNV. Using File/Open, open your AVC (H.264) file. You should see the video.
Now select File/Save Project and enter a name for the index file (DGI file) that is going to be generated. Suppose your source file is called 'mystream.264'; you might choose the name 'mystream' to enter here, because DGIndexNV will automatically append '.dgi'. Good. Hit Save. The indexing process will start and you'll see the indicator moving along the time line to indicate the progress. Be patient if your video is large. When the process finishes, exit DGIndexNV.
But you can't just execute DGDecodeNV directly! It has to be done through Avisynth. We'll make a script file called mystream.avs using a text editor. Later in this document I'll show you how to configure DGIndexNV to make the script automatically, but for now, you need to know the old-fashioned way. So put this text into a new text file you make called 'mystream.avs':
Replace the path '...' in the first line with the path to the location where you placed DGDecodeNV.dll.
Finally, use VirtualDub to open the 'mystream.avs' script file just as if it was an AVI file. That's it! You have your video and can navigate randomly on the VirtualDub timeline. Does life get much sweeter than this?
Suppose we have a ".wav" file. Our Avisynth script will be like this:
Now when you open this script in VirtualDub, you will have video and audio.
We saw processing for a ".wav" audio file above. You need the corresponding source filter for the type of audio you have. Use WAVSource() for ".wav", MPASource() for ".mpa", nicAC3Source() for ".ac3", etc. WAVSource() is built into Avisynth. The others can be found here: Avisynth Filter Collection.
Don't forget to use LoadPlugin() to load your audio source filter. And read the Avisynth documentation to learn about how to adjust the audio/video synchronization using DelayAudio(), and other useful things.
Let's suppose you have a script that you use all the time. Maybe like this:
Copy this to a file and call it 'template.avs'. Then edit it to replace the DGI file name with __vid__ (that's two underscores before "vid" and two after). template.avs should then look like this:
You see, DGIndexNV is going to use this as a template and insert the right file name whenever it sees __vid__. Slick, eh?
OK, all you have to do now is fire up DGIndexNV, select your template file with the Options/AVS Template menu item, and then do a Save Project. If the *.avs file does not already exist, DGIndexNV will make one for you based on the template! Of course, the template has to be created only once, while you'll get an automatically generated AVS script every time you save a DGIndexNV project.
If you just want to make an AVI out of your video, it's easy. Open the Avisynth script in VirtualDub, set your compression, and do Save AVI.
Copyright (C) 2007-2017 Donald A. Graft, All Rights Reserved