Audioread error line 135: The requested attribute was not found

4 次查看(过去 30 天)
Hi,
I try to read a mp3 file using audioread function:
audioread('audiorecordtest.mp3')
but I get this error:
Error using audioread (line 135)
Unexpected exception in plug-in: 'Unable to determine the sample rate of the audio stream Reason: The requested attribute was not found.'
How to solve this error?
  2 个评论
Walter Roberson
Walter Roberson 2018-11-20
could be aa problem with the file . or if you are using linux then you could be having a problem with the gstreamer plugin .
Adriana Maria
Adriana Maria 2018-11-21
Yes. You are right. Is a problem with my file.
I have tried with another file and it work.
Thanks

请先登录,再进行评论。

回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by