saving test video as images