引用
最初由 squallwu 发布
# PLUGINS
LoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
LoadPlugin("D:\Program Files\VirtualDub\PlugIns\textsub.vdf")
global VirtualDub_plugin_directory = "VD目录\plugins"
# SOURCE
VideoSource=mpeg2source("E:\hpo\real.d2v")
AudioSource=WAVSource("E:\hpo\real.wav")
AudioDub(VideoSource, AudioSource)
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("VD目录\plugins\logo.vdf", "_VD_Logo", 1)
return clip._VD_Logo(default(x,0), default(y,0), default(alpha,128),
\ default(transparent,true)?1:0, default(xr,0), default(xg,0), default(xb,255),
\ default(tolerance,0), default(filename,VirtualDub_plugin_directory+"\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))
}
# IVTC
Telecide()
Decimate(cycle=5)
# SUBTITLES
TextSub("E:\hpo\real.ssa")
ConvertToRGB()
VD_logo(0,0,128,true,0,0,255,0,"图片目录",true,0,10000,0,0,0,0)
ConvertToYUY2()
完整的调用图片是这样的...要用到一个LOGO.VDF,你需要的话留下你的E-MAIL地址,我发给你...
我改为
#
# Created with Gordian Knot
#
#
http://thewef.nav.to#
# PLUGINS
# get them from
http://users.win.be/divideeLoadPlugin("C:\PROGRA~1\GORDIA~1\mpeg2dec.dll")
LoadPlugin("C:\PROGRA~1\GORDIA~1\decomb.dll")
LoadPlugin("D:\Program Files\VirtualDub\PlugIns\textsub.vdf")
#
# SOURCE
VideoSource=mpeg2source("E:\hpo\real.d2v")
AudioSource=WAVSource("E:\hpo\real.wav")
AudioDub(VideoSource, AudioSource)
#
# TRIM
#trim(startframe,endframe)
#
# IVTC
Telecide()
Decimate(cycle=5)
# or use
#InverseTelecine(40,10,15)
#GreedyHMA(1,0,4,0,0,0,0,0)
#
# DEINTERLACING
#FieldDeinterlace()
# or use
#VerticalReduceBy2
# or maybe
#GreedyHMA(1,0,0,0,0,0,0,0)
#
# CROPPING
crop(30,33,640,413)
#
# SUBTITLES
TextSub("E:\hpo\real.ssa")
#
# RESIZING
BicubicResize(640,480,0,0.75)
#
# DENOISING: choose one combination (or none)
# 1) little noise (fast)
#TemporalSmoother(2,1)
#
# 2) medium noise (slow)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#TemporalSmoother(2)
#
# 3) heavy noise (very slow, you have been warned)
#SpatialSoftenMMX(2,4,6,false,false,4,4,6,8)
#TemporalSmoother(3)
#SpatialSoftenMMX(1,4,6,false,false,4,4,6,8)
#
# BORDERS
#AddBorders(left,top,right,bottom)
#
# COMPRESSIBILITY CHECK
# !!!!Snip Size now has to be 14 for use in GKnot!
#SelectRangeEvery(280,14)
#
# FOOL CCEnc
#ResampleAudio(44100)
这样之后,压出来的片子不正常啊,有一条条纹,看不了画面
我的邮箱是shitdown_8@hotmail.com