TomsBob

From Avisynth wiki
(Difference between revisions)
Jump to: navigation, search
(redirect (script is now in the TomsMoComp page))
 
(One intermediate revision by one user not shown)
Line 1: Line 1:
This function does uses the special '-1' mode of TomsMoComp for jaggy-free upscaling. It also requires the plugin SimpleResize, obviously, as part of the step to remove bobbing.
+
#REDIRECT [[TomsMoComp#TomsBob]]
 
+
    function TomsBob (clip c)
+
    {
+
        c = c.[[SeparateFields]].TomsMoComp(0,-1,0).SimpleResize(c.width,c.height+1)
+
+
        # add this if your clip starts on a half-frame (e.g. a top-field
+
        # in a BottomFirst clip)
+
        c = c.[[Trim]](1,0)
+
+
        # invert these for TopFirst source material
+
        bottom = c.[[SelectEven]]
+
        top = c.[[SelectOdd]]
+
+
        bottom = bottom.[[Crop]](0,1,0,0)
+
        top = top.Crop(0,0,0,-1)
+
        return [[Interleave]](bottom, top)
+
    }
+
 
+
 
+
Back to [[Shared functions]].
+
 
+
 
[[Category:Shared functions]]
 
[[Category:Shared functions]]
[[Category:External filters]]
 

Latest revision as of 02:18, 28 December 2014

  1. REDIRECT TomsMoComp#TomsBob
Personal tools