avconv: convert to new refcounted AVFrame API
[FFMpeg-mirror/mplayer-patches.git] / doc / avprobe.texi
blob7e6fedf5c489baa42042af20b9f75347d6ed3956
1 \input texinfo @c -*- texinfo -*-
3 @settitle avprobe Documentation
4 @titlepage
5 @center @titlefont{avprobe Documentation}
6 @end titlepage
8 @top
10 @contents
12 @chapter Synopsis
14 The generic syntax is:
16 @example
17 @c man begin SYNOPSIS
18 avprobe [options] [@file{input_file}]
19 @c man end
20 @end example
22 @chapter Description
23 @c man begin DESCRIPTION
25 avprobe gathers information from multimedia streams and prints it in
26 human- and machine-readable fashion.
28 For example it can be used to check the format of the container used
29 by a multimedia stream and the format and type of each media stream
30 contained in it.
32 If a filename is specified in input, avprobe will try to open and
33 probe the file content. If the file cannot be opened or recognized as
34 a multimedia file, a positive exit code is returned.
36 avprobe may be employed both as a standalone application or in
37 combination with a textual filter, which may perform more
38 sophisticated processing, e.g. statistical processing or plotting.
40 Options are used to list some of the formats supported by avprobe or
41 for specifying which information to display, and for setting how
42 avprobe will show it.
44 avprobe output is designed to be easily parsable by any INI or JSON
45 parsers.
47 @c man end
49 @chapter Options
50 @c man begin OPTIONS
52 @include avtools-common-opts.texi
54 @section Main options
56 @table @option
58 @item -f @var{format}
59 Force format to use.
61 @item -of @var{formatter}
62 Use a specific formatter to output the document. The following
63 formatters are available
64 @table @option
65 @item ini
67 @item json
69 @item old
70 Pseudo-INI format that used to be the only one available in old
71 avprobe versions.
72 @end table
74 @item -unit
75 Show the unit of the displayed values.
77 @item -prefix
78 Use SI prefixes for the displayed values.
79 Unless the "-byte_binary_prefix" option is used all the prefixes
80 are decimal.
82 @item -byte_binary_prefix
83 Force the use of binary prefixes for byte values.
85 @item -sexagesimal
86 Use sexagesimal format HH:MM:SS.MICROSECONDS for time values.
88 @item -pretty
89 Prettify the format of the displayed values, it corresponds to the
90 options "-unit -prefix -byte_binary_prefix -sexagesimal".
92 @item -show_format
93 Show information about the container format of the input multimedia
94 stream.
96 All the container format information is printed within a section with
97 name "FORMAT".
99 @item -show_format_entry @var{name}
100 Like @option{-show_format}, but only prints the specified entry of the
101 container format information, rather than all. This option may be given more
102 than once, then all specified entries will be shown.
104 @item -show_packets
105 Show information about each packet contained in the input multimedia
106 stream.
108 The information for each single packet is printed within a dedicated
109 section with name "PACKET".
111 @item -show_streams
112 Show information about each media stream contained in the input
113 multimedia stream.
115 Each media stream information is printed within a dedicated section
116 with name "STREAM".
118 @end table
119 @c man end
121 @include demuxers.texi
122 @include muxers.texi
123 @include protocols.texi
124 @include indevs.texi
126 @ignore
128 @setfilename avprobe
129 @settitle avprobe media prober
131 @c man begin SEEALSO
132 avconv(1), avplay(1) and the Libav HTML documentation
133 @c man end
135 @c man begin AUTHORS
136 The Libav developers
137 @c man end
139 @end ignore
141 @bye