Reading .m4a with matlab

hi, i have a problem with .m4a files in matlab, i used audioread which is supposed to support this type, but i have an error. should i convert it to .wav to be read ? and if it is the only solution how can i do it with matlab? thx

2 réponses

  • Votes
  • Date
  • Date décroissante
  1. bonjour et merci pour votre réponse. l erreur est " Error using audioread (line 88) Failed to initialize internal resources."
    1. Il me faut :

      • la ligne de commande
      • le résultat complet
      • ta version de matlab
      • le système d'exploitation
    2. @Hydr0sligne de cmd: file='1_1.m4a'; audioread(file);
      res:
      Error using audioread (line 88)
      Failed to initialize internal resources.

      Error in ConvM4aToWav (line 10)
      audioread(file);

      ubuntu 16.04 LTS Matlab R2015b
    3. problème de codec sous ubuntu :
      For MP3, MPEG-4 AAC, and AVI audio files on Windows 7 or later and Linux platforms, audioread might read fewer samples than expected. [...] On Linux platforms, this is due to a limitation in the underlying GStreamer framework. If you require sample-accurate reading, work with WAV or FLAC files.
    4. @Hydr0scomment je peux les transformer en .wav avec matlab et merci
    5. Pas avec matlab en tout cas vu que ça ne marche pas...
  2. Hello,

    Available format type according to the help documentation are : mp3, wav, flac, m4a and mp4. If you have an issue, please post the error text and command shell.

    Moreover, you are on a french forum : posting on matlab forum will provide you better help and in english.

    Trust me and keep calm, I'm an engineer !