Menu

#228 Add support for default and forced track flags for mkv files

More_attribute
closed-accepted
5
2023-08-23
2009-10-05
myarmor
No

MKV files can have forced and default track flags (and often do), can you please add support for them to MediaInfo.dll and MediaInfo?
MKVMerge can determine these for a .mkv file, so it should be doable.

I'm posting this request in accordance with your answer at https://sourceforge.net/projects/mediainfo/forums/forum/297610/topic/3404391

Discussion

  • myarmor

    myarmor - 2009-10-05

    I'm not sure of OGM files has support for the same, but it isn't too unlikely.

     
  • Jerome Martinez

    Jerome Martinez - 2009-10-05

    OGM does not have this, unfortunalty (or I don't know where it is... If you have samples of OGM files with forced/default track, I am interested in)

     
  • Jerome Martinez

    Jerome Martinez - 2009-10-05
    • milestone: --> More_attribute
    • status: open --> open-accepted
     
  • wwarby

    wwarby - 2011-09-24

    Just wanted to chime in and say I'm also looking for this feature. I use MediaInfo.dll in a project I'm working on, and I'd really like to be able to get these two flags from MKV files. When dropping an MKV file into MKVMerge GUI, these flags are correctly set to the current values for the tracks, so this info must be in the MKV file somewhere.

     
  • Jerome Martinez

    Jerome Martinez - 2011-09-26

    ok, ok... I am on good mood today ;-), I quickly added 2 new fields

    Audio #1
    ID : 2
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : HE-AAC / LC
    Codec ID : A_AAC/MPEG4/LC/SBR
    Duration : 2h 50mn
    Channel(s) : 2 channels
    Sampling rate : 44.1 KHz / 22.05 KHz
    Compression mode : Lossy
    Language : French
    Default : Yes
    Forced : No

    Audio #2
    ID : 3
    Format : AAC
    Format/Info : Advanced Audio Codec
    Format version : Version 4
    Format profile : HE-AAC / LC
    Codec ID : A_AAC/MPEG4/LC/SBR
    Duration : 2h 50mn
    Channel(s) : 2 channels
    Sampling rate : 44.1 KHz / 22.05 KHz
    Compression mode : Lossy
    Language : English
    Default : No
    Forced : No

     
  • Jerome Martinez

    Jerome Martinez - 2011-09-26
    • status: open-accepted --> closed-accepted
     
  • leoblue

    leoblue - 2023-08-23

    MKVToolNix Gui has a "Properties" pane which shows these two flags, as well as several others, most notably "Commentary" and "Visual Impaired". Mkvpropedit allows the setting of these flags with "--set flag-commentary=1" and "--set flag-visual-impaired=1" to name just the two. Is there any way to get at these flags via custom code that makes calls to MediaInfo.dll?

     

    Last edit: leoblue 2023-08-23

Log in to post a comment.

MongoDB Logo MongoDB