Error using VideoReader/init (line 607)
이전 댓글 표시
1:
When I run "video=VideoReader('va.mp4')" in M-file untitled.m(only one line command in the file), some errors occured in command window as flows:
-----------------
Error using VideoReader/init (line 607)
The filename specified was not found in the MATLAB path.
Error in VideoReader (line 172)
obj.init(fileName);
Error in Untitled (line 1)
video=VideoReader('va??.mp4')
------------------
2:
When I close untitled.m and exit MATLAB, and then restart MATLAB and reopen untitled.m, it shows "video=VideoReader('va??.mp4')" but not "video=VideoReader('va.mp4')".
When I delete the characters "??", and then run the new untitled.m, the same errors still occured.
댓글 수: 1
Geoff Hayes
2019년 1월 28일
tewei - try including the full path to the file when calling
video=VideoReader('/Users/geoff/etc/va.mp4')
or whatever the path might be (the above is just an example). Else ensure that the directory for the file can be found from within the MATLAB MATLAB search path.
답변 (0개)
카테고리
도움말 센터 및 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!