[Matroska-users] help with mkvpropedit

Matt Zagrabelny mzagrabe at d.umn.edu
Tue Dec 16 20:49:29 CET 2014


Greetings!

I'm attempting to tag a webm file and am hitting some sort of issue.

Here is my XML file:

$ cat tmnt_2012_s01e01.xml
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Tags SYSTEM "matroskatags.dtd">
<Tags>
    <Tag>
        <Targets>
            <TargetTypeValue>70</TargetTypeValue>
        </Targets>
        <Simple>
            <Name>COLLECTION</Name>
            <String>Teenage Mutant Ninja Turtles (2012)</String>
        </Simple>
    </Tag>

    <Tag>
        <Targets>
            <TargetTypeValue>60</TargetTypeValue>
        </Targets>
        <Simple>
            <Name>SEASON</Name>
            <String>1</String>
        </Simple>
        <Simple>
            <Name>DATE_RELEASE</Name>
            <String>2012</String>
        </Simple>
    </Tag>

    <Tag>
        <Targets>
            <TargetTypeValue>50</TargetTypeValue>
        </Targets>
        <Simple>
            <Name>EPISODE</Name>
            <String>1</String>
        </Simple>
        <Simple>
            <Name>TITLE</Name>
            <String>Rise of the Turtles</String>
        </Simple>
    </Tag>
</Tags>

And here is how I am trying to tag the file:

$ mkvpropedit -t all:tmnt_2012_s01e01.xml episode_01__rise_of_the_turtles.webm
The file is being analyzed.
The changes are written to the file.
Done.

I also tried:

$ mkvpropedit episode_01__rise_of_the_turtles.webm  -t all:tmnt_2012_s01e01.xml
The file is being analyzed.
The changes are written to the file.
Done.


But when I look at the tags:

$ mkvinfo episode_01__rise_of_the_turtles.webm
+ EBML head
|+ EBML version: 1
|+ EBML read version: 1
|+ EBML maximum ID length: 4
|+ EBML maximum size length: 8
|+ Doc type: webm
|+ Doc type version: 2
|+ Doc type read version: 2
+ Segment, size 593377924
|+ Seek head (subentries will be skipped)
|+ EbmlVoid (size: 151)
|+ Segment information
| + Timecode scale: 1000000
| + Muxing application: Lavf56.4.101
| + Writing application: Lavf56.4.101
| + Segment UID: 0x9d 0xcf 0xd7 0x69 0xa6 0x91 0x9f 0xd5 0x06 0xdc
0x32 0x01 0xfe 0x62 0x9c 0xdc
| + Duration: 2779.713s (00:46:19.713)
|+ Segment tracks
| + A track
|  + Track number: 1 (track ID for mkvmerge & mkvextract: 0)
|  + Track UID: 1
|  + Lacing flag: 0
|  + Language: und
|  + Codec ID: V_VP9
|  + Track type: video
|  + Default duration: 33.367ms (29.970 frames/fields per second for a
video track)
|  + Video track
|   + Pixel width: 720
|   + Pixel height: 480
|   + Display width: 853
|   + Display height: 480
| + A track
|  + Track number: 2 (track ID for mkvmerge & mkvextract: 1)
|  + Track UID: 2
|  + Lacing flag: 0
|  + Language: und
|  + Codec ID: A_VORBIS
|  + Track type: audio
|  + Audio track
|   + Channels: 6
|   + Sampling frequency: 48000
|   + Bit depth: 32
|  + CodecPrivate, length 7353
|+ Cluster

I don't see anything that I just added.

What am I missing?

Thanks for the help!

-m


More information about the Matroska-users mailing list