필터 지우기
필터 지우기

why i am getting error in mmreader function?

조회 수: 6 (최근 30일)
Urmila
Urmila 2013년 10월 7일
댓글: Walter Roberson 2020년 4월 29일
when i write the following piece of code i am getting error.
clc
obj=mmreader('wildlife.wmv')
vedio=read(obj)
??? Error using ==> mmreader.mmreader>getFullPathName at 103 The filename specified was not found in the MATLAB path.
Error in ==> mmreader.mmreader at 63 fullFilePath = getFullPathName( filename );
Error in ==> PQR at 2 obj=mmreader('wildlife.wmv')
please help me to solve this problem.

채택된 답변

Walter Roberson
Walter Roberson 2013년 10월 7일
It did not find wildlife.wmv . You will need to have a look at which directory you are in, and then go to an operating system window and locate the file and see which directory it is in.
Have a look at fullfile() and at uigetfile()
  댓글 수: 5
Urmila
Urmila 2013년 10월 8일
편집: Urmila 2013년 10월 8일
yes sir,it is of 25 MB. For lager size file is there another solution to read?
Walter Roberson
Walter Roberson 2020년 4월 29일
You could try with VideoReader with a hasFrame / readFrame loop. Or you could use vision.VideoFileReader https://www.mathworks.com/help/vision/ref/vision.videofilereader-system-object.html

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by