Page 1 of 1

[RESOLVED] Sequence of operation

Posted: Sun Jun 16, 2019 6:29 am
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

Re: Sequence of operation

Posted: Sun Jun 16, 2019 8:15 am
by DJATOM
Obviously DGSource returns de-interlaced and resized data, then DGTelecide do his stuff. If that's what you asked for.

Re: Sequence of operation

Posted: Sun Jun 16, 2019 9:56 am
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

Re: Sequence of operation

Posted: Sun Jun 16, 2019 10:36 am
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.

Re: Sequence of operation

Posted: Sun Jun 16, 2019 10:43 am
by Guest
Thanks for the clarification

Re: [RESOLVED] Sequence of operation

Posted: Mon Jun 17, 2019 4:57 pm
by Guest
One more question if I may, is this sequence of filters okay?

De-interlace
Crop
Denoise
Resize
Sharpen

Re: [RESOLVED] Sequence of operation

Posted: Mon Jun 17, 2019 5:15 pm
by admin
Looks fine to me. You can also crop first if you do it mod 2.

Re: [RESOLVED] Sequence of operation

Posted: Mon Jun 17, 2019 5:35 pm
by Guest
Thank you