summaryrefslogtreecommitdiff
path: root/doc/ffprobe.texi
diff options
context:
space:
mode:
authorStefano Sabatini <stefasab@gmail.com>2012-10-04 17:38:43 +0200
committerStefano Sabatini <stefasab@gmail.com>2012-10-05 23:58:18 +0200
commit3d189d41c10ed710a13135ba11a0859e6b7e4faf (patch)
tree3f68b1907eb9205bc46fbc7818fc7f0d082afd18 /doc/ffprobe.texi
parentd9dfe9a5aef7e10821cbfdcf40f75f212a7a1da2 (diff)
ffprobe: add -select_streams option
Diffstat (limited to 'doc/ffprobe.texi')
-rw-r--r--doc/ffprobe.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/ffprobe.texi b/doc/ffprobe.texi
index 58ea38367d..6295eb35bc 100644
--- a/doc/ffprobe.texi
+++ b/doc/ffprobe.texi
@@ -94,6 +94,21 @@ For example for printing the output in JSON format, specify:
For more details on the available output printing formats, see the
Writers section below.
+@item -select_streams @var{stream_specifier}
+Select only the streams specified by @var{stream_specifier}. This
+option affects only the options related to streams
+(e.g. @code{show_streams}, @code{show_packets}, etc.).
+
+For example to show only audio streams, you can use the command:
+@example
+ffprobe -show_streams -select_streams a INPUT
+@end example
+
+To show only video packets belonging to the video stream with index 1:
+@example
+ffprobe -show_packets -select_streams v:1 INPUT
+@end example
+
@item -show_data
Show payload data, as an hexadecimal and ASCII dump. Coupled with
@option{-show_packets}, it will dump the packets' data. Coupled with