Rank: 9755 based on 0 downloads (last 30 days) and 0 files submitted
photo

Adam

E-mail

Personal Profile:
Professional Interests:

 

Watch this Author's files

 

Comments and Ratings by Adam
Updated File Comments Rating
23 Feb 2009 mmread Read virtually any media file in Windows, Linux, or Mac. Author: Micah Richert

Hi Micah,

I'm attempting to use mmread on an .avi file that has been output by Cineform. I have the Cineform codec, but when I use the new FFGrab function, the message returned is "Could not open video stream". The video stream name (in the same directory as the .m files) is Dinosaur-2008-10-29_11-53-16.avi.

If I set FFGRAB to false, the message returned from the old mmread operation states: "Cannot play back the audio stream: no audio hardware is available, or the hardware is not responding." This is the command I used to call mmread:

mmread(videoName,usedFrames(startFrameIndex:endFrameIndex),[ ],false,true,'',true,false);

I don't have audio hardware on my computer (using a server as a workstation), but shouldn't that be a moot point if I have set the 'disableAudio' attribute to 'true'? I only want to use the video extraction capabilities.

I downloaded your code from this website today to have the most current version. I am running MATLAB R2008a on a 32-bit windows server 2003 system.

Are there incompatibilities with the Cineform codec that I am unaware of? Or do you suppose the error is somewhere else in the process?

Thanks,

Adam

Contact us at files@mathworks.com