MediaInfo icon indicating copy to clipboard operation
MediaInfo copied to clipboard

Matroska custom tags?

Open jimlynnjulian opened this issue 2 years ago • 5 comments

Hello,

Does MediaInfo recognize the custom tags allowed by MAtroska?

Thank you, Jim Julian

jimlynnjulian avatar Feb 22 '23 00:02 jimlynnjulian

Hi, I came across an issue with custom tags, that the mkvmerge dev believes is a bug in mediainfo. Please check my report https://codeberg.org/mbunkus/mkvtoolnix/issues/6082

nautilus7 avatar Apr 02 '25 21:04 nautilus7

dev believes is a bug in mediainfo.

It is likely that, we need to improve this part in our code.

JeromeMartinez avatar Apr 02 '25 21:04 JeromeMartinez

Do you have anything planned regarding this? Can you give any time estimate? Thanks.

nautilus7 avatar Apr 03 '25 07:04 nautilus7

Do you have anything planned regarding this?

Yes and no: yes because it is something nasty and we want to show as many tags as possible soon, no because it is not a priority of our sponsors so not in our work plans.

Can you give any time estimate

When someone is interested to develop it. Note that you can prioritize this ticket.

JeromeMartinez avatar Apr 03 '25 07:04 JeromeMartinez

Hi, I came across an issue with custom tags, that the mkvmerge dev believes is a bug in mediainfo. Please check my report https://codeberg.org/mbunkus/mkvtoolnix/issues/6082

This is honestly because you are not using the tag correctly. The bug in mediainfo is that it doesn't display ones without a target type. If you properly set the target type it is displayed.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Tags SYSTEM "matroskatags.dtd">
<Tags>
    <Tag> <!-- Source Tagging, Track specific -->
        <Targets>
            <TargetTypeValue>70</TargetTypeValue>
        </Targets>
        <Simple>
            <Name>Source</Name>
            <String>With TargetTypeValue</String>
        </Simple>
    </Tag>
</Tags>

I used 70 here given it is the highest, there isn't really a definition for which one you should use, either 70 or 30 would make sense to be used. See https://www.matroska.org/technical/tagging.html for the tagging spec.

30: https://pastebin.com/F9dbHZyq 70: https://pastebin.com/j8uq1RCH Without: https://pastebin.com/LmeevRSD

You can see not setting a target type makes it go to the general section.

MiM-MiM avatar Sep 21 '25 21:09 MiM-MiM