[Matroska-devel] Hi, question about the MKV tags

Steve Lhomme slhomme at matroska.org
Mon Jan 31 10:23:54 CET 2011

The example set of possible values are right there in the specs:

ORIGINAL_MEDIA_TYPE	UTF-8	Describes the original type of the media,
such as, "DVD", "CD", "computer image," "drawing," "lithograph," and
so forth. This is akin to the TMED tag in ID3.
CONTENT_TYPE	UTF-8	The type of the item. e.g. Documentary, Feature
Film, Cartoon, Music Video, Music, Sound FX, ...

Now I realize that these values are in English. It may not be very
interesting to have the fields that have a set of (text) values to be
in text form. On the other hand when it's a known value it may be
translated from that known value (when writing it needs to be put in
English, when it's a known value).

The media type values should probably be the ones described here:
It's missing Bluray. If you can think of any values missing we'll add
it to the specs (soon enough).

For the XML it's pretty easy, you take the example in
http://www.matroska.org/technical/specs/tagging/example-video.html and
add a ORIGINAL_MEDIA_TYPE in the section for the "whole show".

For the C# code unfortunately I cannot help.

And please use the mailing list if you want to have a chance to be
read by people who can actually help you.

On Sun, Jan 30, 2011 at 7:06 PM, Boris Juraga <boris.juraga at gmail.com> wrote:
> On Sun, Jan 30, 2011 at 6:49 PM, Steve Lhomme <slhomme at matroska.org> wrote:
>> PS: the same goes for cover art. For a long time there was no standard
>> way to do it. It's been added on the website and now we still need
>> Media Centers or any "visual" player to support it. One way or another
>> we will have to push in that direction too.
>> As you can see, there's a lot to do. It's not just one software to
>> code for, but all of them (at least the open source ones).
> Well i appreciate that, i hope you consider my emails as a
> constructive criticism, as that is the reason i wrote them, and also
> to see where things stand for Matroska.
> I have already used the cover art standard for big part of my
> collection. Now i have all subtitles and all cover art inside my mkv's
> and i can read them out and display them in my media library app. But
> so far i have used code from all over the internet and i like to make
> a C# library that will be able to read\write MKV (possibly all other
> Matroska) - and i dont mean transfer .avi or something in .mkv, but
> editing mkv attachments and tags. What do you think is really the
> usability of that kind of lib? I am not really familiar with hosting
> open source projects and getting help from others so any pointers are
> welcome. Also i need more help on forming the xml tags for now to be
> able to test against .mkv's with tags inside. On the web there are no
> examples including ORIGINAL_MEDIA_TYPE and CONTENT_TYPE tags. Can you
> create one simple xml draft for me? Scenario is: MKV containing Dexter
> episode 1 season 1. Also where can i find the list containing the
> "Feature Film" and others?
> Thanks for the quick answers and the help so far,
> Boris Juraga

Steve Lhomme
Matroska association Chairman

More information about the Matroska-devel mailing list