How can I solve a VideoReader error on ubuntu linux?

조회 수: 2 (최근 30일)
Nicolas Cuellar
Nicolas Cuellar 2017년 4월 4일
댓글: Asya 2017년 4월 6일
I am using Matlab 2017a on ubuntu linux 16 to read a video (mp4) but the VideoReader function gives me an error
Error using VideoReader/init (line 607) The filename specified was not found in the MATLAB path.
Error in VideoReader (line 172) obj.init(fileName);
the code I am using is:
secuence=VideoReader('completePath/vigi_prueba');
I read it could be a problem with gstreamer, when I run the command dpkg -l | grep gstreamer on the console I get answers for both gstreamer 1.0 and 0.10 installed
Thank you

답변 (1개)

Spencer Chen
Spencer Chen 2017년 4월 4일
Can you test to see if your filename can be found from Matlab using the "exist" function?
  댓글 수: 2
Nicolas Cuellar
Nicolas Cuellar 2017년 4월 4일
편집: Nicolas Cuellar 2017년 4월 5일
thanks for the quick answer. when I use the exist function it shows:
exist('/completePath/vigi_prueba')
ans =
2
And I am pretty sure the file is there, actually if I use the command
dir('/completePath/')
it shows :
. .. vigi_prueba
Is there a problem finding the file?
Asya
Asya 2017년 4월 6일
I'm having the same problem and would appreciate help. thank you.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by