Reading .m4a with matlab

Fermé
sana - 23 avril 2017 à 17:30
Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022 - 23 avril 2017 à 23:00
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

Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022 672
Modifié le 23 avril 2017 à 17:59
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
bonjour et merci pour votre réponse. l erreur est " Error using audioread (line 88) Failed to initialize internal resources."
0
Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022 672
23 avril 2017 à 18:13
Il me faut :
  • la ligne de commande
  • le résultat complet
  • ta version de matlab
  • le système d'exploitation
0
sana > Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022
23 avril 2017 à 19:46
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
Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022 672
23 avril 2017 à 20:28
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
sana > Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022
23 avril 2017 à 21:19
comment je peux les transformer en .wav avec matlab et merci
0
Hydr0s Messages postés 1678 Date d'inscription lundi 24 janvier 2011 Statut Membre Dernière intervention 24 août 2022 672
23 avril 2017 à 21:23
Pas avec matlab en tout cas vu que ça ne marche pas...
0