Modifying video capture so it doesn't create million of image frame files