Error loading a vide file using VideoReader
Mostra commenti meno recenti
After:
vidObj = VideoReader('test-mpeg.mpg');
I get this error:
Error using VideoReader/init (line 442)
File could not be read due to an unexpected error. Reason: Class not registered "
Error in VideoReader (line 132)
obj.init(fileName);
I also tried an ".avi" file and got the same error message. I am using Matlab R2011b (64-bit) on my school's Windows Server 2008 by remote logging in. What is the cause of this? Could it be that I am missing a Windows library file? If so what should tell our IT guy to add?
Risposta accettata
Più risposte (2)
Matthew Cordaro
il 18 Dic 2013
1 voto
What you are seeing is an error where a class (I believe it's Windows Media Foundation stuff) that matlab is expecting to find in the registry, isn't installed.
So you need to install "Desktop User Experience" which is turned off by default in server 2012. It contains the necessary registrations that the Video Reader Class requires.
I had the same problem. Once I turned this on, everything worked fine.
1 Commento
Julien
il 12 Mar 2014
Thank you. It solved perfectly my problem
Sahand
il 4 Gen 2013
0 voti
Categorie
Scopri di più su Video Formats and Interfaces in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!