MATLAB的Linux上的MP3文件audioread

时间:2016-08-09 13:03:24

标签: matlab gstreamer

我无法使用MATLAB的audioread

读取MP3文件
>> audioread('file.mp3')
Error using audioread (line 88)
The file type is not supported

我在Ubuntu 16.04(Xenial Xerus)并安装了MATLAB R2016a。我已经完成了this bug的解决方法。 (链接我的系统最近的libstdc ++。)

据我了解,MATLAB使用gstreamer 0.1,我想安装gstreamer0.1-fluendo-mp3。但是,这在包中不存在,只有gstreamer 1.0可用:

$ apt-cache search gstreamer fluendo-mp3 
gstreamer1.0-fluendo-mp3 - Fluendo mp3 decoder GStreamer 1.0 plugin

如果我在gstreamer问题的正确轨道上:我可以告诉MATLAB使用gstreamer 1.0而不是0.1吗?或gstreamer0.1-fluendo-mp3是否有任何PPA?

1 个答案:

答案 0 :(得分:0)

我联系了Mathworks支持。此功能目前在Ubuntu 16.04下不可用,并且没有解决方法。它将在未来的MATLAB版本中修复。