MediaArea / MediaInfoLib

Convenient unified display of the most relevant technical and tag data for video and audio files.
https://mediaarea.net/MediaInfo
BSD 2-Clause "Simplified" License
630 stars 171 forks source link

MKV : multi-languages tags #2099

Open pokemaster974 opened 2 months ago

pokemaster974 commented 2 months ago

Hi, I would like to know if there is a possibility for MediaInfo to retrieve several strings of the same tag.

An example :

<Tags>
    <Tag>
        <Targets />
        <Simple>
            <Name>DESCRIPTION</Name>
            <String>Description en français</String>
            <TagLanguageIETF>fr</TagLanguageIETF>
            <TagLanguage>fre</TagLanguage>
        </Simple>
        <Simple>
            <Name>DESCRIPTION</Name>
            <String>Description in english</String>
            <TagLanguageIETF>en</TagLanguageIETF>
            <TagLanguage>eng</TagLanguage>
        </Simple>
    </Tag>
</Tags>

If I extract the tags with mkvproperedit and open the output xml I will retrieve the 2 DESCRIPTION so the tags are into the mkv but I think it's because there are the same name.

Regards.

JeromeMartinez commented 2 months ago

Sample file demonstrating the issue, please.

pokemaster974 commented 2 months ago

Sample file demonstrating the issue, please.

Hi, this is a sample file : https://1fichier.com/?6xt5z4ov4mld7dg2j4kx

This is the output xml (converted to txt) extracted with mkvpropedit with the command mkvextract Sample_tags.mkv tags Sample_tags_tags.xml Sample_tags_tags.txt

And the General part of mediainfo :

Général
Identifiant unique                       : 234690037969827169413672288642482008640 (0xB08FA83CC9A6F627BB717D0AE09F7240)
Nom complet                              : D:\Captvty\Sample_tags.mkv
Format                                   : Matroska
Format, Version                          : Version 4
Taille du fichier                        : 19,4 Mio
Durée                                    : 1 min 0 s
Débit global                             : 2 715 kb/s
Débit im/s                               : 50,000 im/s
Description                              : Description in english
Date d'encodage                          : 2024-07-03 16:38:35 UTC
Application utilisée                     : mkvmerge v83.0 ('Circle Of Friends') 64-bit
Bibliothèque utilisée                    : libebml v1.4.5 + libmatroska v1.7.1
JeromeMartinez commented 2 months ago

We didn't implement the support of multilanguage in MKV :(, as we did for some other formats. After development, the output would be:

Description                              : fr:Description en français / en:Description in english

On our todo-list. Note: no ETA in free support.