home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 July / CHIP_CD_2005-07.iso / bonus / srew / files / AviSynth_208.exe / examples / Editing.avs < prev    next >
Text File  |  2002-09-27  |  566b  |  33 lines

  1. # Generates colorbar image at the size 320x240
  2.  
  3. Colorbars(320,240)
  4.  
  5. # Converts the image to greyscale
  6.  
  7. Greyscale()
  8.  
  9. # Adds framenumbers to the image
  10.  
  11. Showframenumber()
  12.  
  13. # Selects the range 0 to 50000
  14.  
  15. Trim (0, 50000)
  16.  
  17. # Selects every second frame. Fps is now half of 29.97
  18.  
  19. SelectEven()
  20.  
  21. # Selects first 1000 frames inside the stream, and assigns it to variable substream
  22.  
  23. SubStream = Trim (0, -999)
  24.  
  25. # Loop the substream 25 times
  26.  
  27. Substream = Loop(Substream,25)
  28.  
  29. # Put the subtream on top of the original
  30.  
  31. Stackvertical(substream)
  32.  
  33.