Matlab bugs / codec issue??
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
hi, i was trying to run this code from "http://wanglimin.github.io/motionlet/" which require R2012a. i do not face any problem doing it at home but i received this error from i am using the school PC. please assist! thank you
---------------------------------------------------------------------
Error using VideoReader/init (line 447)
Failed to initialize internal resources.
Error in VideoReader (line 132)
obj.init(fileName);
Error in demo (line 10)
vidObj=VideoReader('Golf-Swing-Back-003.avi');
2 commentaires
Sean de Wolski
le 2 Oct 2015
Can you open the video in that machine's native video player? E.g. Windows Media Player, Quicktime, VLC?
Réponses (1)
Dinesh Iyer
le 2 Oct 2015
The error indicates that the required codecs are not installed on your school's system. As VideoReader makes use of Windows APIs, test whether you are able to view the file on Media Player. If this fails, you need to install codecs to read this file. Popular codecs you can try are ffdshow or K-lite codec pack.
If the file does play on Media Player, then this could be a bug with VideoReader. Can you post a link to the video?
Dinesh
3 commentaires
Dinesh Iyer
le 2 Oct 2015
Glad that this worked. Can you mark the answer accepted so that others running into this issue know what the solution is?
Dinesh
Voir également
Catégories
En savoir plus sur Audio and Video Data dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!