New forum topicsUser login |
DGIndex tutorialQuite often, your original video source will be mpeg-2, grabbed either from your satellite, your cable, your video capture card, or even a decrypted DVD video. These are usually multiplexed as ts (Transport Stream), m2ts (MPEG-2 Transport Stream), or just normal mpg/mpeg/vob (Program Stream.) DGIndex can be used along with AviSynth, to process all of these. Full DocumentationYou can find the full documentation on DGIndex here. In this tutorial, we'll do the minimum necessary to get good results. Tweaking is up to you for a specific source. Processing a fileFirst, start DGIndex.exe. You'll see the main DGIndex window:
Next, select 'Open...' from the 'File' menu:
Browse to wherever your mpeg file is, select it, and hit 'Open'. You'll see DGIndex's File List dialog:
Hit OK here and you'll be back to the main DGIndex window. Now select 'Save As' from the 'File menu:
Create a new folder if necessary, as a d2v and an audio file will be generated, and we'll want to create an avs file as well:
DGIndex will start parsing the file, creating the d2v file and most likely an audio file. You'll see the processing status, which will look similar to this when done:
We're done with the DGIndex application now, so you can close it. Creating the AviScript fileGoing into all the details of an AviSynth script is beyond this tutorial, but you can find a lot of information on the AviSynth web site here. First, open the folder you selected when creating your d2v file. Then right click on the folder, and select New->AviSynth Script:
Name is something similar to your d2v file, to be consistent. Ours is named 'VIDEO.avs'.
Double-click on it to edit (assuming you installed in our AviSynth Tutorial) and NotePad should come up. Add the following lines, substituting 'VIDEO' with whatever you called your d2v file: LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\DGDecode.dll") The 2nd plugin isn't needed at this point, but you may decide to use it later, so its good to have it in there. Once you're done, it should look similar to ours:
That's it! You should now be able to use this avs file in any application that takes an AVI as input. |
|