python script to chop mjpeg video to jpegs