Rank: 660 based on 166 downloads (last 30 days) and 2 files submitted
photo

David Foti

E-mail
Company/University
The MathWorks, Inc.

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Files Posted by David View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Jan 2010 mpgread The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti graphics import, graphics export, mpeg, convert, movie, utilities 41 38
  • 4.0
4.0 | 16 ratings
07 Jan 2010 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti graphics import, graphics export, mpeg, convert, movie, utilities 125 106
  • 4.05263
4.1 | 77 ratings
Comments and Ratings on David's Files View all
Updated File Comment by Comments Rating
27 Jan 2014 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti peter

Hi,
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.
Thanks,
Pete

02 Nov 2013 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti Santosh

Did any one get this working with Matlab_R2012a on Mac OS 10.8.4? I followed the instructions provided by Axel, and it did compile correctly(after applying a patch) but then when I run the mpgwrite I get an error - "Error using mpgwrite
MPGWRITE returns nothing". Can someone please help?

09 May 2013 mpgwrite The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti Nguyen, Danh

This solution is very helpful.
And I need help in Win7 64bit and Matlab 2012b.

07 Feb 2013 mpgread The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti arun

hello everyone,can anyone over here tell me the procedure to which frame is a i,p,or b frame.i have extracted the frames from a mpeg-4 video.but,not getting how to detect the frmes.please help.

02 Aug 2012 mpgread The MPEG converter takes a MATLAB movie matrix and writes the movie to disk as an MPEG file. Author: David Foti Philip

Tips:
-you have to "make" before using. I made sure there were no mex or dll's in my MPGREAD directory, then ran makedll.m. All I believe is needed is mpgread.mex32.
-you have to remove audio, as others said, from your MPEG-1 for MPGREAD to read it. in Pinnacle Studio this can be done by selecting "settings" and unchecking include audio.

Contact us