• [^] # Re: tags et fichiers audio

    Posté par . En réponse au message Gestion d'une Mediatech : tag, .... Évalué à 1.

    Bonjour,

    La norme c'est l'id3 ?
    A priori ça ne concerne que les fichiers musicaux de type mp3 ?

    Effectivement, c'est spécifique au mp3. Il y aurait des risques pour les autres formats (vu mon anglais faible...)

    *ID3 tags were designed with the MP3 file format in mind. ID3v2 tags will break formats which are container-based such as Ogg Vorbis and WMA. Here is some information on specific formats:

    ID3 tags work in MP3 and MP3pro files
    WAV has no tags
    WMA has its own tagging format, which is specified in the wma spec, available in the MSDN (which unfortunately, basically does not allow Open Source implementations)
    Ogg Vorbis uses "Xiph Comments" (same as later versions of FLAC and Speex), which are embedded into the Ogg container. You can find information on these in the comment and container specs on www.xiph.org
    AAC uses yet another tagging format, which does not at present have a published spec as of 3/1/2006. 
    

    The TagLib Audio Meta-Data Library supports MP3s (with ID3v1, ID3v2 or APE tags), Ogg Vorbis, FLAC (with Xiph Comments or ID3 tags), and MPC files (with APE tags). *

    source

    Du coup, il faut creuser de ce côté https://taglib.org, notamment Projects Using TagLib