Convert a video to characters using matlab