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 comentario

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.

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Preguntada:

el 28 de En. de 2019

Comentada:

el 28 de En. de 2019

Community Treasure Hunt

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

Start Hunting!

Translated by