osx - Corruption when reading an H264 encoded video file in Matlab on MacOSX -


I am trying to read an H264 AVI file on Mac OS X, but it seems that the video is corrupt . When I display a frame, it seems that the image is divided by vertical gray lines and I can see sections of the actual image data and fade version repeated three times within a single frame. In my windows box, I am able to successfully use the same code / AVI without any issues in the frame. These are my specs:

  Mac OSX 10.6.4 Matlab 7.8.0.347 (R22009) Student version QuickTime 10.0 Perrian_1.2.1 Codec plugin AVI file: H264 RGB 24 640x480 60 frames per second  

Quicktime is able to run the file successfully with Perian plugin.

Here I am using the example code that is to display the file:

  o = mmreader (avi_file_name); Figure 1); Imshow (Read (vid_obj, k));  

Any ideas?

found a solution:

It did not work just did not have the H264 codec , I got many formats, which gave me similar output. However, instead of using the mmidder, downloading the mimet fixes all my issues:

However, mm-breadbugs should still be addressed by MathWorks.


Comments