Problem with vision.VideoFileReader
8 次查看(过去 30 天)
显示 更早的评论
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
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
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 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!