Audioread error line 135: The requested attribute was not found

3 views (last 30 days)
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 Comments
Walter Roberson
Walter Roberson on 20 Nov 2018
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 on 21 Nov 2018
Yes. You are right. Is a problem with my file.
I have tried with another file and it work.
Thanks

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!