1.读取视频
bash
v = VideoReader('2222.mp4');
出问题,报错:
matlab 错误使用 VideoReader/initReader (第 734 行) 由于出现意外错误而无法读取文件。原因: Unable to initialize the video properties 出错 audiovideo.internal.IVideoReader (第 136 行) initReader(obj, fileName, currentTime); 出错 VideoReader (第
需要的方法安装可以解析视频的库GStreamer:
bash
sudo apt install gstreamer1.0-tools gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly
重启matlab即可