Advertisement
Guest User

Untitled

a guest
Jun 3rd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. AVISource("00.avi")                                     # (recorded with fceux-2.1.4a)
  2. TimeStretch(rate = 100.0 * 60.0 / FrameRate)            # adjust audio rate
  3. AssumeFPS(60)                                           # adjust video rate
  4.  
  5. Intro = Trim(    2,  4687)                              # get the parts
  6. Title = Trim( 4789,  5193)
  7. TAS   = Trim( 5860, 40366)
  8. Intro + Title + TAS                                     # combine them
  9.  
  10. ConvertToRGB32                                          # slightly faster than RGB24
  11.    PointResize(512, 448)                                # less blurring than using BilinearResize directly
  12. BilinearResize(640, 480)                                # final size
  13. ConvertToYV12                                           # Overlay doesn't use RGB internally
  14. BlendFields                                             # instead of "ChangeFPS(FrameRate / 2)"
  15.  
  16.  
  17.  
  18.  
  19. function BlendFields(clip)  {
  20.         clip
  21.         (FrameCount % 2 == 1)  ?  DuplicateFrame(FrameCount - 1)  :  nop
  22.         Overlay(SelectEven, SelectOdd, opacity=0.5)
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement