>> VideoReader Error using VideoReader (line 160) FILENAME must be specified.
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Geoff Hayes
2016-9-26
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 个评论
Walter Roberson
2016-9-26
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);
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!