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 ExchangeIntroduction 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