Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: mmreader reaching premature EOF on Quicktime files

Subject: mmreader reaching premature EOF on Quicktime files

From: Kevin Christie

Date: 09 May, 2008 22:56:03

Message: 1 of 3

I'm currently using mmreader to open video files of animal
movements to perform tracking and analysis. I'm using the
latest version of MATLAB R2008a on a Power Mac with OSX. My
video files are 640x480 encoded in QT with H.265 using the
Compressor program with a framerate of 29.97.

The problem I'm having is that sporadically when I attempt
to grab a frame with the statement:

image = read(movie_obj, frame_index);

sometimes I get an error claiming that mmreader attempted to
read a frame beyond the end of the movie, which isn't true.
Incrementing the index to frame_index + 1 or frame_index -1
works perfectly.

For a given movie file, it seems 1 or 2 frames per every
1000 or so will not work. I've loaded the movie file into
multiple video editing programs, including Adobe Premiere
and Final Cut Pro, and these have no problems reading the
'problem' frames - the data exists, but for some reason,
mmreader cannot read it.

Has anyone else had problems like this? I'm not familiar
with the internals of how video data and frames are
represented in .mov files. I'm not sure of the 29.97 fps
value may have something to do with it - but I don't see why
the framerate would be necessary to the read() function. It
is important that I can solve this issue - conversion to
another file format is not an option, I have GBs of video
and QT has the best file size/video clarity ratio of any of
the formats I've tested.

Kevin Christie

Subject: Re: mmreader reaching premature EOF on Quicktime files

From: Bob

Date: 12 May, 2008 22:20:58

Message: 2 of 3

You should contact MathWorks support.
http://www.mathworks.com/support/contact_us/index.html

Hopefully you can share the problem file so it can be investigated. It
could be a MATLAB bug or a corrupt AVI file.

Cheers
Bob

Subject: Re: mmreader reaching premature EOF on Quicktime files

From: Kevin Christie

Date: 13 May, 2008 15:03:04

Message: 3 of 3

Thanks,

I am already in contact with the support people to work on
this issue.

Kevin Christie
kwchrist@uiuc.edu


Bob <rbemis@mathworks.com> wrote in message
<g0afsb$nf1$2@fred.mathworks.com>...
> You should contact MathWorks support.
> http://www.mathworks.com/support/contact_us/index.html
>
> Hopefully you can share the problem file so it can be
investigated. It
> could be a MATLAB bug or a corrupt AVI file.
>
> Cheers
> Bob

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Tag Activity for This Thread
Tag Applied By Date/Time
quicktime Kevin Christie 09 May, 2008 19:00:26
video Kevin Christie 09 May, 2008 19:00:26
image processing Kevin Christie 09 May, 2008 19:00:26
mmreader Kevin Christie 09 May, 2008 19:00:26
rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics