[RESOLVED] Sequence of operation

Support forum for DGDecNV
Post Reply
DAE avatar
Guest

[RESOLVED] Sequence of operation

Post by Guest »

I realize that if I de-interlace and resize with DGDecodeNV that the de-interlace function is applied first then the resize.
Does this apply when using your stand alone filters?
Example
LoadPlugin("C:/Program Files (Portable)/dgdecnv/x64 Binaries/DGDecodeNV.dll")
DGSource("__vid__", resize_w=1920, resize_h=720, fieldop=0)
DGTelecide(mode=2, dthresh=3.5)
Is the operation (resize) in DGsource applied before the operation in DGTelecide
User avatar
DJATOM
Posts: 176
Joined: Fri Oct 16, 2015 6:14 pm

Re: Sequence of operation

Post by DJATOM »

Obviously DGSource returns de-interlaced and resized data, then DGTelecide do his stuff. If that's what you asked for.
PC: RTX 2070 | Ryzen R9 5950X (no OC) | 64 GB RAM
Notebook: RTX 4060 | Ryzen R9 7945HX | 32 GB RAM
DAE avatar
Guest

Re: Sequence of operation

Post by Guest »

I am not de-interlacing with DGSource in my example
I am using DGTelicide as the de-interlacer, that is why I am asking the question as DGTelecide is part of DGSource
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: Sequence of operation

Post by admin »

As DJATOM says, DGSource() will do its stuff before DGTelecide(). Therefore, as resizing before deinterlacing is bad, your script is bad. You should resize after deinterlacing (using Avisynth resizing).

DGTelecide() is not "part of DGSource()". It is simply packaged in the same DLL.
DAE avatar
Guest

Re: Sequence of operation

Post by Guest »

Thanks for the clarification
DAE avatar
Guest

Re: [RESOLVED] Sequence of operation

Post by Guest »

One more question if I may, is this sequence of filters okay?

De-interlace
Crop
Denoise
Resize
Sharpen
User avatar
admin
Posts: 4551
Joined: Thu Sep 09, 2010 3:08 pm

Re: [RESOLVED] Sequence of operation

Post by admin »

Looks fine to me. You can also crop first if you do it mod 2.
DAE avatar
Guest

Re: [RESOLVED] Sequence of operation

Post by Guest »

Thank you
Post Reply