Thread: DG NV tools
View Single Post
Old 12th April 2010, 12:21   #1397  |  Link
hydra3333
Registered User
 
Join Date: Oct 2009
Location: crow-land
Posts: 540
I'm doing something wrong or misunderstanding something, unless DGindex and DGIndexNV are doing different things ...

I'd expected the same frame number in each clip to be almost exactly the same. But after the 1st frame, they look to be out of sync by at least 1 frame for some reason I don't as yet fathom (it's easier to tell single-stepping frames in Vdub when a fade-in/out is happening).
Code:
dgi=DGMultiSource("G:\HDTV\AFL\compare\R3-HD-Q2.dgi",deinterlace=2,resize_w=720,resize_h=576)
dgi= dgi.HEIGHT==1088 ? dgi.cropbottom(8) : dgi
dgi=dgi.ScriptClip("""subtitle("dgi " + string(current_frame),size=25)""") 

D2V=MPEG2Source("G:\HDTV\AFL\compare\R3-HD-Q2.d2v",info=0,ipp=true,cpu=0).AssumeFPS(25).AssumeTFF() 
d2V= d2v.HEIGHT==1088 ? d2v.cropbottom(8) : d2v
D2V=D2v.yadifmod(mode=1, edeint=D2V.nnedi2(field=-2)) 
D2V=D2v.Lanczos4Resize(720,576) 
D2V=D2V.ScriptClip("""subtitle("D2V " + string(current_frame),size=25)""") 

INTERLEAVE(D2V,dgi)
SetPlanarLegacyAlignment(True)

Same source mpeg2 1440x1080i25 TFF.

Clarification welcomed.

Last edited by hydra3333; 12th April 2010 at 12:24.
hydra3333 is offline   Reply With Quote