start first frame from random location when nframes is less than video length