VideoHelp Forum




+ Reply to Thread
Results 1 to 3 of 3
  1. Member
    Join Date
    Aug 2015
    Location
    Quebec, Canada
    Search PM
    is it possible to add a metadata tag to a .MKV file for maximum bit rate ?

    mp4 can preserved this tag but when I try to remux it to add another audio track, maximum bitrate also vanish.

    can mkvproperedit do this thing ?

    any suggestion ?

    Thanks

    kalemvar1
    Quote Quote  
  2. You seem to be able to create any tags you want for MKVs. They're apparently not supposed to include spaces but the two I created did and they displayed okay. A max bitrate tag mightn't show up in every program though as it's not a standard tag. https://www.matroska.org/technical/tagging.html

    I used foobar2000 to add a tag field named "MAX BITS 1" to an MKV and Mp3tag to add one called "MAX BITS 2". They could each read the tags the other wrote (they could be found under "extended tags" in Mp3tag) and appeared in MediaInfo like so....

    Image
    [Attachment 69211 - Click to enlarge]


    As I don't know much about MKV tagging, I extracted the tags from the MKV with gMKVExtractGUI to see where the two fields ended up.

    Code:
    <?xml version="1.0"?>
    <!-- <!DOCTYPE Tags SYSTEM "matroskatags.dtd"> -->
    <Tags>
      <Tag>
        <Targets>
          <TargetTypeValue>30</TargetTypeValue>
        </Targets>
        <Simple>
          <Name>CREATION_TIME</Name>
          <String>2021-03-02T19:15:46.000000Z</String>
          <TagLanguage>und</TagLanguage>
          <DefaultLanguage>1</DefaultLanguage>
        </Simple>
        <Simple>
          <Name>ENCODER</Name>
          <String>libebml v1.3.6 + libmatroska v1.4.9</String>
          <TagLanguage>und</TagLanguage>
          <DefaultLanguage>1</DefaultLanguage>
        </Simple>
        <Simple>
          <Name>MAX BITS 1</Name>
          <String>987</String>
          <TagLanguage>und</TagLanguage>
          <DefaultLanguage>1</DefaultLanguage>
        </Simple>
        <Simple>
          <Name>MAX BITS 2</Name>
          <String>624</String>
          <TagLanguage>und</TagLanguage>
          <DefaultLanguage>1</DefaultLanguage>
        </Simple>
      </Tag>
    </Tags>
    Does any of that help?
    Last edited by hello_hello; 14th Feb 2023 at 07:55.
    Quote Quote  
  3. Member
    Join Date
    Aug 2015
    Location
    Quebec, Canada
    Search PM
    Hello,

    Thanks for your respond,

    Does it help me ? yes and no.

    Yes, I have learned that I can add tags easely with foobar2000 which is pretty good to know.

    No, because it's a value you add to the video, not the real video "maximum bit rate" in metadata that should be display like this :

    Bit rate : 9 219 kb/s
    Maximum bit rate : 19.7 Mb/s

    for all my videos in h264 I use "my mp4box" with provide bitrate information like this :

    Bit rate : 9 219 kb/s
    Maximum bit rate : 19.7 Mb/s

    if I use ffmpeg, only the bitrate value is kept :

    Bit rate : 9 219 kb/s

    like you said, maximum bitrate isn't a standard tag but the information is in the video, I just know don't how to make it appears like "my mp4box" is doing

    and since "my mp4box" doesn't support h265 it's another problem too

    I have tried HxD editor for metadata but I can't pinpoint "maximum bitrate" value

    Thanks for your help
    Quote Quote  



Similar Threads

Visit our sponsor! Try DVDFab and backup Blu-rays!