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