Advertisement
Guest User

WINDOWS10

a guest
Aug 8th, 2015
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.10 KB | None | 0 0
  1. # This script was generated by SmoothVideo Project (SVP) Manager.
  2. # Check http://www.svp-team.com for more details.
  3.  
  4. SetMemoryMax(1024)
  5.  
  6. global threads=7
  7. global svp_scheduler=true
  8.  
  9. LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow1.dll")
  10. LoadPlugin("C:\Program Files (x86)\SVP\plugins\svpflow2.dll")
  11.  
  12. SetMTMode(3,threads)
  13. ffdShow_source()
  14. SetMTMode(2)
  15.  
  16. global crop_params=""
  17. global resize_string=""
  18. global super_params="{scale:{up:0},gpu:1,rc:true}"
  19. global analyse_params="{main:{search:{coarse:{distance:-10,bad:{sad:2000}}}},refine:[{thsad:250}]}"
  20. global smoothfps_params="{rate:{num:5,den:2},algo:13,scene:{}}"
  21.  
  22. global demo_mode=0
  23. stereo_type=0
  24. stereo_left_selection=""
  25. stereo_right_selection=""
  26.  
  27. ########## BEGIN OF MSMoothFps.avs ##########
  28. # This file is a part of SmoothVideo Project (SVP) 3.1
  29. # This is NOT the full AVS script, all used variables are defined via
  30. # JavaScript code that generates the full script text.
  31.  
  32. function interpolate(clip src)
  33. {
  34. input = crop_params=="" ? src : eval("src.crop("+crop_params+")")
  35. input = resize_string=="" ? input : eval("input."+resize_string)
  36.  
  37. super=SVSuper(input, super_params)
  38. vectors=SVAnalyse(super, analyse_params, src=input)
  39. smooth=SVSmoothFps(input, super, vectors, smoothfps_params, mt=threads, url="www.svp-team.com")
  40.  
  41. return demo_mode==0 ? smooth : demo(input,smooth)
  42. }
  43.  
  44. input=last
  45.  
  46. stereo_type==0 ? eval(""" interpolate(input)
  47. """) : stereo_type==1 || stereo_type==3 ? eval("""
  48. lf = interpolate(input.crop(0,0,input.width/2,0))"""+stereo_left_selection+"""
  49. rf = interpolate(input.crop(input.width/2,0,0,0))"""+stereo_right_selection+"""
  50. StackHorizontal(lf, rf)
  51. """) : stereo_type==2 || stereo_type==4 ? Eval("""
  52. lf = interpolate(input.crop(0,0,0,input.height/2))"""+stereo_left_selection+"""
  53. rf = interpolate(input.crop(0,input.height/2,0,0))"""+stereo_right_selection+"""
  54. StackVertical(lf, rf)""") : input
  55.  
  56. ########### END OF MSMoothFps.avs ###########
  57. distributor()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement