MATLAB: Error using VideoReader/initReader (line 729)

centosdeploytoollinuxMATLABvideoreader

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.

Best Answer

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
Related Question