MediaInfo CLI (Command Line Interface) Syntax Teaching Me Once & For All
<p>Dear Friends at Stack Overflow,
There is a pattern of questioning here that I noticed in many categories, but for the sake of this topic I'll talk about MediaInfo CLI. The same type of questions keep re-occurring because the source problem is <em>NOT</em> solved, which is to teach people how to fish, rather than feeding them with fish.</p>

<p>Some people ask:
"I do not know how to get BitRate only from MediaInfo". They are respected, and the advanced users who answer them are also respected. Others ask the same question for FrameRate, Duration, &amp; Resolution... I respect them, and also respect those who answer them.</p>

<p>However, I'm truly sorry for this process to be redundant. Unfortunately the MediaInfo website documentation does not clarify how to properly use MediaInfo.exe with the CLI version to extract specific information, and the --Info Parameters just lists a lot of parameters without instructing how to use them.</p>

<p>So in order to extract specific information for a video using MediaInfo.exe CLI, I'll just have to kindly ask here because I am unable to customize the parameters myself, since I don't get the syntax on the documentation. I would have taken the easy way to just ask you what kind of information I need to extract from the video, but then every one who doesn't know the syntax will come back asking for redundant questions.</p>

<p>Instead, I decided to waste a bit more of your time by writing all this, in hopes that you will help me and everyone else who will come searching for this specific question on <em>How to Use the MediaInfo CLI --Info-Parameters Syntax</em> so that the answers aren't repeated for every custom inquiry.</p>

<p>I honestly want to understand how to use it, and not just copy pasting the ready made one-line answers I will receive.</p>

<p>I'll start by mentioning what I know, that any new inquirer may learn from the very little I know, and then I'll kindly ask you to teach me how to write proper MediaInfo --Info-Parameters syntax to extract specific video information.</p>

<ol>
<li>After you Download MediaInfo the CLI version for Windows, extract the zip file and put it on your Desktop.</li>
<li>RUN + CMD</li>
<li>Navigate to the MediaInfo Folder on the Desktop.</li>
<li>Put some Video files in the MediaInfo folder.</li>
<li><p>Run the following on the terminal:</p>

<p>MediaInfo.exe --help >Help.txt</p>

<p>MediaInfo.exe --Info-Parameters >Info_Parameters.txt</p></li>
</ol>

<p>Now you have some help files to search for your required information. The rest of this simple documentation depends on the generosity of my fellow StackOverflow members.</p>

<p>To be more clear about my question, once and for all: How can I write proper syntax for the MediaInfo.exe CLI to extract specific information such as FrameRate, Duration, &amp; Resolution? I need to understand the syntax more than the ready-made solution to be able to customize it later.</p>

<p>Thank you for your time!</p>