Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2013
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. DSS2("flight.gif")              # I generally trust DSS2 more to have frame-accurate seeking than plain old DirectShowSource
  2. FlipVertical                    # required because for some reason .gifs are loaded flipped
  3.  
  4. x = 4 - (Width  % 4)            # get number of columns to add (% means modulo)
  5. y = 4 - (Height % 4)            # same for rows
  6.  
  7. AddBorders(0, 0, x, y)          # some colorspaces need widths and/or heights to be a multiple of 2 or 4
  8. ConvertToYV12(matrix="PC.709")  # YV12 is required for the filters used by the QTGMC script
  9.  
  10. # AssumeBFF                     # required only for the "super armor" .gif
  11. QTGMC(preset="placebo", FPSDivisor=2)  # placebo is usually total overkill; 2nd parameter means the framerate won't be doubled
  12.  
  13. ConvertToRGB(matrix="PC.709")   # back to RGB for unrestricted cropping
  14. Crop(0, 0, -x, -y)              # restore original resolution
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement