>> VideoReader Error using VideoReader (line 160) FILENAME must be specified.
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
abbxucy11
le 26 Sep 2016
Commenté : Walter Roberson
le 26 Sep 2016
I run the VideoReader.m and i have this error.. any ideas what is going wrong?
>> VideoReader Error using VideoReader (line 160) FILENAME must be specified.
0 commentaires
Réponse acceptée
Geoff Hayes
le 26 Sep 2016
I get the same error message if I simply call VideoReader from the command line as
>> VideoReader
Error using VideoReader (line 135)
FILENAME must be specified.
>> vidObj = VideoReader('xylophone.mp4');
or using another file name that is specific to your work.
4 commentaires
Walter Roberson
le 26 Sep 2016
Provided that video has been initialized as
video = VideoReader('SomeFileName.avi');
then
img = readFrame(video);
There is no frame2im() requires for this use.
If you have a sufficiently old MATLAB then you might need
img = read(video, 1);
Plus de réponses (0)
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!