Create MATLAB readable avi from bmp frames