Since i have to deinterlace tv addons on triple jtv this is a quick guide how to do it and add to AviSynth script.
Script should look like this: (in red)
DGDecode_mpeg2source("F:\Capping\augie march 06.d2v",info=3)
ColorMatrix(hints=true)
#deinterlace
Load_Stdcall_Plugin("C:\Documents and Settings\Michael Riley\Desktop\Ben's Stuff\megui\tools\yadif\yadif.dll")
main = last
main.Trim(0,0) ++ main.Trim(0,30).Yadif(order=1) ++ main.Trim(31,0)
main = last
main.Trim(0,32) ++ main.Trim(33,449) ++ main.Trim(450,570).Yadif(order=1) ++ main.Trim(571,0)
main = last
main.Trim(0,572) ++ main.Trim(573,5490) ++ main.Trim(5491,7157).Yadif(order=1) ++ main.Trim(7158,31)
function VD_Logo(clip clip, int "x", int "y", int "alpha", bool "transparent",
\ int "xr", int "xg", int "xb", int "tolerance", string "filename",
\ bool "animate", int "start", int "duration", int "loops",
\ int "fadeinlen", int "fadeoutend", int "fadeoutlen")
{
LoadVirtualdubPlugin("C:\Documents and Settings\Michael Riley\Desktop\Ben's Stuff\Watermarks"
\ +"\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,65), default(y,411), default(alpha,240),
\ default(transparent,true)?1:0, default(xr,0), default(xg,0),
\ default(xb,255),default(tolerance,0), default
\ (filename,"C:\David's Folder\virtualdub mod\plugins\Frenchy Logo.bmp"),
\ default(animate,false)?1:0, default(start,0), default(duration,0),
\ default(loops,0),default(fadeinlen,0),
\ default(fadeoutend,200), default(fadeoutlen,0))
}
ConvertToRGB()
VD_logo(10,10,240,true,0,0,0,0,"C:\Documents and Settings\Michael Riley\Desktop\Ben's Stuff\Watermarks\watermark720x576-bensta.bmp",false,450,0,0,20,570,20)
crop( 2, 2, -12, -2)
LanczosResize(704,384) # Lanczos (Sharp)
#denoise
ConvertToYV12()
Info:
"main = last"
Footage that is progressive (before the tv addons or logos)
"main.Trim(0,30).Yadif(order=1)" <--- is part (range) where you have tv addons that need deinterlacing, after the brackets or trim and dot you specify the deinterlace filter can be anything FieldDeinterlace(), Yadif(), TomsMoComp etc. also some deinterlaces cut video a few lines (and leave greenish line on the bottom) so make sure that doesn't happen)
"++ main.Trim(31,0)" first frame after there are no tv addons anymore till end (that's the 0 for)
Some info was passed by serch so give him the credit for this post.
Bookmarks