iterating through all input videos and outputting optical flow avi files works