I'm a long time Matlab user, but newish to Macs and video formats. I'm having a problem reading in .MOV files. I can define the obj with mmreader, and all seems well:
EDU>> info = get(obj) info = Duration: 155.1550 Name: 'CIMG0454.MOV' Path: '' Tag: '' Type: 'mmreader' UserData: [] BitsPerPixel: 24 FrameRate: 29.9700 Height: 192 NumberOfFrames: 4650 VideoFormat: 'RGB24' Width: 432
But when I try to get the first frame it fails:
EDU>> tmp = read(obj,1); ??? The frame index requested is beyond the end of the file.
Error in ==> mmreader.read at 74 videoFrames = read(getImpl(obj), index);
Anyone know why Matlab thinks there are no frames? The file is certainly not empty. Am I better to convert to mpg? (I can, but have to use a computer on the other side of campus. Would rather get the .MOV file to work.)
Thank you for your help!

 채택된 답변

Laura Proctor
Laura Proctor 2011년 6월 1일

0 개 추천

There is a bug report indicating this is problematic on older versions of MATLAB:

댓글 수: 1

Mary
Mary 2011년 6월 1일
Bummer. My matlab is only 1 year old, but I guess it's got the bug. I'll just convert to mpg. (The frame read works for that.)
Thanks for the reply!

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

카테고리

도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

태그

질문:

2011년 6월 1일

Community Treasure Hunt

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

Start Hunting!

Translated by