RjBeals
5th September 2008, 17:06
What I want to do is:
1) Load several clips of the same movie.
2) Add a background track in addition to the video's audio. (I can't figure out how to reduce the volume of that background track?)
3) Degrain the interlaced video
4) Deinterlace it
5) Then final resize it to 320x240
What am I doing wrong here?
LoadPlugin("C:\mvtools.dll")
LoadPlugin("C:\TDeint.DLL")
A = AVISource("C:\Documents and Settings\bealr0sp\Desktop\Downloads\capture_30sec.avi").trim(200,300)
B = AVISource("C:\Documents and Settings\bealr0sp\Desktop\Downloads\capture_30sec.avi").trim(700,800)
Soundtrack = WAVSource("C:\Documents and Settings\bealr0sp\Desktop\Downloads\LittleStar.wav")
Source = Dissolve(A, B, 30)
#------------------AUDIO-----------------------
AudioDub(Source, Soundtrack)
#-----------------DeGrain---------------------
source=source.AssumeTFF()
source=source.SeparateFields()#now field 720x240
backward_vec2 = source.MVAnalyse(isb = true, delta = 4, pel = 2, overlap=4, sharp=1, idx = 1)
backward_vec1 = source.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec1 = source.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = source.MVAnalyse(isb = false, delta = 4, pel = 2, overlap=4, sharp=1, idx = 1)
source=source.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400,idx=1)
source.Weave()#Now frame 720x480
#------------------DeInterlace------------------
TDeint(mode=1)
#------------TWEEK------------------------------
FadeIO2(30)
Crop(8, 8, -8, -8)
Lanczos4Resize(320,240)
Tweak(hue=-5.1, sat=1.1, bright=-26, cont=1.1, coring=true, sse=false)
ConvertAudioTo16bit()
1) Load several clips of the same movie.
2) Add a background track in addition to the video's audio. (I can't figure out how to reduce the volume of that background track?)
3) Degrain the interlaced video
4) Deinterlace it
5) Then final resize it to 320x240
What am I doing wrong here?
LoadPlugin("C:\mvtools.dll")
LoadPlugin("C:\TDeint.DLL")
A = AVISource("C:\Documents and Settings\bealr0sp\Desktop\Downloads\capture_30sec.avi").trim(200,300)
B = AVISource("C:\Documents and Settings\bealr0sp\Desktop\Downloads\capture_30sec.avi").trim(700,800)
Soundtrack = WAVSource("C:\Documents and Settings\bealr0sp\Desktop\Downloads\LittleStar.wav")
Source = Dissolve(A, B, 30)
#------------------AUDIO-----------------------
AudioDub(Source, Soundtrack)
#-----------------DeGrain---------------------
source=source.AssumeTFF()
source=source.SeparateFields()#now field 720x240
backward_vec2 = source.MVAnalyse(isb = true, delta = 4, pel = 2, overlap=4, sharp=1, idx = 1)
backward_vec1 = source.MVAnalyse(isb = true, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec1 = source.MVAnalyse(isb = false, delta = 2, pel = 2, overlap=4, sharp=1, idx = 1)
forward_vec2 = source.MVAnalyse(isb = false, delta = 4, pel = 2, overlap=4, sharp=1, idx = 1)
source=source.MVDegrain2(backward_vec1,forward_vec1,backward_vec2,forward_vec2,thSAD=400,idx=1)
source.Weave()#Now frame 720x480
#------------------DeInterlace------------------
TDeint(mode=1)
#------------TWEEK------------------------------
FadeIO2(30)
Crop(8, 8, -8, -8)
Lanczos4Resize(320,240)
Tweak(hue=-5.1, sat=1.1, bright=-26, cont=1.1, coring=true, sse=false)
ConvertAudioTo16bit()