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

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개)

카테고리

태그

질문:

2019년 1월 28일

댓글:

2019년 1월 28일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by