Error using VideoReader/initReader (line 729)

I'm using MATLAB 2019a. (Linux)
I use deploytool to convert my mcode to executable file (on ubuntu 16.04).
The file "run_SigFunc.sh" is working well on ubuntu 16.04.
And then I move these file to anaother computer which has CentOS7.6 (No GUI).
When I running this, it has something wrong.
The error information:
Error using VideoReader/initReader (line 729)
Could not read file due to an unexpected error. Reason: Unable to initialize the video properties
Error in audiovideo.internal.IVideoReader (line 148)
Error in VideoReader (line 98)
Error in SigFunc (line 27)
MATLAB:audiovideo:ViedeoReader:Unexpected
Could you please give me some advices for this problem? Thank you all.

 채택된 답변

Han Zhao
Han Zhao 2019년 4월 18일

0 개 추천

I've found the reason.
Lack of audio/video system decoder.
first,
yum -y install epel-release
then
yum -y --enablerepo=nux-dextop install gstreamer-ffmpeg vlc gstreamer-plugins-ugly gstreamer-plugins-bad gstreamer-plugins-ugly ffmpeg libvdpau mpg123 mplayer mplayer-gui gstreamer-plugins-bad-nonfree gstreamer1-libav gstreamer1-plugins-bad-freeworld gstreamer1-plugins-ugly

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기

제품

릴리스

R2019a

질문:

2019년 4월 16일

답변:

2019년 4월 18일

Community Treasure Hunt

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

Start Hunting!

Translated by