comparison scripts/play-video.py @ 820:e73e7b644428

generalized play-video for several files (already synchronized
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Wed, 22 Jun 2016 15:23:20 -0400
parents 51269511229b
children 26daf35180ad
comparison
equal deleted inserted replaced
819:fc8b3ce629d1 820:e73e7b644428
19 19
20 frameRate = -1 20 frameRate = -1
21 if args.frameRate is not None: 21 if args.frameRate is not None:
22 frameRate = args.frameRate 22 frameRate = args.frameRate
23 23
24 cvutils.playVideo(args.videoFilename, firstFrameNum, frameRate, rescale = args.rescale, step = args.step) 24 cvutils.playVideo([args.videoFilename], None, firstFrameNum, frameRate, rescale = args.rescale, step = args.step)