jellysandwich
11th October 2005, 01:30
Let's say that I wanted warpsharp everything in my video except the intro and the credits. Right now, I use this bloated copy/paste/trim script:
function VD_WarpSharp(clip clip, int "depth", int "blur")
{
LoadVirtualdubPlugin("c:\progra~1\gordia~1\avisynth25\warpsharp.vdf", "_VD_WarpSharp")
return clip._VD_WarpSharp(depth,blur)
}
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynth25\IT.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynth25\decomb522.dll")
# SOURCE
mpeg2source("D:\FLCL\1\1.d2v")
AssumeTFF().Telecide(guide=0,post=0,vthresh=50,dthresh=0,ovr="ovr.txt",show=false).Decimate(mode=0)
crop(4,0,712,480)
LanczosResize(640,480)
Undot()
ConvertToRGB().VD_WarpSharp(50,4).ConvertToYV12()
Clip1=Trim(0,31681)
mpeg2source("D:\FLCL\1\1.d2v")
AssumeTFF().Telecide(guide=0,post=0,vthresh=50,dthresh=0,ovr="ovr.txt",show=false).Decimate(mode=0)
crop(4,0,712,480)
LanczosResize(640,480)
Undot()
Clip2=Trim(31682,0)
AlignedSplice(Clip1,Clip2)
Is there an easier way that doesn't require copy/pasting?
js
function VD_WarpSharp(clip clip, int "depth", int "blur")
{
LoadVirtualdubPlugin("c:\progra~1\gordia~1\avisynth25\warpsharp.vdf", "_VD_WarpSharp")
return clip._VD_WarpSharp(depth,blur)
}
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\DGMPGDec\DGDecode.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\decomb.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynthPlugins\UnDot.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynth25\IT.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\AviSynth25\decomb522.dll")
# SOURCE
mpeg2source("D:\FLCL\1\1.d2v")
AssumeTFF().Telecide(guide=0,post=0,vthresh=50,dthresh=0,ovr="ovr.txt",show=false).Decimate(mode=0)
crop(4,0,712,480)
LanczosResize(640,480)
Undot()
ConvertToRGB().VD_WarpSharp(50,4).ConvertToYV12()
Clip1=Trim(0,31681)
mpeg2source("D:\FLCL\1\1.d2v")
AssumeTFF().Telecide(guide=0,post=0,vthresh=50,dthresh=0,ovr="ovr.txt",show=false).Decimate(mode=0)
crop(4,0,712,480)
LanczosResize(640,480)
Undot()
Clip2=Trim(31682,0)
AlignedSplice(Clip1,Clip2)
Is there an easier way that doesn't require copy/pasting?
js