ffprobe:streams:get_the_number_of_available_streams
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
ffprobe:streams:get_the_number_of_available_streams [2025/01/12 20:37] – created peter | ffprobe:streams:get_the_number_of_available_streams [2025/01/12 20:51] (current) – peter | ||
---|---|---|---|
Line 2: | Line 2: | ||
<code bash> | <code bash> | ||
- | ffprobe input -show_entries format=nb_streams -v 0 -of compact=p=0:nk=1 | + | ffprobe |
or | or | ||
Line 11: | Line 11: | ||
<WRAP info> | <WRAP info> | ||
**NOTE:** This can be filtered for only video or audio streams by adding **-select_streams v** or **-select_streams a**, respectively. | **NOTE:** This can be filtered for only video or audio streams by adding **-select_streams v** or **-select_streams a**, respectively. | ||
+ | |||
+ | * **-v 0** only show fatal errors which could lead the process to crash, such as an assertion failure. | ||
+ | * This hides " | ||
+ | * **-show_entries format=nb_streams** shows the number of streams. | ||
+ | * **-of csv=p=0** sets the output formatting. In this case it hides the descriptions and only shows the value. | ||
+ | * See [[https:// | ||
+ | |||
</ | </ | ||
+ | ---- | ||
+ | |||
+ | ===== References ===== | ||
+ | |||
+ | https:// | ||
+ | |||
+ | https:// |
ffprobe/streams/get_the_number_of_available_streams.1736714269.txt.gz · Last modified: 2025/01/12 20:37 by peter