user17582: If I have a video file, how can I find out which kind of chroma subsampling (4:2:2, 4:2:0), if any, that is used?

What I've tried so far:
If I open the codec info in VLC I can see that it's in the ITU-R BT.709 color space. Does this tell me anything about which subsampling is used?

user3592: Mediainfo is a free, open source, cross-platform solution, available in 37 languages.  https://en.m.wikipedia.org/wiki/MediaInfo
When run from the command line it outputs chrome subsampling info by default:
$ mediainfo videofile.mov

[...]
Chroma subsampling                       : 4:2:0
[...]


user5569: Using the ffprobe command (part of FFmpeg, also a command line tool)
ffprobe -show_entries stream=pix_fmt <VIDEO FILE>

The output will look like this:
...
[STREAM]
pix_fmt=yuv420p
[/STREAM]
[STREAM]
[/STREAM]

You can then find the description of the pixel format as used in ffmpeg:
 AV_PIX_FMT_YUV420P,   ///< planar YUV 4:2:0, 12bpp, (1 Cr & Cb sample per 2x2 Y samples)


17582: <p><strong>If I have a video file, how can I find out which kind of chroma subsampling (4:2:2, 4:2:0), if any, that is used?</strong></p>
<hr />
<p>What I've tried so far:</p>
<p>If I open the codec info in VLC I can see that it's in the ITU-R BT.709 color space. Does this tell me anything about which subsampling is used?</p>
 3592: <p>Mediainfo is a free, open source, cross-platform solution, available in 37 languages.  <a href="https://en.m.wikipedia.org/wiki/MediaInfo" rel="nofollow noreferrer">https://en.m.wikipedia.org/wiki/MediaInfo</a></p>
<p>When run from the command line it outputs chrome subsampling info by default:</p>
<pre><code>$ mediainfo videofile.mov

[...]
Chroma subsampling                       : 4:2:0
[...]
</code></pre>
 5569: <p>Using the ffprobe command (part of FFmpeg, also a command line tool)</p>
<pre><code>ffprobe -show_entries stream=pix_fmt &lt;VIDEO FILE&gt;
</code></pre>
<p>The output will look like this:</p>
<pre><code>...
[STREAM]
pix_fmt=yuv420p
[/STREAM]
[STREAM]
[/STREAM]
</code></pre>
<p>You can then find <a href="https://ffmpeg.org/doxygen/trunk/pixfmt_8h_source.html" rel="nofollow noreferrer">the description of the pixel format</a> as used in ffmpeg:</p>
<pre><code> AV_PIX_FMT_YUV420P,   ///&lt; planar YUV 4:2:0, 12bpp, (1 Cr &amp; Cb sample per 2x2 Y samples)
</code></pre>
