Commits

Eric Pavey  committed 8302832

Modified timelapse.py

  • Participants
  • Parent commits 2e77459

Comments (0)

Files changed (1)

File pi_camera/timelapse.py

     parser.add_argument('-fps', "--framesPerSecond", metavar="int", type=int, help='of final movie (default 30)', default=30)
     parser.add_argument('-xres', "--Xresolution", metavar="int", type=int, help='of image (default 1280)', default=1280)
     parser.add_argument('-yres', "--Yresolution", metavar="int", type=int, help='of image (default 720)', default=720)
-    parser.add_argument('-fmt', "--format", metavar="string", help='of saved images (default jpeg)', default="jpeg")
     parser.add_argument('-y', "--year", metavar="int", type=int, help='...to start recording', default=None)
     parser.add_argument('-m', "--month", metavar="int", type=int, help='...to start recording', default=None)
     parser.add_argument('-d', "--day", metavar="int", type=int, help='...to start recording', default=None)
         startTime = datetime.datetime(year=year, month=month, day=day, hour=hour, minute=minute, second=second)
 
     main(args.captureTime, args.duration, framerate=args.framesPerSecond, 
-         resolution=(args.Xresolution, args.Yresolution), format=args.format, 
-         startTime=startTime)
+         resolution=(args.Xresolution, args.Yresolution), startTime=startTime)