The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file.
Author: David Foti
This is a great code, thank you! But what is the fps rate of the mpg video? I assumed it was 30fps, however, the videos are always quick that they are suppose to be. i.e. I put in 5 seconds of data (at 30 Hz) and the video is then 7/8 seconds long.