DGDecodeNV 2.0.0 beta 1
DGDecodeNV is an Avisynth source filter (AviSynth v2.5 or higher) that decodes and frame-serves AVC (H.264), VC1, and MPEG2 video. It works
in conjunction with the indexing tools DGAVCIndexNV, DGVC1IndexNV, and DGMPGDecNV. Previously a separate source filter
was required for each video standard. Now this single source filter supports them all.
The "NV" in the name "DGDecodeNV" indicates that this version of the program is designed for use with the VP2 (or greater) GPU decoder on
some Nvidia video cards. See here to check whether your video card has a VP2 or greater engine:
Table of Nvidia Graphics Cards Specifications
You can get the latest binaries of DGDecodeNV at http://neuron2.net/.
This version of DGDecodeNV now uses a server application to decode the video. Therefore, the CUVID Server (CUVIDServer.exe) must be started
and left open before DGDecodeNV can be used. If the server is not running then DGDecodeNV will throw an error to Avisynth saying that
the server is not running. Additionally, to prevent collisions at the GPU decoder, ensure that DGAVCIndexNV/DGVC1IndexNV/DGMPGIndexNV
is closed before starting the CUVID Server.
DGSource(str "dga", int deinterlace, bool use_top_field, int resize_w, int resize_h)
dga: "[PATH\]project.dga"
DGAVCIndex Project File.
Required parameter!
Note 1: PATH\ can be omitted if "project.dga" is in the same directory as your
AviSynth (*.avs) script.
You may specify "dga" for a project file created by DGAVCIndexNV, or "dgv" for a project file
created by DGVC1IndexNV, or "dgm" for a project file created by DGMPGIndexNV.
deinterlace: 0/1/2 (default: 0)
Nvidia PureVideo Deinterlacer
0: no deinterlacing
1: single rate deinterlacing
2: double rate deinterlacing (bobbing)
Note that double rate deinterlacing requires Windows XP SP3!
Also note that setting deinterlace to 1 or 2 forces the field operation to be
"Ignore Pulldown", regardless of the project setting.
use_top_field: true/false (default: true)
Use the top field for single rate deinterlacing.
When this parameter is true, the top field is used for single rate deinterlacing;
when false the bottom field is used. When deinterlace=0 or deinterlace=2, this parameter is ignored.
use_pf: true/false (default: false)
Use the progressive_frame indication from NVCUVID. If deinterlace=1 or deinterlace=2, and
use_pf=true, then only frames marked as progressive by NVCUVID will be deinterlaced. If
deinterlace=1 or deinterlace=2, and use_pf=false, then all frames will be deinterlaced.
resize_w, resize_h: integer (default: 0)
Use the GPU to resize the video. The resizing is applied after deinterlacing. If
either resize_w or resize_h is 0, no resizing is performed. If you need to crop before resizing,
use the cropping filter in DGAVCIndexNV/DGMPGIndexNV/DGVC1IndexNV.
AviSynth's LoadPlugin() must be
called before any DGDecodeNV functions can be used.
To accomplish this, add a line like the following one to the beginning of your AviSynth (*.avs) script:
LoadPlugin("C:\My Files\DGDecodeNV.dll")
Note: This load plugin line can be omitted if DGDecodeNV.dll is in the default AviSynth
plug-ins directory, because Avisynth will load it automatically.
DGSource("C:\My Files\project.dga")
Note: The path can be omitted if "project.dga" is in the same directory as your
AviSynth (*.avs) script.
Nvidia PureVideo deinterlacing:
DGSource("project.dga", deinterlace=1)
Resizing:
DGSource("project.dga", deinterlace=2, resize_w=1280, resize_h=720)
Copyright (C) 2007-2009 Donald A. Graft, All Rights Reserved.