>> VideoReader Error using VideoReader (line 160) FILENAME must be specified.
조회 수: 6 (최근 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!