Reading .m4a with matlab

sana -  
Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention   -
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

  1. Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention   687
     
    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 !
    0
  2. sana
     
    bonjour et merci pour votre réponse. l erreur est " Error using audioread (line 88) Failed to initialize internal resources."
    0
    1. Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention   687
       
      Il me faut :
      • la ligne de commande
      • le résultat complet
      • ta version de matlab
      • le système d'exploitation
      0
    2. sana > Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention  
       
      ligne 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
      0
    3. Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention   687
       
      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.
      0
    4. sana > Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention  
       
      comment je peux les transformer en .wav avec matlab et merci
      0
    5. Hydr0s Messages postés 1843 Date d'inscription   Statut Membre Dernière intervention   687
       
      Pas avec matlab en tout cas vu que ça ne marche pas...
      0