<p>Use <strong>MediaInfo</strong>?
About:
<a href="https://mediaarea.net/en/MediaInfo" rel="nofollow noreferrer">https://mediaarea.net/en/MediaInfo</a>
//
Downloads:
<a href="https://mediaarea.net/en/MediaInfo/Download" rel="nofollow noreferrer">https://mediaarea.net/en/MediaInfo/Download</a></p>
<p>But you need to <strong>install</strong> it.
On Windows (haven't tested on mac), it shows up as option on rightclick</p>

CC BY-SA 4.0
2021-03-28T05:55:03.720Z
2021-03-28T05:55:03.720Z
Lorgen GR Magpantay
<p>Any easy way to find out a video's resolution &amp; duration?</p>
<p>I know one way is to parse the <code>ffprobe</code>'s output. But,</p>
<ul>
<li>I don't know how consistent the output is among different video files.</li>
<li>and most importantly, I hope to avoid such parsing entirely.</li>
</ul>
<p>I've tried</p>
<ul>
<li><code>ffprobe -print_format json ...</code></li>
<li><code>ffprobe -print_format compact ...</code></li>
</ul>
<p>But neither seems to be what they are supposed to be</p>
<blockquote>
<p>-print_format format  set the output printing format (available formats are: default, compact, csv, flat, ini, json, xml)</p>
</blockquote>

<video>
Find out video's resolution & duration
xpt
# Find out video's resolution & duration

(Asked by: username_0 on 2021-03-28)

Any easy way to find out a video's resolution & duration?

I know one way is to parse the `ffprobe`'s output. But,

* I don't know how consistent the output is among different video files.
* and most importantly, I hope to avoid such parsing entirely.

I've tried

* `ffprobe -print_format json ...`
* `ffprobe -print_format compact ...`

But neither seems to be what they are supposed to be

> -print\_format format set the output printing format (available formats are: default, compact, csv, flat, ini, json, xml)

**Tags:** video


---

## 1 answers

### Answer by username_1 on 2021-03-28. Score: 1 | Accepted answer

Use **MediaInfo**?
About:
<https://mediaarea.net/en/MediaInfo>
//
Downloads:
<https://mediaarea.net/en/MediaInfo/Download>

But you need to **install** it.
On Windows (haven't tested on mac), it shows up as option on rightclick


---

