Why does read() time out when used with mmreader() ?

Hello All,
I am trying to subtract successive frames in a video (.asf) and then convert the difference image to binary and then plot the location of the maximum index pixel.But it looks like read() which I have used to read a single frame actually timed out.I almost repeated the same for 8 videos assuming that the video might have got corrupted but it still shows me that the MATLAB has timed out.Is there any specific reason or am I doing anything wrong.I can post the code if any users want to have a look at it.

6 Comments

Any one interested in replying ???
Not familiar with 'read.' What about getframe or frame2im?
Hey Sean,
Please have a look at this earlier Walter helped me out
http://www.mathworks.com/matlabcentral/answers/10442-displaying-a-difference-image-as-a-video
May be he is on a vacation I didn't hear from him again :)
Any help ??? I really need this answer as my code is being timed out evry time I run it.
sorry I was indeed on vacation.
I thought so Walter but no worries I have figured out the solution to this problem.Thanks for writing back.

Sign in to comment.

 Accepted Answer

@Sean I finally found an answer for this timed out.
It is actually a bug which was corrected in the latest version of MATLAB and since I had a 2009b version of MATLAB my code wasn't running at all.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!