Audio file I/O requires Gstreamer 0.10.22 and higher. | Ubuntu 20.04 | R2016b

조회 수: 3 (최근 30일)
Jose Canales
Jose Canales 2021년 5월 14일
댓글: Alessandro Di Maggio 2021년 9월 12일
I'm trying to use audioread for an mp3 file in R2016b, but when I run the code I get the following error:
I'm using
[y,FS]=audioread('file.mp3');
I've already installed gstreamer and I'm still gettng the same error
  댓글 수: 5
Jose Canales
Jose Canales 2021년 5월 14일
Is that ok? I'm still getting the same error
Alessandro Di Maggio
Alessandro Di Maggio 2021년 9월 12일
Hi, I have the exact same problem with the same matlab distribution (R2016b). Do you happen to have the issue solved?
Thank you!

댓글을 달려면 로그인하십시오.

답변 (1개)

Kiran Felix Robert
Kiran Felix Robert 2021년 6월 25일
Hi Jose,
As stated in the error message displayed, you might not have installed the Gstreamer library correctly.
Typically, MathWorks Technical Support does not debug gstreamer installation issues.
You can first try to verify you have installed gstreamer correctly by using the libraries outside MATLAB. For example:
1. Execute a simple C/C++ program in the your machine that uses gstreamer header files and libraries will help in isolating if the installation was successful or not.
2. If you are unable to write a standalone C code, you can also try to use the utility gst-launch in your system prompt:
> gst-launch-1.0 playbin uri=file:[path_to_some_filename]
If you have verified that you can use the gstreamer libraries successfully outside of MATLAB but still receiving the same error message when calling "audioread", you can contact MathWorks Technical Support for further troubleshooting steps.

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

제품


릴리스

R2016b

Community Treasure Hunt

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

Start Hunting!

Translated by