All pastes #986851 Raw Edit

Stuff

public text v1 · immutable
·published 2008-04-16 00:53 UTC
rendered paste body
audio = WavSource("ace.wav")

a = ImageSource("ace%04d.tga", 0, 1601, 300)
a = a.FadeIn(600, $000000, 300)
a = a.Sharpen(0.2)

b = ImageSource("ace%04d.tga", 1602, 2124, 300)
b = b.Animate(0, 90, "Sharpen", 1.0, 0.2)
b = b.Animate(0, 90, "Sharpen", 1.0, 0.2)
b = b.Animate(0, 150, "RGBAdjust", 1.0, 1.0, 2.5, 1.0, 1.0, 1.0, 1.0, 1.0)

c = ImageSource("ace%04d.tga", 2125, 2196, 300)
c = c.Animate(0, 90, "Sharpen", 1.0, 0.2)
c = c.Animate(0, 90, "Sharpen", 1.0, 0.2)
c = c.Animate(0, 150, "RGBAdjust", 1.0, 1.0, 2.5, 1.0, 1.0, 1.0, 1.0, 1.0)

d = ImageSource("ace%04d.tga", 2197, 2418, 300)
d = d.Animate(0, 90, "Sharpen", 1.0, 0.2)
d = d.Animate(0, 90, "Sharpen", 1.0, 0.2)
d = d.Animate(0, 150, "RGBAdjust", 1.0, 1.0, 2.5, 1.0, 1.0, 1.0, 1.0, 1.0)

e = ImageSource("ace%04d.tga", 2419, 2718, 300)
e = e.Animate(0, 90, "Sharpen", 1.0, 0.2)
e = e.Animate(0, 90, "Sharpen", 1.0, 0.2)
e = e.Animate(0, 150, "RGBAdjust", 1.0, 1.0, 2.5, 1.0, 1.0, 1.0, 1.0, 1.0)

ea = ImageSource("ace%04d.tga", 2719, 3598, 300)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Reverse()
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Animate(0, 90, "Blur", 0.0, 1.5)
ea = ea.Reverse()

eb = ImageSource("ace%04d.tga", 3599, 4263, 300)

f = ImageSource("ace%04d.tga", 4264, 5168, 300)
f = f.Animate(0, 90, "Sharpen", 1.0, 0.2)
f = f.Animate(0, 90, "Sharpen", 1.0, 0.2)
f = f.Animate(0, 150, "RGBAdjust", 1.0, 1.0, 2.5, 1.0, 1.0, 1.0, 1.0, 1.0)
f = f.FadeOut(600, $000000, 300)

a = a.ConvertToYV12()
b = b.ConvertToYV12()
c = c.ConvertToYV12()
d = d.ConvertToYV12()
e = e.ConvertToYV12()
ea = ea.ConvertToYV12()
eb = eb.ConvertToYV12()
f = f.ConvertToYV12()

abV = a.MVAnalyse(isb=true, truemotion=true)
afV = a.MVAnalyse(isb=false, truemotion=true)
bbV = b.MVAnalyse(isb=true, truemotion=true)
bfV = b.MVAnalyse(isb=false, truemotion=true)
cbV = c.MVAnalyse(isb=true, truemotion=true)
cfV = c.MVAnalyse(isb=false, truemotion=true)
dbV = d.MVAnalyse(isb=true, truemotion=true)
dfV = d.MVAnalyse(isb=false, truemotion=true)
ebV = e.MVAnalyse(isb=true, truemotion=true)
efV = e.MVAnalyse(isb=false, truemotion=true)
eabV = ea.MVAnalyse(isb=true, truemotion=true)
eafV = ea.MVAnalyse(isb=false, truemotion=true)
ebbV = eb.MVAnalyse(isb=true, truemotion=true)
ebfV = eb.MVAnalyse(isb=false, truemotion=true)
fbV = f.MVAnalyse(isb=true, truemotion=true)
ffV = f.MVAnalyse(isb=false, truemotion=true)

ea = ea.MVFlowFps(eabV, eafV, 300, 1)

a = a.MVFlowBlur(abV, afV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
b = b.MVFlowBlur(bbV, bfV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
c = c.MVFlowBlur(cbV, cfV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
d = d.MVFlowBlur(dbV, dfV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
e = e.MVFlowBlur(ebV, efV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
ea = ea.MVFlowBlur(eabV, eafV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
eb = eb.MVFlowBlur(ebbV, ebfV, blur=200).TemporalSoften(1, 255, 255, 50, 2)
f = f.MVFlowBlur(fbV, ffV, blur=200).TemporalSoften(1, 255, 255, 50, 2)

video = a+b+c+d+e+ea+eb+f

video.AssumeFPS(300)

final = AudioDub(video, audio)

part1 = final.Trim(0, 2718, false)
part2 = final.Trim(2719, 3598, false).AssumeFPS(1500, sync_audio=true).ResampleAudio(44100).ChangeFPS(300)
part3 = final.Trim(3599, 5168, false)

video = part1+part2+part3
video.AssumeFPS(300)
return video.SelectEvery(10, 1)