Problem with vision.VideoFileReader

8 ビュー (過去 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 Center および File ExchangeImage 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