SHARE
TWEET

AviSynth for Schorman's SW HDTV - ROTJ

a guest May 29th, 2014 780 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #Schorman's Star Wars DVD/HDTV Preservation - Return of the Jedi
  2.  
  3. #SOURCES
  4.  
  5. #German HDTV Source
  6. AVCSource("jedi hd deu.dga").CropBottom(8).AssumeFPS(23.976024)
  7. A=last.BlankClip(50)+last.Trim(0,193810)+last.BlankClip(61)
  8.  
  9. #English HDTV Source
  10. AVCSource("jedi hd eng.dga").Spline64Resize(1916,816).Tweak(bright=-1,coring=false).MSharpen(7,50,highq=true).Addgrain(sse2=true).AddBorders(2,132,2,132).AssumeFPS(23.976024)
  11. B=last.BlankClip(48)+last+last.BlankClip(38)
  12.  
  13. #Blu Ray Source
  14. AVCSource("jedi bd.dga").Blur(.2).AssumeFPS(23.976024).Tweak(bright=-2,Hue=-2,coring=false)
  15. C=last.BlankClip(24)+last.Trim(0,193895)
  16.  
  17. #Subtitles
  18. D=StackHorizontal(A.Crop(0,0,-1918,0),StackVertical(A.Crop(2,0,0,-948),B.Crop(2,132,0,-132),A.Crop(2,948,0,0)))
  19.  
  20. G=StackHorizontal(A.Crop(0,0,-1472,0), StackVertical(A.Crop(448,0,-438,-284), D.Crop(448,796,-438,-132), A.Crop(448,948,-438,0)), A.Crop(1482,0,0,0))
  21.  
  22. H=StackHorizontal(A.Crop(0,0,-1484,0), StackVertical(A.Crop(436,0,-436,-212), D.Crop(436,868,-436,-132), A.Crop(436,948,-436,0)), A.Crop(1484,0,0,0))
  23.  
  24. #Crawl
  25. E=C.ConvertToRGB().Letterbox(0,0,1,0).ConvertToYV12().MergeChroma(StackHorizontal(C.Crop(0,0,-1918,0),StackVertical(C.Crop(2,0,0,-948),B.Crop(2,132,0,-132),C.Crop(2,948,0,0))))
  26.  
  27. #Patches
  28. F=C.ConvertToRGB().Letterbox(0,0,1,0).ConvertToYV12().MergeChroma(Median1(A,B,C).AddGrain(sse2=true))
  29.  
  30.  
  31. #Final Assembly
  32. A.Trim(0,535)+E.Trim(536,3463)+A.Trim(3464,14366)+A.Trim(14367,14405)+H.Trim(14406,14498)+F.Trim(14499,14499)+F.Trim(14500,14508)+A.Trim(14509,14555)+A.Trim(14556,14556)+G.Trim(14557,14734)+A.Trim(14735,14759)+G.Trim(14760,14852)+A.Trim(14853,14881)+A.Trim(14882,18372)+A.Trim(18373,18373)+H.Trim(18374,18455)+F.Trim(18456,18456)+F.Trim(18457,18461)+A.Trim(18462,21103)+A.Trim(21104,21172)+G.Trim(21173,21275)+F.Trim(21276,21280)+A.Trim(21281,21401)+A.Trim(21402,21418)+G.Trim(21419,21531)+F.Trim(21532,21533)+A.Trim(21534,22096)+A.Trim(22097,22153)+H.Trim(22154,22204)+F.Trim(22205,22205)+A.Trim(22206,23104)+A.Trim(23105,23259)+G.Trim(23260,23369)+A.Trim(23370,23390)+H.Trim(23391,23459)+A.Trim(23460,23483)+A.Trim(23484,29469)+F.Trim(29470,29473)+F.Trim(29474,29474)+H.Trim(29475,29561)+G.Trim(29562,29565)+F.Trim(29566,29566)+G.Trim(29567,29681)+F.Trim(29682,29682)+G.Trim(29683,29766)+A.Trim(29767,29767)+A.Trim(29768,29902)+A.Trim(29903,29926)+H.Trim(29927,29981)+A.Trim(29982,29982)+A.Trim(29983,30153)+F.Trim(30154,30157)+F.Trim(30158,30158)+H.Trim(30159,30211)+A.Trim(30212,30212)+A.Trim(30213,30266)+A.Trim(30267,30453)+H.Trim(30454,30504)+A.Trim(30505,30505)+A.Trim(30506,34074)+A.Trim(34075,34163)+F.Trim(34164,34173)+G.Trim(34174,34276)+A.Trim(34277,34314)+H.Trim(34315,34381)+A.Trim(34382,34400)+H.Trim(34401,34482)+A.Trim(34483,34483)+A.Trim(34484,34520)+F.Trim(34521,34529)+G.Trim(34530,34635)+A.Trim(34636,34636)+F.Trim(34637,34638)+A.Trim(34639,34853)+F.Trim(34854,34862)+F.Trim(34863,34863)+G.Trim(34864,34988)+A.Trim(34989,34989)+F.Trim(34990,34992)+A.Trim(34993,35381)+F.Trim(35382,35391)+G.Trim(35392,35503)+A.Trim(35504,35504)+A.Trim(35505,35520)+F.Trim(35521,35530)+G.Trim(35531,35617)+A.Trim(35618,35655)+A.Trim(35656,40419)+F.Trim(40420,40434)+H.Trim(40435,40510)+G.Trim(40511,40628)+A.Trim(40629,40654)+A.Trim(40655,44182)+A.Trim(44183,44189)+G.Trim(44190,44362)+A.Trim(44363,44363)+A.Trim(44364,46249)+A.Trim(46250,46280)+H.Trim(46281,46370)+A.Trim(46371,46371)+A.Trim(46372,46927)+F.Trim(46928,46948)+H.Trim(46949,47004)+A.Trim(47005,47005)+A.Trim(47006,99913)+F.Trim(99914,99941)+A.Trim(99942,193440)+F.Trim(193441,193451)+A.Trim(193452,193860)+E.Trim(193861,0)
  33.  
  34. last.letterbox(130,130,0,0)
  35.  
  36. Function Median1(clip input_1, clip input_2, clip input_3, string "chroma")
  37. {# median of 3 clips from Helpers.avs by G-force
  38.  
  39. chroma = Default(chroma,"process") #default is "process". Alternates: "copy first" or "copy second"
  40.  
  41. Interleave(input_1,input_2,input_3)
  42. chroma == "process" ? Clense(reduceflicker=false) : Clense(reduceflicker=false,grey=true)
  43. SelectEvery(3,1)
  44.  
  45. chroma == "copy first" ? last.MergeChroma(input_1) : chroma == "copy second" ? last.MergeChroma(input_2) : last
  46.  
  47. Return(last)
  48. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top