Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # load the fraps capture
- directShowSource("Dwm 2012-12-12 16-20-59-79.avi")
- # uncompress video fully in memory, gives more exact cropping
- convertToRgb24()
- # remove audio from the fraps capture without changing channel count
- delayAudio(9001).resampleAudio(44100)
- # remove start menu (1/left) and window title (23/top), full width and 720 height output
- crop(1,23,0,720)
- # add a 1px border on the left (second part of concealing the start menu)
- addBorders(1,0,0,0)
- # forgot to disable the fraps FPS counter... orz
- overlay(imageReader("olay.png", pixel_type="RGB24"))
- # create a new clip, "d", starting at frame 325 with audio from the sunvox export
- d = trim(325,0).audioDub(directShowSource("compile.wav"))
- # removing a playthrough between the first and last in the final video
- d = d.trim(0,2763) + d.trim(5068,0)
- # end video when I hit the "Stop" button
- d = d.trim(0,4650)
- # take 15 frames of silence right before the audio starts, add 15 frames of fadein, append dubbed video
- trim(310,324).fadein(15) + d
- # required by x264.exe (encoder)
- ConvertToYV12()
Advertisement
Add Comment
Please, Sign In to add comment