<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169026</link>
    <title>MATLAB Central Newsreader - mmreader reaching premature EOF on Quicktime files</title>
    <description>Feed for thread: mmreader reaching premature EOF on Quicktime files</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2008 by The MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>The MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 13 May 2008 15:03:04 -0400</pubDate>
      <title>Re: mmreader reaching premature EOF on Quicktime files</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169026#431815</link>
      <author>Kevin Christie</author>
      <description>Thanks,&lt;br&gt;
&lt;br&gt;
I am already in contact with the support people to work on&lt;br&gt;
this issue.&lt;br&gt;
&lt;br&gt;
Kevin Christie&lt;br&gt;
kwchrist@uiuc.edu&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Bob &amp;lt;rbemis@mathworks.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g0afsb$nf1$2@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; You should contact MathWorks support.&lt;br&gt;
&amp;gt; &lt;a href="http://www.mathworks.com/support/contact_us/index.html"&gt;http://www.mathworks.com/support/contact_us/index.html&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hopefully you can share the problem file so it can be&lt;br&gt;
investigated. It &lt;br&gt;
&amp;gt; could be a MATLAB bug or a corrupt AVI file.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Cheers&lt;br&gt;
&amp;gt; Bob&lt;br&gt;
&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Mon, 12 May 2008 22:20:58 -0400</pubDate>
      <title>Re: mmreader reaching premature EOF on Quicktime files</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169026#431675</link>
      <author>Bob</author>
      <description>You should contact MathWorks support.&lt;br&gt;
&lt;a href="http://www.mathworks.com/support/contact_us/index.html"&gt;http://www.mathworks.com/support/contact_us/index.html&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Hopefully you can share the problem file so it can be investigated. It &lt;br&gt;
could be a MATLAB bug or a corrupt AVI file.&lt;br&gt;
&lt;br&gt;
Cheers&lt;br&gt;
Bob&lt;br&gt;
</description>
    </item>
    <item>
      <pubDate>Fri, 09 May 2008 22:56:03 -0400</pubDate>
      <title>mmreader reaching premature EOF on Quicktime files</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/169026#431310</link>
      <author>Kevin Christie</author>
      <description>I'm currently using mmreader to open video files of animal&lt;br&gt;
movements to perform tracking and analysis. I'm using the&lt;br&gt;
latest version of MATLAB R2008a on a Power Mac with OSX. My&lt;br&gt;
video files are 640x480 encoded in QT with H.265 using the&lt;br&gt;
Compressor program with a framerate of 29.97. &lt;br&gt;
&lt;br&gt;
The problem I'm having is that sporadically when I attempt&lt;br&gt;
to grab a frame with the statement:&lt;br&gt;
&lt;br&gt;
image = read(movie_obj, frame_index);&lt;br&gt;
&lt;br&gt;
sometimes I get an error claiming that mmreader attempted to&lt;br&gt;
read a frame beyond the end of the movie, which isn't true.&lt;br&gt;
Incrementing the index to frame_index + 1 or frame_index -1&lt;br&gt;
works perfectly. &lt;br&gt;
&lt;br&gt;
For a given movie file, it seems 1 or 2 frames per every&lt;br&gt;
1000 or so will not work. I've loaded the movie file into&lt;br&gt;
multiple video editing programs, including Adobe Premiere&lt;br&gt;
and Final Cut Pro, and these have no problems reading the&lt;br&gt;
'problem' frames - the data exists, but for some reason,&lt;br&gt;
mmreader cannot read it. &lt;br&gt;
&lt;br&gt;
Has anyone else had problems like this? I'm not familiar&lt;br&gt;
with the internals of how video data and frames are&lt;br&gt;
represented in .mov files. I'm not sure of the 29.97 fps&lt;br&gt;
value may have something to do with it - but I don't see why&lt;br&gt;
the framerate would be necessary to the read() function. It&lt;br&gt;
is important that I can solve this issue - conversion to&lt;br&gt;
another file format is not an option, I have GBs of video&lt;br&gt;
and QT has the best file size/video clarity ratio of any of&lt;br&gt;
the formats I've tested.&lt;br&gt;
&lt;br&gt;
Kevin Christie&lt;br&gt;
</description>
    </item>
  </channel>
</rss>
