Having a problem regarding mmreader (avi) video reading

Code ----
obj=mmreader('demo_video.avi');
a=read(obj);
frames=get(obj,'numberOfFrames');
for k = 1 : frames-1
I(k).cdata = a(:,:,:,k);
I(k).colormap = [];
StackTrace ----------
  • ??? Error using ==> mmreadermexInitialization failed. (No combination of intermediate filters could be found tomake the connection.)
Error in ==> mmreader.mmreader at 66 uddobj = mmreadermex(fullFilePath); % registers class

답변 (1개)

Image Analyst
Image Analyst 2014년 5월 23일

0 개 추천

Try VideoReader() instead. It's newer.

댓글 수: 2

i m using a R2007b version, r u sure it will work there?
Wow, that's really old. I don't think it's over 7 years old. Can you upgrade to the current version?

이 질문은 마감되었습니다.

질문:

2014년 5월 23일

마감:

2021년 8월 20일

Community Treasure Hunt

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

Start Hunting!

Translated by