Error using VideoReader/initReader (line 729)

8 次查看(过去 30 天)
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
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

产品


版本

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by