Problem with vision.VideoFileReader
8 views (last 30 days)
Show older comments
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 Comments
Alexia
on 6 Feb 2013
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
on 6 Mar 2013
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.
Answers (0)
See Also
Categories
Find more on Image Processing and Computer Vision in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!