killerhis
13th March 2003, 20:03
Hi... I'm a newbee... well actually, i've studied all Avisynth filters and some other plugins... so i know all the basic stuff. But i've got not a lot of experience with scrip writing! This is my first actual script:
#version 1.0 alpha
#variable
end_sub_frame = 300
subtitle_color = $FFFFFF
end_mov_frame = 3000
#Plugins
LoadPlugin("C:\program files\avisynth 2.5\plugins\mpeg2dec_avisynth25\mpeg2dec.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3 v1.00\MPEG2Dec3.dll")
LoadPlugin("C:\program files\avisynth 2.5\plugins\decomb406b6\decomb.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dup201\Dup.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth-1.0\FluxSmooth-2.5.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEGDecoder_YV12\MPEGDecoder.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\msharpen100\MSharpen.dll")
#source file
mpeg2source("C:\ripping\video.d2v", cpu=4, iPP=true)
#interlaced
FieldDeinterlace(full=true)
YV12toYUY2(interlaced=true)
#editing
Crop(2, 6, -2, -6)
BicubicResize(576, 320)
Trim(0, end_mov_frame)
#subtitle
Subtitle("KillerHIS", x=72, y=63, first_frame=50, last_frame=end_sub_frame, font="Impact", size=30, text_color=subtitle_color)
Subtitle("Gam3R", x=83, y=86, first_frame=75, last_frame=end_sub_frame, font="Impact", size=30, text_color=subtitle_color)
#debug
#Showframenumber()
#Greyscale()
#Tweak(hue = -15, sat = 5, bright = 50, cont = 8)
#FreezeFrame(50, 500, 25)
#Loop(10,100,110)
#SelectRangeEvery(280, 14)
#Histogram()
#Info()
So anyone can give me some advice how i can do this better or improve speed???
I want to apply IVTC on a "PAL Interlaced" movie (at leased that DVD2AVI says).. but i can't get it to work.. anyone got any sugestions about that also... please post your advice here
thnkz
KillerHIS
#version 1.0 alpha
#variable
end_sub_frame = 300
subtitle_color = $FFFFFF
end_mov_frame = 3000
#Plugins
LoadPlugin("C:\program files\avisynth 2.5\plugins\mpeg2dec_avisynth25\mpeg2dec.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEG2Dec3 v1.00\MPEG2Dec3.dll")
LoadPlugin("C:\program files\avisynth 2.5\plugins\decomb406b6\decomb.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\dup201\Dup.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\FluxSmooth-1.0\FluxSmooth-2.5.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\MPEGDecoder_YV12\MPEGDecoder.dll")
LoadPlugin("C:\Program Files\AviSynth 2.5\plugins\msharpen100\MSharpen.dll")
#source file
mpeg2source("C:\ripping\video.d2v", cpu=4, iPP=true)
#interlaced
FieldDeinterlace(full=true)
YV12toYUY2(interlaced=true)
#editing
Crop(2, 6, -2, -6)
BicubicResize(576, 320)
Trim(0, end_mov_frame)
#subtitle
Subtitle("KillerHIS", x=72, y=63, first_frame=50, last_frame=end_sub_frame, font="Impact", size=30, text_color=subtitle_color)
Subtitle("Gam3R", x=83, y=86, first_frame=75, last_frame=end_sub_frame, font="Impact", size=30, text_color=subtitle_color)
#debug
#Showframenumber()
#Greyscale()
#Tweak(hue = -15, sat = 5, bright = 50, cont = 8)
#FreezeFrame(50, 500, 25)
#Loop(10,100,110)
#SelectRangeEvery(280, 14)
#Histogram()
#Info()
So anyone can give me some advice how i can do this better or improve speed???
I want to apply IVTC on a "PAL Interlaced" movie (at leased that DVD2AVI says).. but i can't get it to work.. anyone got any sugestions about that also... please post your advice here
thnkz
KillerHIS