Senior Member
Join Date: Feb 2010
Posts: 319
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quoted: 0 Post(s)
Liked: 10



Thread Tools 
Sponsored Links  
Advertisement




For people who want to apply different setting for 480p, 720p and 1080p video on realtime playback(just like me), here is my script to share with you guys(adapted from widezu69, neograniceni and SubJunk's awesome script ).
SetMemoryMax(1024) SetMTMode(1, 9) ffdshow_source() SetMTMode(2) Height(last) <= 480 ? Eval(""" super = MSuper(hpad=0, vpad=0, pel=2, rfilter=4) backward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=true, plevel=0, badrange=24) forward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=false, plevel=0, badrange=24) backward_re1 = MRecalculate(super, backward, blksize=8, search=3, searchparam=0) forward_re1 = MRecalculate(super, forward, blksize=8, search=3, searchparam=0) backward_re2 = MRecalculate(super, backward_re1, blksize=4, search=3, searchparam=0) forward_re2 = MRecalculate(super, forward_re1, blksize=4, search=3, searchparam=0) MFlowFps(super, backward_re2, forward_re2, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), mask=2, ml=10000) """) : Height(last) <= 720 ? Eval(""" super = MSuper(hpad=0, vpad=0, pel=2, rfilter=4) backward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=true, chroma=false, plevel=0, badrange=24) forward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=false, chroma=false, plevel=0, badrange=24) backward_re1 = MRecalculate(super, backward, blksize=8, search=3, searchparam=0, chroma=false) forward_re1 = MRecalculate(super, forward, blksize=8, search=3, searchparam=0, chroma=false) backward_re2 = MRecalculate(super, backward_re1, blksize=4, search=3, searchparam=0, chroma=false) forward_re2 = MRecalculate(super, forward_re1, blksize=4, search=3, searchparam=0, chroma=false) MFlowFps(super, backward_re2, forward_re2, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), mask=2, ml=10000) """) : Eval(""" super = MSuper(hpad=0, vpad=0, pel=1, chroma=false, rfilter=4) backward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=true, chroma=false, plevel=0, badrange=24) forward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=false, chroma=false, plevel=0, badrange=24) backward_re = MRecalculate(super, backward, blksize=8, search=3, searchparam=0, chroma=false) forward_re = MRecalculate(super, forward, blksize=8, search=3, searchparam=0, chroma=false) MFlowFps(super, backward_re, forward_re, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), mask=0, ml=10000) """) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last 
SetMTMode(1, 16) ffdshow_source() SetMTMode(2) Framerate <=30 && Height(last) <= 720 ? Eval(""" super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4) backward_1 = MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(24)) forward_1 = MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(24)) backward_2 = MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3) forward_2 = MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3) backward_3 = MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3) forward_3 = MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3) MFlowFps(super, backward_3, forward_3, num=50, den=1, ml=10000) """) : Framerate <=30 && Height(last) > 720 Eval(""" super = MSuper(hpad=0, vpad=0, pel=1, chroma=false, rfilter=4) backward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=true, chroma=false, plevel=0, badrange=24) forward = MAnalyse(super, blksize=16, search=3, searchparam=0, isb=false, chroma=false, plevel=0, badrange=24) backward_re = MRecalculate(super, backward, blksize=8, search=3, searchparam=0, chroma=false) forward_re = MRecalculate(super, forward, blksize=8, search=3, searchparam=0, chroma=false) MFlowFps(super, backward_re, forward_re, num=50, den=1, mask=0, ml=10000) """) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last
Framerate <= 30 && Height(last) <= 720 ? Eval(""" x x x """) : Framerate <= 30 && Height(last) > 720 ? Eval(""" x x x """) : last
@mark007, you can adjust the delay of sound in mpc to realign the with the video in the playback using options > audio switcher. The flickering of old frames is a common flaw with this as it has to 'burn up' the pre rendered frames before making new ones.
The object flickering artefact is just the way the script works. The back ground is moving way too fast for the foreground object to be estimated correctly. Remember it is still a 2d image and mvtools or any other script is not clever enough to know the depth of view. Try this script as it only estimates luma values, should work better for 1080p without much compromise on visual quality. SetMemoryMax(1536) SetMTMode(1,16) V = ffdshow_source() SetMTMode(2) S = V.MSuper(pel=2, hpad=0, vpad=0, rfilter=4) A = S.MAnalyse(isb=true, chroma=false, blksize=16, search=3, plevel=0, searchparam=3, badrange=(24)) B = S.MAnalyse(isb=false, chroma=false, blksize=16, search=3, plevel=0, searchparam=3, badrange=(24)) C = S.MRecalculate(A, chroma=false, blksize=8, search=3, searchparam=1) D = S.MRecalculate(B, chroma=false, blksize=8, search=3, searchparam=1) E = S.MRecalculate(C, chroma=false, blksize=4, search=3, searchparam=0) F = S.MRecalculate(D, chroma=false, blksize=4, search=3, searchparam=0) V.MFlowFps(S, E, F, num=FramerateNumerator(V)*2, den=FramerateDenominator(V)*1, mask=2, ml=10000) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last 
setmtmode(2, 8) ffdshow_source() Width <= 1400 ? Eval(""" setmtmode(2) superclip=MSuper(pel=2, hpad=8, vpad=8, rfilter=4) One=MAnalyse(superclip, isb=true, blksize=16, search=2, searchparam=6, badrange=(28)) Two=MRecalculate(superclip, One, chroma=false, blksize=16, blksizev=16, search=2, searchparam=6) three=MAnalyse(superclip, isb=true, blksize=16, search=2, searchparam=7, badrange=(18)) four=MRecalculate(superclip, three, chroma=false, blksize=16, blksizev=16, search=2, searchparam=7) Framerate == 90 Framerate <= 28 ? MBlockFps(superclip,One, Three, num=90, den=1, mode=1) : last (Framerate > 28 && Framerate <=30)  Framerate == 60 ? MBlockFps(superclip, One, Three, num=60, den=1, mode=1) : last distributor() """): last Width > 1400 ? Eval(""" superclip=MSuper(pel=2, hpad=8, vpad=8, rfilter=4) One=MAnalyse(superclip, isb=true, blksize=16, search=2, searchparam=6, badrange=(28)) Two=MRecalculate(superclip, One, chroma=false, blksize=16, blksizev=16, search=2, searchparam=6) three=MAnalyse(superclip, isb=true, blksize=16, search=2, searchparam=7, badrange=(18)) four=MRecalculate(superclip, three, chroma=false, blksize=16, blksizev=16, search=2, searchparam=7) Framerate == 60 Framerate <= 28 ? MBlockFps(superclip, One, Three, num=60, den=1, mode=1) : last (Framerate > 28 && Framerate <=30)  Framerate == 60 ? MBlockFps(superclip, One, Three, num=60, den=1, mode=1) : last distributor() """): last
SetMTMode(1, 16) ffdshow_source() SetMTMode(2) Height(last) < 1080 ? Eval(""" super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4) backward_1 = MAnalyse(super, isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(24)) forward_1 = MAnalyse(super, isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(24)) backward_2 = MRecalculate(super, backward_1, blksize=8, searchparam=1, search=3) forward_2 = MRecalculate(super, forward_1, blksize=8, searchparam=1, search=3) backward_3 = MRecalculate(super, backward_2, blksize=4, searchparam=0, search=3) forward_3 = MRecalculate(super, forward_2, blksize=4, searchparam=0, search=3) #MFlowFps(super, backward_3, forward_3, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), ml=10000) MBlockFps(super, backward_3, forward_3, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), mode=2) """) : Eval(""" super = MSuper(pel=2, hpad=0, vpad=0, rfilter=4) backward_1 = MAnalyse(super, chroma=false,isb=true, blksize=16, searchparam=3, plevel=0, search=3, badrange=(24)) forward_1 = MAnalyse(super, chroma=false,isb=false, blksize=16, searchparam=3, plevel=0, search=3, badrange=(24)) backward_2 = MRecalculate(super, chroma=false,backward_1, blksize=8, searchparam=1, search=3) forward_2 = MRecalculate(super, chroma=false,forward_1, blksize=8, searchparam=1, search=3) #backward_3 = MRecalculate(super, chroma=false,backward_2, blksize=4, searchparam=0, search=3) #forward_3 = MRecalculate(super,chroma=false, forward_2, blksize=4, searchparam=0, search=3) #MFlowFps(super, backward_3, forward_3, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), ml=10000) MBlockFps(super, backward_2, forward_2, num=FrameRateNumerator(last)*2, den=FrameRateDenominator(last), mode=2) """) SetMTMode(1) GetMTMode(false) > 0 ? distributor() : last
Sponsored Links  
Advertisement



Thread Tools  


Posting Rules  