convert a video to a MATLAB readable file in UNIX