Problem with vision.VideoFileReader

조회 수: 10 (최근 30일)
Radu
Radu 2013년 1월 17일
Hello everybody.
I just installed the Computer Vision Toolbox with MATLAB R2012a and I'm trying to get a face tracker working. Unfortunately I'm stuck at reading a video file from my computer.
When I try to run
reader = vision.VideoFileReader('movie2.avi');
I get a long list of errors:
Error using dspmmfileinfo>getFileInfo (line 82) Unable to process file (C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\vision\visiondemos\vipmen.avi): Unspecified error
Error in dspmmfileinfo (line 40) cache.fileInfo(index) = {getFileInfo(filename)};
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\vision\vision\+vision\VideoFileReader.p>VideoFileReader.canOutputAudio (line 316)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\vision\vision\+vision\VideoFileReader.p>VideoFileReader.shouldOutputAudio (line 330)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\vision\vision\+vision\VideoFileReader.p>VideoFileReader.isInactivePropertyImpl (line 305)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\matlab\system\+matlab\+system\setProp.p>setProp (line 14)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\matlab\system\+matlab\+system\SystemProp.p>SystemProp.set (line 373)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\matlab\system\+matlab\+system\SystemProp.p>SystemProp.parseInputs (line 635)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\matlab\system\+matlab\+system\SystemProp.p>SystemProp.setProperties (line 138)
Error in C:\Radu\Facultate\Matlab R2012a 32 bit\toolbox\vision\vision\+vision\VideoFileReader.p>VideoFileReader.VideoFileReader (line 131)
I know that vipmen.avi is the default video file but I don't use that file and in any case, it's where it should be. movie2.avi is in the Path and even if I give the fullpath it shows the same errors. I'm running on Windows 7 as administrator.
Any ideas?
Thanks, Radu
  댓글 수: 2
Alexia
Alexia 2013년 2월 6일
Hi Radu,
I had the same problem on a mac, but I changed the file to mpeg using Any Video Converter (you can find it for free online). Once I got the files in mpeg mode, it read them ok and I stopped getting all those error messages.
Hope this helps!
sabari
sabari 2013년 3월 6일
Hi Alexia,
I am having the same problem after converting it to mpeg format. I tried with Mpeg-1, Mpeg-2, Mpeg-4. Iam getting the same error woth all my trials. can u help with this plzz. Thank you.

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

답변 (0개)

카테고리

Help CenterFile Exchange에서 Image Processing and Computer Vision에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by