user19040: I just want to see how many streams are inside my video file.
I looked at the official documentation and I cannot see what option I can use. Perhaps another command/terminal app can do something similar?
Any ideas how it can be done?

user525: If you have ffprobe installed:
ffprobe <input> -show_entries format=nb_streams -v 0 -of compact=p=0:nk=1

You can also filter for video or audio streams by adding -select_streams v or -select_streams a, respectively. See the manual for more details.
If you do not have ffprobe, ffmpeg can be used too, but in a slightly less robust way (i.e., this may break if the output format changes or something contains the words "Stream #" in the output):
ffmpeg -i <input> 2>&1 | grep "Stream #" | wc -l


19040: <p>I just want to see how many streams are inside my video file.</p>

<p>I looked at the <a href="http://ffmpeg.org/ffmpeg.html" rel="nofollow noreferrer">official documentation</a> and I cannot see what option I can use. Perhaps another command/terminal app can do something similar?</p>

<p>Any ideas how it can be done?</p>
 525: <p>If you have <code>ffprobe</code> installed:</p>

<pre><code>ffprobe &lt;input&gt; -show_entries format=nb_streams -v 0 -of compact=p=0:nk=1
</code></pre>

<p>You can also filter for video or audio streams by adding <code>-select_streams v</code> or <code>-select_streams a</code>, respectively. See <a href="https://ffmpeg.org/ffprobe.html" rel="noreferrer">the manual</a> for more details.</p>

<p>If you do not have <code>ffprobe</code>, <code>ffmpeg</code> can be used too, but in a slightly less robust way (i.e., this may break if the output format changes or something contains the words "Stream #" in the output):</p>

<pre><code>ffmpeg -i &lt;input&gt; 2&gt;&amp;1 | grep "Stream #" | wc -l
</code></pre>
