Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Capturing and Editing Video > Avisynth Usage
Register FAQ Calendar Today's Posts Search

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12th July 2009, 11:25   #1  |  Link
shoopdabloop
Registered User
 
Join Date: Mar 2009
Posts: 166
Is this script already as optimized as can be?

Or can it be optimized more with no visible difference?

Here's a 7z containing an unprocessed sample, a processed clip of the sample, and the script:
http://www.megaupload.com/?d=4OTM5OL0

the unprocessed sample isn't technically unprocessed; i loaded an AVS with a simple AviSource of the source and a KillAudio into VDM, took a sample of it, and re-encoded it with a dvsd codec (cedocida) very similar to the original (sony dv) because i wasn't sure how to get a sample otherwise. but the post-script output looks identical when operating on the original source compared to the provided sample. (the provided one is compressed with xvid, however)

and just in case you just want to look at the script, here it is:

Code:
#filters used:
#MT, removegrain, nnedi2, motionprotectedfps, mvtools2, fft3dfilter, gradfun2dbmod, warpsharp (2003), and depan

AviSource("filmlook sample - unprocessed.avi").AssumeBFF()
MT("removegrain()",0,splitvertical=true,overlap=4)
nnedi2(field=-2)
motionprotectedfps(239.76)
b = selectevery(10, 1)
selectevery(10, 0)
Merge(b)
#the merging of the two slightly different points in time simulates a 1/48 shutter speed from the original 1/60
LanczosResize(752,500)
MT("""
super = MSuper()
bv2 = MAnalyse(super,isb=true, delta=2)
bv1 = MAnalyse(super,isb=true, delta=1)
fv1 = MAnalyse(super,isb=false,delta=1)
fv2 = MAnalyse(super,isb=false,delta=2)
MDegrain2(super,bv1,fv1,bv2,fv2)
""",0,overlap=4)
MT("fft3dfilter()",0,splitvertical=true,overlap=4)
MT("gradfun2dbmod()",0,splitvertical=true,overlap=4)
MT("warpsharp(64)",0,overlap=4)
mdata = DePanEstimate(trust=0)
DePanStabilize(data=mdata,dxmax=12,dymax=12,mirror=12)
Crop2(720,356)
#simply a shorthand for Crop(16,72,-16,-72)
AddBorders(0,62,0,62)
ColorYUV(levels="TV->PC")
#final output: 720x480 23.976p
shoopdabloop is offline   Reply With Quote
 

Tags
film, multithreaded, optimize, script


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:39.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.