Error using VideoReader/initReader (line 729)

8 visualizzazioni (ultimi 30 giorni)
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.

Risposta accettata

Han Zhao
Han Zhao il 18 Apr 2019
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

Più risposte (0)

Categorie

Scopri di più su Introduction to Installation and Licensing in Help Center e File Exchange

Prodotti


Release

R2019a

Community Treasure Hunt

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

Start Hunting!

Translated by