VideoHelp Forum


Try DVDFab Video Downloader and rip Netflix video! Or Try DVDFab and copy Blu-rays! or rip iTunes movies!
+ Reply to Thread
Results 1 to 5 of 5
Thread
  1. Hi! I am trying to get the cli version of mediainfo to print the color matrix info; In the full output I found three sections that apply: "Color primaries", "Transfer characteristics" and "Matrix coefficients"

    I tried to use: mediainfo --inform="Video;%Colour_primaries%,%transfer_charact eristics%,%matrix_coeficients%" Inputfile.mkv

    but it just returns a blank line and back to command prompt.

    would appreciate any helpful info from those experienced with cli mediainfo




    Quote Quote  
  2. Please try the following command:

    Code:
    mediainfo --inform="Video;%colour_primaries%,%MasteringDisplay_ColorPrimaries%,%transfer_characteristics%,%matrix_coefficients%" Inputfile.mkv
    If you want to detect HDR, you may also need %BitDepth%
    Quote Quote  
  3. exact names for parameters can be obtained like this, this is bat file:
    Code:
    mediainfo.exe --Info-Parameters > parameters.txt
    START  "notepad.exe" parameters.txt
    better to load it by notepad because the list is long, and this way it could be saved
    Quote Quote  
  4. Originally Posted by _Al_ View Post
    exact names for parameters can be obtained like this, this is bat file:
    Code:
    mediainfo.exe --Info-Parameters > parameters.txt
    START  "notepad.exe" parameters.txt
    better to load it by notepad because the list is long, and this way it could be saved
    One hint: The maintenance of that list doesn't seem to be the favourite occupation of the MediaInfo developer. That's why it's missing many fields.
    If so, then choose "XML" as View. The parameters usually correspond to the tag names.
    Quote Quote  
  5. thanks a bunch for all replies fornit's example did it for me.
    Quote Quote  



Similar Threads