new_contents: import os
  import time
  
  FRAMES = 480
  FPS_IN = 10
  FPS_OUT = 24
  TIMEBETWEEN = 15
  FILMLENGTH = float(FRAMES / FPS_IN)
  
  print FILMLENGTH
  
  frameCount = 0
  while frameCount < FRAMES:
      imageNumber = str(frameCount).zfill(7)
      os.system("raspistill -o image%s.jpg"%(imageNumber))
      frameCount += 1
      time.sleep(TIMEBETWEEN - 6) #Takes roughly 6 seconds to take a picture
  
  os.system("avconv -r %s -i image%s.jpg -r %s -vcodec libx264 -crf 20 -g 15 -vf crop=2592:1458,scale=1280:720 timelapse.mp4"%(FPS_IN,'%7d',FPS_OUT))
  
  
  
subject: add rapi timelapse scripts