]> git.sesse.net Git - casparcg/blob - dependencies/ffmpeg/doc/ffprobe.html
3a3b8fcd8202a3c2f0b3e53aab068397caf38b5c
[casparcg] / dependencies / ffmpeg / doc / ffprobe.html
1 <!DOCTYPE html>
2 <html>
3 <!-- Created on June 19, 2014 by texi2html 1.82 -->
4 <!--
5 texi2html was written by: 
6             Lionel Cons <Lionel.Cons@cern.ch> (original author)
7             Karl Berry  <karl@freefriends.org>
8             Olaf Bachmann <obachman@mathematik.uni-kl.de>
9             and many others.
10 Maintained by: Many creative people.
11 Send bugs and suggestions to <texi2html-bug@nongnu.org>
12
13 -->
14 <head>
15 <title>FFmpeg documentation : ffprobe </title>
16
17 <meta name="description" content="ffprobe Documentation: ">
18 <meta name="keywords" content="FFmpeg documentation : ffprobe ">
19 <meta name="Generator" content="texi2html 1.82">
20 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
21 <link rel="stylesheet" type="text/css" href="default.css" />
22
23 <link rel="icon" href="favicon.png" type="image/png" />
24 </head>
25 <body>
26 <div id="container">
27 <div id="body">
28
29 <a name="SEC_Top"></a>
30 <h1 class="settitle">ffprobe Documentation</h1>
31
32 <a name="SEC_Contents"></a>
33 <h1>Table of Contents</h1>
34 <div class="contents">
35
36 <ul class="toc">
37   <li><a name="toc-Synopsis" href="#Synopsis">1. Synopsis</a></li>
38   <li><a name="toc-Description" href="#Description">2. Description</a></li>
39   <li><a name="toc-Options" href="#Options">3. Options</a>
40   <ul class="toc">
41     <li><a name="toc-Stream-specifiers-1" href="#Stream-specifiers-1">3.1 Stream specifiers</a></li>
42     <li><a name="toc-Generic-options" href="#Generic-options">3.2 Generic options</a></li>
43     <li><a name="toc-AVOptions" href="#AVOptions">3.3 AVOptions</a></li>
44     <li><a name="toc-Main-options" href="#Main-options">3.4 Main options</a></li>
45   </ul></li>
46   <li><a name="toc-Writers" href="#Writers">4. Writers</a>
47   <ul class="toc">
48     <li><a name="toc-default" href="#default">4.1 default</a></li>
49     <li><a name="toc-compact_002c-csv" href="#compact_002c-csv">4.2 compact, csv</a></li>
50     <li><a name="toc-flat" href="#flat">4.3 flat</a></li>
51     <li><a name="toc-ini" href="#ini">4.4 ini</a></li>
52     <li><a name="toc-json" href="#json">4.5 json</a></li>
53     <li><a name="toc-xml" href="#xml">4.6 xml</a></li>
54   </ul></li>
55   <li><a name="toc-Timecode" href="#Timecode">5. Timecode</a></li>
56   <li><a name="toc-See-Also" href="#See-Also">6. See Also</a></li>
57   <li><a name="toc-Authors" href="#Authors">7. Authors</a></li>
58 </ul>
59 </div>
60
61 <a name="Synopsis"></a>
62 <h1 class="chapter"><a href="ffprobe.html#toc-Synopsis">1. Synopsis</a></h1>
63
64 <p>ffprobe [<var>options</var>] [&lsquo;<tt>input_file</tt>&rsquo;]
65 </p>
66 <a name="Description"></a>
67 <h1 class="chapter"><a href="ffprobe.html#toc-Description">2. Description</a></h1>
68
69 <p>ffprobe gathers information from multimedia streams and prints it in
70 human- and machine-readable fashion.
71 </p>
72 <p>For example it can be used to check the format of the container used
73 by a multimedia stream and the format and type of each media stream
74 contained in it.
75 </p>
76 <p>If a filename is specified in input, ffprobe will try to open and
77 probe the file content. If the file cannot be opened or recognized as
78 a multimedia file, a positive exit code is returned.
79 </p>
80 <p>ffprobe may be employed both as a standalone application or in
81 combination with a textual filter, which may perform more
82 sophisticated processing, e.g. statistical processing or plotting.
83 </p>
84 <p>Options are used to list some of the formats supported by ffprobe or
85 for specifying which information to display, and for setting how
86 ffprobe will show it.
87 </p>
88 <p>ffprobe output is designed to be easily parsable by a textual filter,
89 and consists of one or more sections of a form defined by the selected
90 writer, which is specified by the &lsquo;<samp>print_format</samp>&rsquo; option.
91 </p>
92 <p>Sections may contain other nested sections, and are identified by a
93 name (which may be shared by other sections), and an unique
94 name. See the output of &lsquo;<samp>sections</samp>&rsquo;.
95 </p>
96 <p>Metadata tags stored in the container or in the streams are recognized
97 and printed in the corresponding &quot;FORMAT&quot;, &quot;STREAM&quot; or &quot;PROGRAM_STREAM&quot;
98 section.
99 </p>
100
101 <a name="Options"></a>
102 <h1 class="chapter"><a href="ffprobe.html#toc-Options">3. Options</a></h1>
103
104 <p>All the numerical options, if not specified otherwise, accept a string
105 representing a number as input, which may be followed by one of the SI
106 unit prefixes, for example: &rsquo;K&rsquo;, &rsquo;M&rsquo;, or &rsquo;G&rsquo;.
107 </p>
108 <p>If &rsquo;i&rsquo; is appended to the SI unit prefix, the complete prefix will be
109 interpreted as a unit prefix for binary multiplies, which are based on
110 powers of 1024 instead of powers of 1000. Appending &rsquo;B&rsquo; to the SI unit
111 prefix multiplies the value by 8. This allows using, for example:
112 &rsquo;KB&rsquo;, &rsquo;MiB&rsquo;, &rsquo;G&rsquo; and &rsquo;B&rsquo; as number suffixes.
113 </p>
114 <p>Options which do not take arguments are boolean options, and set the
115 corresponding value to true. They can be set to false by prefixing
116 the option name with &quot;no&quot;. For example using &quot;-nofoo&quot;
117 will set the boolean option with name &quot;foo&quot; to false.
118 </p>
119 <p><a name="Stream-specifiers"></a>
120 </p><a name="Stream-specifiers-1"></a>
121 <h2 class="section"><a href="ffprobe.html#toc-Stream-specifiers-1">3.1 Stream specifiers</a></h2>
122 <p>Some options are applied per-stream, e.g. bitrate or codec. Stream specifiers
123 are used to precisely specify which stream(s) a given option belongs to.
124 </p>
125 <p>A stream specifier is a string generally appended to the option name and
126 separated from it by a colon. E.g. <code>-codec:a:1 ac3</code> contains the
127 <code>a:1</code> stream specifier, which matches the second audio stream. Therefore, it
128 would select the ac3 codec for the second audio stream.
129 </p>
130 <p>A stream specifier can match several streams, so that the option is applied to all
131 of them. E.g. the stream specifier in <code>-b:a 128k</code> matches all audio
132 streams.
133 </p>
134 <p>An empty stream specifier matches all streams. For example, <code>-codec copy</code>
135 or <code>-codec: copy</code> would copy all the streams without reencoding.
136 </p>
137 <p>Possible forms of stream specifiers are:
138 </p><dl compact="compact">
139 <dt> &lsquo;<samp><var>stream_index</var></samp>&rsquo;</dt>
140 <dd><p>Matches the stream with this index. E.g. <code>-threads:1 4</code> would set the
141 thread count for the second stream to 4.
142 </p></dd>
143 <dt> &lsquo;<samp><var>stream_type</var>[:<var>stream_index</var>]</samp>&rsquo;</dt>
144 <dd><p><var>stream_type</var> is one of following: &rsquo;v&rsquo; for video, &rsquo;a&rsquo; for audio, &rsquo;s&rsquo; for subtitle,
145 &rsquo;d&rsquo; for data, and &rsquo;t&rsquo; for attachments. If <var>stream_index</var> is given, then it matches
146 stream number <var>stream_index</var> of this type. Otherwise, it matches all
147 streams of this type.
148 </p></dd>
149 <dt> &lsquo;<samp>p:<var>program_id</var>[:<var>stream_index</var>]</samp>&rsquo;</dt>
150 <dd><p>If <var>stream_index</var> is given, then it matches the stream with number <var>stream_index</var>
151 in the program with the id <var>program_id</var>. Otherwise, it matches all streams in the
152 program.
153 </p></dd>
154 <dt> &lsquo;<samp>#<var>stream_id</var></samp>&rsquo;</dt>
155 <dd><p>Matches the stream by a format-specific ID.
156 </p></dd>
157 </dl>
158
159 <a name="Generic-options"></a>
160 <h2 class="section"><a href="ffprobe.html#toc-Generic-options">3.2 Generic options</a></h2>
161
162 <p>These options are shared amongst the ff* tools.
163 </p>
164 <dl compact="compact">
165 <dt> &lsquo;<samp>-L</samp>&rsquo;</dt>
166 <dd><p>Show license.
167 </p>
168 </dd>
169 <dt> &lsquo;<samp>-h, -?, -help, --help [<var>arg</var>]</samp>&rsquo;</dt>
170 <dd><p>Show help. An optional parameter may be specified to print help about a specific
171 item. If no argument is specified, only basic (non advanced) tool
172 options are shown.
173 </p>
174 <p>Possible values of <var>arg</var> are:
175 </p><dl compact="compact">
176 <dt> &lsquo;<samp>long</samp>&rsquo;</dt>
177 <dd><p>Print advanced tool options in addition to the basic tool options.
178 </p>
179 </dd>
180 <dt> &lsquo;<samp>full</samp>&rsquo;</dt>
181 <dd><p>Print complete list of options, including shared and private options
182 for encoders, decoders, demuxers, muxers, filters, etc.
183 </p>
184 </dd>
185 <dt> &lsquo;<samp>decoder=<var>decoder_name</var></samp>&rsquo;</dt>
186 <dd><p>Print detailed information about the decoder named <var>decoder_name</var>. Use the
187 &lsquo;<samp>-decoders</samp>&rsquo; option to get a list of all decoders.
188 </p>
189 </dd>
190 <dt> &lsquo;<samp>encoder=<var>encoder_name</var></samp>&rsquo;</dt>
191 <dd><p>Print detailed information about the encoder named <var>encoder_name</var>. Use the
192 &lsquo;<samp>-encoders</samp>&rsquo; option to get a list of all encoders.
193 </p>
194 </dd>
195 <dt> &lsquo;<samp>demuxer=<var>demuxer_name</var></samp>&rsquo;</dt>
196 <dd><p>Print detailed information about the demuxer named <var>demuxer_name</var>. Use the
197 &lsquo;<samp>-formats</samp>&rsquo; option to get a list of all demuxers and muxers.
198 </p>
199 </dd>
200 <dt> &lsquo;<samp>muxer=<var>muxer_name</var></samp>&rsquo;</dt>
201 <dd><p>Print detailed information about the muxer named <var>muxer_name</var>. Use the
202 &lsquo;<samp>-formats</samp>&rsquo; option to get a list of all muxers and demuxers.
203 </p>
204 </dd>
205 <dt> &lsquo;<samp>filter=<var>filter_name</var></samp>&rsquo;</dt>
206 <dd><p>Print detailed information about the filter name <var>filter_name</var>. Use the
207 &lsquo;<samp>-filters</samp>&rsquo; option to get a list of all filters.
208 </p></dd>
209 </dl>
210
211 </dd>
212 <dt> &lsquo;<samp>-version</samp>&rsquo;</dt>
213 <dd><p>Show version.
214 </p>
215 </dd>
216 <dt> &lsquo;<samp>-formats</samp>&rsquo;</dt>
217 <dd><p>Show available formats.
218 </p>
219 </dd>
220 <dt> &lsquo;<samp>-codecs</samp>&rsquo;</dt>
221 <dd><p>Show all codecs known to libavcodec.
222 </p>
223 <p>Note that the term &rsquo;codec&rsquo; is used throughout this documentation as a shortcut
224 for what is more correctly called a media bitstream format.
225 </p>
226 </dd>
227 <dt> &lsquo;<samp>-decoders</samp>&rsquo;</dt>
228 <dd><p>Show available decoders.
229 </p>
230 </dd>
231 <dt> &lsquo;<samp>-encoders</samp>&rsquo;</dt>
232 <dd><p>Show all available encoders.
233 </p>
234 </dd>
235 <dt> &lsquo;<samp>-bsfs</samp>&rsquo;</dt>
236 <dd><p>Show available bitstream filters.
237 </p>
238 </dd>
239 <dt> &lsquo;<samp>-protocols</samp>&rsquo;</dt>
240 <dd><p>Show available protocols.
241 </p>
242 </dd>
243 <dt> &lsquo;<samp>-filters</samp>&rsquo;</dt>
244 <dd><p>Show available libavfilter filters.
245 </p>
246 </dd>
247 <dt> &lsquo;<samp>-pix_fmts</samp>&rsquo;</dt>
248 <dd><p>Show available pixel formats.
249 </p>
250 </dd>
251 <dt> &lsquo;<samp>-sample_fmts</samp>&rsquo;</dt>
252 <dd><p>Show available sample formats.
253 </p>
254 </dd>
255 <dt> &lsquo;<samp>-layouts</samp>&rsquo;</dt>
256 <dd><p>Show channel names and standard channel layouts.
257 </p>
258 </dd>
259 <dt> &lsquo;<samp>-colors</samp>&rsquo;</dt>
260 <dd><p>Show recognized color names.
261 </p>
262 </dd>
263 <dt> &lsquo;<samp>-loglevel [repeat+]<var>loglevel</var> | -v [repeat+]<var>loglevel</var></samp>&rsquo;</dt>
264 <dd><p>Set the logging level used by the library.
265 Adding &quot;repeat+&quot; indicates that repeated log output should not be compressed
266 to the first line and the &quot;Last message repeated n times&quot; line will be
267 omitted. &quot;repeat&quot; can also be used alone.
268 If &quot;repeat&quot; is used alone, and with no prior loglevel set, the default
269 loglevel will be used. If multiple loglevel parameters are given, using
270 &rsquo;repeat&rsquo; will not change the loglevel.
271 <var>loglevel</var> is a number or a string containing one of the following values:
272 </p><dl compact="compact">
273 <dt> &lsquo;<samp>quiet</samp>&rsquo;</dt>
274 <dd><p>Show nothing at all; be silent.
275 </p></dd>
276 <dt> &lsquo;<samp>panic</samp>&rsquo;</dt>
277 <dd><p>Only show fatal errors which could lead the process to crash, such as
278 and assert failure. This is not currently used for anything.
279 </p></dd>
280 <dt> &lsquo;<samp>fatal</samp>&rsquo;</dt>
281 <dd><p>Only show fatal errors. These are errors after which the process absolutely
282 cannot continue after.
283 </p></dd>
284 <dt> &lsquo;<samp>error</samp>&rsquo;</dt>
285 <dd><p>Show all errors, including ones which can be recovered from.
286 </p></dd>
287 <dt> &lsquo;<samp>warning</samp>&rsquo;</dt>
288 <dd><p>Show all warnings and errors. Any message related to possibly
289 incorrect or unexpected events will be shown.
290 </p></dd>
291 <dt> &lsquo;<samp>info</samp>&rsquo;</dt>
292 <dd><p>Show informative messages during processing. This is in addition to
293 warnings and errors. This is the default value.
294 </p></dd>
295 <dt> &lsquo;<samp>verbose</samp>&rsquo;</dt>
296 <dd><p>Same as <code>info</code>, except more verbose.
297 </p></dd>
298 <dt> &lsquo;<samp>debug</samp>&rsquo;</dt>
299 <dd><p>Show everything, including debugging information.
300 </p></dd>
301 </dl>
302
303 <p>By default the program logs to stderr, if coloring is supported by the
304 terminal, colors are used to mark errors and warnings. Log coloring
305 can be disabled setting the environment variable
306 <code>AV_LOG_FORCE_NOCOLOR</code> or <code>NO_COLOR</code>, or can be forced setting
307 the environment variable <code>AV_LOG_FORCE_COLOR</code>.
308 The use of the environment variable <code>NO_COLOR</code> is deprecated and
309 will be dropped in a following FFmpeg version.
310 </p>
311 </dd>
312 <dt> &lsquo;<samp>-report</samp>&rsquo;</dt>
313 <dd><p>Dump full command line and console output to a file named
314 <code><var>program</var>-<var>YYYYMMDD</var>-<var>HHMMSS</var>.log</code> in the current
315 directory.
316 This file can be useful for bug reports.
317 It also implies <code>-loglevel verbose</code>.
318 </p>
319 <p>Setting the environment variable <code>FFREPORT</code> to any value has the
320 same effect. If the value is a &rsquo;:&rsquo;-separated key=value sequence, these
321 options will affect the report; options values must be escaped if they
322 contain special characters or the options delimiter &rsquo;:&rsquo; (see the
323 &ldquo;Quoting and escaping&rdquo; section in the ffmpeg-utils manual). The
324 following option is recognized:
325 </p><dl compact="compact">
326 <dt> &lsquo;<samp>file</samp>&rsquo;</dt>
327 <dd><p>set the file name to use for the report; <code>%p</code> is expanded to the name
328 of the program, <code>%t</code> is expanded to a timestamp, <code>%%</code> is expanded
329 to a plain <code>%</code>
330 </p></dd>
331 </dl>
332
333 <p>Errors in parsing the environment variable are not fatal, and will not
334 appear in the report.
335 </p>
336 </dd>
337 <dt> &lsquo;<samp>-hide_banner</samp>&rsquo;</dt>
338 <dd><p>Suppress printing banner.
339 </p>
340 <p>All FFmpeg tools will normally show a copyright notice, build options
341 and library versions. This option can be used to suppress printing
342 this information.
343 </p>
344 </dd>
345 <dt> &lsquo;<samp>-cpuflags flags (<em>global</em>)</samp>&rsquo;</dt>
346 <dd><p>Allows setting and clearing cpu flags. This option is intended
347 for testing. Do not use it unless you know what you&rsquo;re doing.
348 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffmpeg -cpuflags -sse+mmx ...
349 ffmpeg -cpuflags mmx ...
350 ffmpeg -cpuflags 0 ...
351 </pre></td></tr></table>
352 <p>Possible flags for this option are:
353 </p><dl compact="compact">
354 <dt> &lsquo;<samp>x86</samp>&rsquo;</dt>
355 <dd><dl compact="compact">
356 <dt> &lsquo;<samp>mmx</samp>&rsquo;</dt>
357 <dt> &lsquo;<samp>mmxext</samp>&rsquo;</dt>
358 <dt> &lsquo;<samp>sse</samp>&rsquo;</dt>
359 <dt> &lsquo;<samp>sse2</samp>&rsquo;</dt>
360 <dt> &lsquo;<samp>sse2slow</samp>&rsquo;</dt>
361 <dt> &lsquo;<samp>sse3</samp>&rsquo;</dt>
362 <dt> &lsquo;<samp>sse3slow</samp>&rsquo;</dt>
363 <dt> &lsquo;<samp>ssse3</samp>&rsquo;</dt>
364 <dt> &lsquo;<samp>atom</samp>&rsquo;</dt>
365 <dt> &lsquo;<samp>sse4.1</samp>&rsquo;</dt>
366 <dt> &lsquo;<samp>sse4.2</samp>&rsquo;</dt>
367 <dt> &lsquo;<samp>avx</samp>&rsquo;</dt>
368 <dt> &lsquo;<samp>xop</samp>&rsquo;</dt>
369 <dt> &lsquo;<samp>fma4</samp>&rsquo;</dt>
370 <dt> &lsquo;<samp>3dnow</samp>&rsquo;</dt>
371 <dt> &lsquo;<samp>3dnowext</samp>&rsquo;</dt>
372 <dt> &lsquo;<samp>cmov</samp>&rsquo;</dt>
373 </dl>
374 </dd>
375 <dt> &lsquo;<samp>ARM</samp>&rsquo;</dt>
376 <dd><dl compact="compact">
377 <dt> &lsquo;<samp>armv5te</samp>&rsquo;</dt>
378 <dt> &lsquo;<samp>armv6</samp>&rsquo;</dt>
379 <dt> &lsquo;<samp>armv6t2</samp>&rsquo;</dt>
380 <dt> &lsquo;<samp>vfp</samp>&rsquo;</dt>
381 <dt> &lsquo;<samp>vfpv3</samp>&rsquo;</dt>
382 <dt> &lsquo;<samp>neon</samp>&rsquo;</dt>
383 </dl>
384 </dd>
385 <dt> &lsquo;<samp>PowerPC</samp>&rsquo;</dt>
386 <dd><dl compact="compact">
387 <dt> &lsquo;<samp>altivec</samp>&rsquo;</dt>
388 </dl>
389 </dd>
390 <dt> &lsquo;<samp>Specific Processors</samp>&rsquo;</dt>
391 <dd><dl compact="compact">
392 <dt> &lsquo;<samp>pentium2</samp>&rsquo;</dt>
393 <dt> &lsquo;<samp>pentium3</samp>&rsquo;</dt>
394 <dt> &lsquo;<samp>pentium4</samp>&rsquo;</dt>
395 <dt> &lsquo;<samp>k6</samp>&rsquo;</dt>
396 <dt> &lsquo;<samp>k62</samp>&rsquo;</dt>
397 <dt> &lsquo;<samp>athlon</samp>&rsquo;</dt>
398 <dt> &lsquo;<samp>athlonxp</samp>&rsquo;</dt>
399 <dt> &lsquo;<samp>k8</samp>&rsquo;</dt>
400 </dl>
401 </dd>
402 </dl>
403
404 </dd>
405 <dt> &lsquo;<samp>-opencl_bench</samp>&rsquo;</dt>
406 <dd><p>Benchmark all available OpenCL devices and show the results. This option
407 is only available when FFmpeg has been compiled with <code>--enable-opencl</code>.
408 </p>
409 </dd>
410 <dt> &lsquo;<samp>-opencl_options options (<em>global</em>)</samp>&rsquo;</dt>
411 <dd><p>Set OpenCL environment options. This option is only available when
412 FFmpeg has been compiled with <code>--enable-opencl</code>.
413 </p>
414 <p><var>options</var> must be a list of <var>key</var>=<var>value</var> option pairs
415 separated by &rsquo;:&rsquo;. See the &ldquo;OpenCL Options&rdquo; section in the
416 ffmpeg-utils manual for the list of supported options.
417 </p></dd>
418 </dl>
419
420 <a name="AVOptions"></a>
421 <h2 class="section"><a href="ffprobe.html#toc-AVOptions">3.3 AVOptions</a></h2>
422
423 <p>These options are provided directly by the libavformat, libavdevice and
424 libavcodec libraries. To see the list of available AVOptions, use the
425 &lsquo;<samp>-help</samp>&rsquo; option. They are separated into two categories:
426 </p><dl compact="compact">
427 <dt> &lsquo;<samp>generic</samp>&rsquo;</dt>
428 <dd><p>These options can be set for any container, codec or device. Generic options
429 are listed under AVFormatContext options for containers/devices and under
430 AVCodecContext options for codecs.
431 </p></dd>
432 <dt> &lsquo;<samp>private</samp>&rsquo;</dt>
433 <dd><p>These options are specific to the given container, device or codec. Private
434 options are listed under their corresponding containers/devices/codecs.
435 </p></dd>
436 </dl>
437
438 <p>For example to write an ID3v2.3 header instead of a default ID3v2.4 to
439 an MP3 file, use the &lsquo;<samp>id3v2_version</samp>&rsquo; private option of the MP3
440 muxer:
441 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffmpeg -i input.flac -id3v2_version 3 out.mp3
442 </pre></td></tr></table>
443
444 <p>All codec AVOptions are per-stream, and thus a stream specifier
445 should be attached to them.
446 </p>
447 <p>Note: the &lsquo;<samp>-nooption</samp>&rsquo; syntax cannot be used for boolean
448 AVOptions, use &lsquo;<samp>-option 0</samp>&rsquo;/&lsquo;<samp>-option 1</samp>&rsquo;.
449 </p>
450 <p>Note: the old undocumented way of specifying per-stream AVOptions by
451 prepending v/a/s to the options name is now obsolete and will be
452 removed soon.
453 </p>
454 <a name="Main-options"></a>
455 <h2 class="section"><a href="ffprobe.html#toc-Main-options">3.4 Main options</a></h2>
456
457 <dl compact="compact">
458 <dt> &lsquo;<samp>-f <var>format</var></samp>&rsquo;</dt>
459 <dd><p>Force format to use.
460 </p>
461 </dd>
462 <dt> &lsquo;<samp>-unit</samp>&rsquo;</dt>
463 <dd><p>Show the unit of the displayed values.
464 </p>
465 </dd>
466 <dt> &lsquo;<samp>-prefix</samp>&rsquo;</dt>
467 <dd><p>Use SI prefixes for the displayed values.
468 Unless the &quot;-byte_binary_prefix&quot; option is used all the prefixes
469 are decimal.
470 </p>
471 </dd>
472 <dt> &lsquo;<samp>-byte_binary_prefix</samp>&rsquo;</dt>
473 <dd><p>Force the use of binary prefixes for byte values.
474 </p>
475 </dd>
476 <dt> &lsquo;<samp>-sexagesimal</samp>&rsquo;</dt>
477 <dd><p>Use sexagesimal format HH:MM:SS.MICROSECONDS for time values.
478 </p>
479 </dd>
480 <dt> &lsquo;<samp>-pretty</samp>&rsquo;</dt>
481 <dd><p>Prettify the format of the displayed values, it corresponds to the
482 options &quot;-unit -prefix -byte_binary_prefix -sexagesimal&quot;.
483 </p>
484 </dd>
485 <dt> &lsquo;<samp>-of, -print_format <var>writer_name</var>[=<var>writer_options</var>]</samp>&rsquo;</dt>
486 <dd><p>Set the output printing format.
487 </p>
488 <p><var>writer_name</var> specifies the name of the writer, and
489 <var>writer_options</var> specifies the options to be passed to the writer.
490 </p>
491 <p>For example for printing the output in JSON format, specify:
492 </p><table><tr><td>&nbsp;</td><td><pre class="example">-print_format json
493 </pre></td></tr></table>
494
495 <p>For more details on the available output printing formats, see the
496 Writers section below.
497 </p>
498 </dd>
499 <dt> &lsquo;<samp>-sections</samp>&rsquo;</dt>
500 <dd><p>Print sections structure and section information, and exit. The output
501 is not meant to be parsed by a machine.
502 </p>
503 </dd>
504 <dt> &lsquo;<samp>-select_streams <var>stream_specifier</var></samp>&rsquo;</dt>
505 <dd><p>Select only the streams specified by <var>stream_specifier</var>. This
506 option affects only the options related to streams
507 (e.g. <code>show_streams</code>, <code>show_packets</code>, etc.).
508 </p>
509 <p>For example to show only audio streams, you can use the command:
510 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffprobe -show_streams -select_streams a INPUT
511 </pre></td></tr></table>
512
513 <p>To show only video packets belonging to the video stream with index 1:
514 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffprobe -show_packets -select_streams v:1 INPUT
515 </pre></td></tr></table>
516
517 </dd>
518 <dt> &lsquo;<samp>-show_data</samp>&rsquo;</dt>
519 <dd><p>Show payload data, as a hexadecimal and ASCII dump. Coupled with
520 &lsquo;<samp>-show_packets</samp>&rsquo;, it will dump the packets&rsquo; data. Coupled with
521 &lsquo;<samp>-show_streams</samp>&rsquo;, it will dump the codec extradata.
522 </p>
523 <p>The dump is printed as the &quot;data&quot; field. It may contain newlines.
524 </p>
525 </dd>
526 <dt> &lsquo;<samp>-show_error</samp>&rsquo;</dt>
527 <dd><p>Show information about the error found when trying to probe the input.
528 </p>
529 <p>The error information is printed within a section with name &quot;ERROR&quot;.
530 </p>
531 </dd>
532 <dt> &lsquo;<samp>-show_format</samp>&rsquo;</dt>
533 <dd><p>Show information about the container format of the input multimedia
534 stream.
535 </p>
536 <p>All the container format information is printed within a section with
537 name &quot;FORMAT&quot;.
538 </p>
539 </dd>
540 <dt> &lsquo;<samp>-show_format_entry <var>name</var></samp>&rsquo;</dt>
541 <dd><p>Like &lsquo;<samp>-show_format</samp>&rsquo;, but only prints the specified entry of the
542 container format information, rather than all. This option may be given more
543 than once, then all specified entries will be shown.
544 </p>
545 <p>This option is deprecated, use <code>show_entries</code> instead.
546 </p>
547 </dd>
548 <dt> &lsquo;<samp>-show_entries <var>section_entries</var></samp>&rsquo;</dt>
549 <dd><p>Set list of entries to show.
550 </p>
551 <p>Entries are specified according to the following
552 syntax. <var>section_entries</var> contains a list of section entries
553 separated by <code>:</code>. Each section entry is composed by a section
554 name (or unique name), optionally followed by a list of entries local
555 to that section, separated by <code>,</code>.
556 </p>
557 <p>If section name is specified but is followed by no <code>=</code>, all
558 entries are printed to output, together with all the contained
559 sections. Otherwise only the entries specified in the local section
560 entries list are printed. In particular, if <code>=</code> is specified but
561 the list of local entries is empty, then no entries will be shown for
562 that section.
563 </p>
564 <p>Note that the order of specification of the local section entries is
565 not honored in the output, and the usual display order will be
566 retained.
567 </p>
568 <p>The formal syntax is given by:
569 </p><table><tr><td>&nbsp;</td><td><pre class="example"><var>LOCAL_SECTION_ENTRIES</var> ::= <var>SECTION_ENTRY_NAME</var>[,<var>LOCAL_SECTION_ENTRIES</var>]
570 <var>SECTION_ENTRY</var>         ::= <var>SECTION_NAME</var>[=[<var>LOCAL_SECTION_ENTRIES</var>]]
571 <var>SECTION_ENTRIES</var>       ::= <var>SECTION_ENTRY</var>[:<var>SECTION_ENTRIES</var>]
572 </pre></td></tr></table>
573
574 <p>For example, to show only the index and type of each stream, and the PTS
575 time, duration time, and stream index of the packets, you can specify
576 the argument:
577 </p><table><tr><td>&nbsp;</td><td><pre class="example">packet=pts_time,duration_time,stream_index : stream=index,codec_type
578 </pre></td></tr></table>
579
580 <p>To show all the entries in the section &quot;format&quot;, but only the codec
581 type in the section &quot;stream&quot;, specify the argument:
582 </p><table><tr><td>&nbsp;</td><td><pre class="example">format : stream=codec_type
583 </pre></td></tr></table>
584
585 <p>To show all the tags in the stream and format sections:
586 </p><table><tr><td>&nbsp;</td><td><pre class="example">format_tags : format_tags
587 </pre></td></tr></table>
588
589 <p>To show only the <code>title</code> tag (if available) in the stream
590 sections:
591 </p><table><tr><td>&nbsp;</td><td><pre class="example">stream_tags=title
592 </pre></td></tr></table>
593
594 </dd>
595 <dt> &lsquo;<samp>-show_packets</samp>&rsquo;</dt>
596 <dd><p>Show information about each packet contained in the input multimedia
597 stream.
598 </p>
599 <p>The information for each single packet is printed within a dedicated
600 section with name &quot;PACKET&quot;.
601 </p>
602 </dd>
603 <dt> &lsquo;<samp>-show_frames</samp>&rsquo;</dt>
604 <dd><p>Show information about each frame and subtitle contained in the input
605 multimedia stream.
606 </p>
607 <p>The information for each single frame is printed within a dedicated
608 section with name &quot;FRAME&quot; or &quot;SUBTITLE&quot;.
609 </p>
610 </dd>
611 <dt> &lsquo;<samp>-show_streams</samp>&rsquo;</dt>
612 <dd><p>Show information about each media stream contained in the input
613 multimedia stream.
614 </p>
615 <p>Each media stream information is printed within a dedicated section
616 with name &quot;STREAM&quot;.
617 </p>
618 </dd>
619 <dt> &lsquo;<samp>-show_programs</samp>&rsquo;</dt>
620 <dd><p>Show information about programs and their streams contained in the input
621 multimedia stream.
622 </p>
623 <p>Each media stream information is printed within a dedicated section
624 with name &quot;PROGRAM_STREAM&quot;.
625 </p>
626 </dd>
627 <dt> &lsquo;<samp>-show_chapters</samp>&rsquo;</dt>
628 <dd><p>Show information about chapters stored in the format.
629 </p>
630 <p>Each chapter is printed within a dedicated section with name &quot;CHAPTER&quot;.
631 </p>
632 </dd>
633 <dt> &lsquo;<samp>-count_frames</samp>&rsquo;</dt>
634 <dd><p>Count the number of frames per stream and report it in the
635 corresponding stream section.
636 </p>
637 </dd>
638 <dt> &lsquo;<samp>-count_packets</samp>&rsquo;</dt>
639 <dd><p>Count the number of packets per stream and report it in the
640 corresponding stream section.
641 </p>
642 </dd>
643 <dt> &lsquo;<samp>-read_intervals <var>read_intervals</var></samp>&rsquo;</dt>
644 <dd>
645 <p>Read only the specified intervals. <var>read_intervals</var> must be a
646 sequence of interval specifications separated by &quot;,&quot;.
647 <code>ffprobe</code> will seek to the interval starting point, and will
648 continue reading from that.
649 </p>
650 <p>Each interval is specified by two optional parts, separated by &quot;%&quot;.
651 </p>
652 <p>The first part specifies the interval start position. It is
653 interpreted as an abolute position, or as a relative offset from the
654 current position if it is preceded by the &quot;+&quot; character. If this first
655 part is not specified, no seeking will be performed when reading this
656 interval.
657 </p>
658 <p>The second part specifies the interval end position. It is interpreted
659 as an absolute position, or as a relative offset from the current
660 position if it is preceded by the &quot;+&quot; character. If the offset
661 specification starts with &quot;#&quot;, it is interpreted as the number of
662 packets to read (not including the flushing packets) from the interval
663 start. If no second part is specified, the program will read until the
664 end of the input.
665 </p>
666 <p>Note that seeking is not accurate, thus the actual interval start
667 point may be different from the specified position. Also, when an
668 interval duration is specified, the absolute end time will be computed
669 by adding the duration to the interval start point found by seeking
670 the file, rather than to the specified start value.
671 </p>
672 <p>The formal syntax is given by:
673 </p><table><tr><td>&nbsp;</td><td><pre class="example"><var>INTERVAL</var>  ::= [<var>START</var>|+<var>START_OFFSET</var>][%[<var>END</var>|+<var>END_OFFSET</var>]]
674 <var>INTERVALS</var> ::= <var>INTERVAL</var>[,<var>INTERVALS</var>]
675 </pre></td></tr></table>
676
677 <p>A few examples follow.
678 </p><ul>
679 <li>
680 Seek to time 10, read packets until 20 seconds after the found seek
681 point, then seek to position <code>01:30</code> (1 minute and thirty
682 seconds) and read packets until position <code>01:45</code>.
683 <table><tr><td>&nbsp;</td><td><pre class="example">10%+20,01:30%01:45
684 </pre></td></tr></table>
685
686 </li><li>
687 Read only 42 packets after seeking to position <code>01:23</code>:
688 <table><tr><td>&nbsp;</td><td><pre class="example">01:23%+#42
689 </pre></td></tr></table>
690
691 </li><li>
692 Read only the first 20 seconds from the start:
693 <table><tr><td>&nbsp;</td><td><pre class="example">%+20
694 </pre></td></tr></table>
695
696 </li><li>
697 Read from the start until position <code>02:30</code>:
698 <table><tr><td>&nbsp;</td><td><pre class="example">%02:30
699 </pre></td></tr></table>
700 </li></ul>
701
702 </dd>
703 <dt> &lsquo;<samp>-show_private_data, -private</samp>&rsquo;</dt>
704 <dd><p>Show private data, that is data depending on the format of the
705 particular shown element.
706 This option is enabled by default, but you may need to disable it
707 for specific uses, for example when creating XSD-compliant XML output.
708 </p>
709 </dd>
710 <dt> &lsquo;<samp>-show_program_version</samp>&rsquo;</dt>
711 <dd><p>Show information related to program version.
712 </p>
713 <p>Version information is printed within a section with name
714 &quot;PROGRAM_VERSION&quot;.
715 </p>
716 </dd>
717 <dt> &lsquo;<samp>-show_library_versions</samp>&rsquo;</dt>
718 <dd><p>Show information related to library versions.
719 </p>
720 <p>Version information for each library is printed within a section with
721 name &quot;LIBRARY_VERSION&quot;.
722 </p>
723 </dd>
724 <dt> &lsquo;<samp>-show_versions</samp>&rsquo;</dt>
725 <dd><p>Show information related to program and library versions. This is the
726 equivalent of setting both &lsquo;<samp>-show_program_version</samp>&rsquo; and
727 &lsquo;<samp>-show_library_versions</samp>&rsquo; options.
728 </p>
729 </dd>
730 <dt> &lsquo;<samp>-bitexact</samp>&rsquo;</dt>
731 <dd><p>Force bitexact output, useful to produce output which is not dependent
732 on the specific build.
733 </p>
734 </dd>
735 <dt> &lsquo;<samp>-i <var>input_file</var></samp>&rsquo;</dt>
736 <dd><p>Read <var>input_file</var>.
737 </p>
738 </dd>
739 </dl>
740
741 <a name="Writers"></a>
742 <h1 class="chapter"><a href="ffprobe.html#toc-Writers">4. Writers</a></h1>
743
744 <p>A writer defines the output format adopted by <code>ffprobe</code>, and will be
745 used for printing all the parts of the output.
746 </p>
747 <p>A writer may accept one or more arguments, which specify the options
748 to adopt. The options are specified as a list of <var>key</var>=<var>value</var>
749 pairs, separated by &quot;:&quot;.
750 </p>
751 <p>All writers support the following options:
752 </p>
753 <dl compact="compact">
754 <dt> &lsquo;<samp>string_validation, sv</samp>&rsquo;</dt>
755 <dd><p>Set string validation mode.
756 </p>
757 <p>The following values are accepted.
758 </p><dl compact="compact">
759 <dt> &lsquo;<samp>fail</samp>&rsquo;</dt>
760 <dd><p>The writer will fail immediately in case an invalid string (UTF-8)
761 sequence or code point is found in the input. This is especially
762 useful to validate input metadata.
763 </p>
764 </dd>
765 <dt> &lsquo;<samp>ignore</samp>&rsquo;</dt>
766 <dd><p>Any validation error will be ignored. This will result in possibly
767 broken output, especially with the json or xml writer.
768 </p>
769 </dd>
770 <dt> &lsquo;<samp>replace</samp>&rsquo;</dt>
771 <dd><p>The writer will substitute invalid UTF-8 sequences or code points with
772 the string specified with the &lsquo;<samp>string_validation_replacement</samp>&rsquo;.
773 </p></dd>
774 </dl>
775
776 <p>Default value is &lsquo;<samp>replace</samp>&rsquo;.
777 </p>
778 </dd>
779 <dt> &lsquo;<samp>string_validation_replacement, svr</samp>&rsquo;</dt>
780 <dd><p>Set replacement string to use in case &lsquo;<samp>string_validation</samp>&rsquo; is
781 set to &lsquo;<samp>replace</samp>&rsquo;.
782 </p>
783 <p>In case the option is not specified, the writer will assume the empty
784 string, that is it will remove the invalid sequences from the input
785 strings.
786 </p></dd>
787 </dl>
788
789 <p>A description of the currently available writers follows.
790 </p>
791 <a name="default"></a>
792 <h2 class="section"><a href="ffprobe.html#toc-default">4.1 default</a></h2>
793 <p>Default format.
794 </p>
795 <p>Print each section in the form:
796 </p><table><tr><td>&nbsp;</td><td><pre class="example">[SECTION]
797 key1=val1
798 ...
799 keyN=valN
800 [/SECTION]
801 </pre></td></tr></table>
802
803 <p>Metadata tags are printed as a line in the corresponding FORMAT, STREAM or
804 PROGRAM_STREAM section, and are prefixed by the string &quot;TAG:&quot;.
805 </p>
806 <p>A description of the accepted options follows.
807 </p>
808 <dl compact="compact">
809 <dt> &lsquo;<samp>nokey, nk</samp>&rsquo;</dt>
810 <dd><p>If set to 1 specify not to print the key of each field. Default value
811 is 0.
812 </p>
813 </dd>
814 <dt> &lsquo;<samp>noprint_wrappers, nw</samp>&rsquo;</dt>
815 <dd><p>If set to 1 specify not to print the section header and footer.
816 Default value is 0.
817 </p></dd>
818 </dl>
819
820 <a name="compact_002c-csv"></a>
821 <h2 class="section"><a href="ffprobe.html#toc-compact_002c-csv">4.2 compact, csv</a></h2>
822 <p>Compact and CSV format.
823 </p>
824 <p>The <code>csv</code> writer is equivalent to <code>compact</code>, but supports
825 different defaults.
826 </p>
827 <p>Each section is printed on a single line.
828 If no option is specifid, the output has the form:
829 </p><table><tr><td>&nbsp;</td><td><pre class="example">section|key1=val1| ... |keyN=valN
830 </pre></td></tr></table>
831
832 <p>Metadata tags are printed in the corresponding &quot;format&quot; or &quot;stream&quot;
833 section. A metadata tag key, if printed, is prefixed by the string
834 &quot;tag:&quot;.
835 </p>
836 <p>The description of the accepted options follows.
837 </p>
838 <dl compact="compact">
839 <dt> &lsquo;<samp>item_sep, s</samp>&rsquo;</dt>
840 <dd><p>Specify the character to use for separating fields in the output line.
841 It must be a single printable character, it is &quot;|&quot; by default (&quot;,&quot; for
842 the <code>csv</code> writer).
843 </p>
844 </dd>
845 <dt> &lsquo;<samp>nokey, nk</samp>&rsquo;</dt>
846 <dd><p>If set to 1 specify not to print the key of each field. Its default
847 value is 0 (1 for the <code>csv</code> writer).
848 </p>
849 </dd>
850 <dt> &lsquo;<samp>escape, e</samp>&rsquo;</dt>
851 <dd><p>Set the escape mode to use, default to &quot;c&quot; (&quot;csv&quot; for the <code>csv</code>
852 writer).
853 </p>
854 <p>It can assume one of the following values:
855 </p><dl compact="compact">
856 <dt> &lsquo;<samp>c</samp>&rsquo;</dt>
857 <dd><p>Perform C-like escaping. Strings containing a newline (&rsquo;\n&rsquo;), carriage
858 return (&rsquo;\r&rsquo;), a tab (&rsquo;\t&rsquo;), a form feed (&rsquo;\f&rsquo;), the escaping
859 character (&rsquo;\&rsquo;) or the item separator character <var>SEP</var> are escaped using C-like fashioned
860 escaping, so that a newline is converted to the sequence &quot;\n&quot;, a
861 carriage return to &quot;\r&quot;, &rsquo;\&rsquo; to &quot;\\&quot; and the separator <var>SEP</var> is
862 converted to &quot;\<var>SEP</var>&quot;.
863 </p>
864 </dd>
865 <dt> &lsquo;<samp>csv</samp>&rsquo;</dt>
866 <dd><p>Perform CSV-like escaping, as described in RFC4180.  Strings
867 containing a newline (&rsquo;\n&rsquo;), a carriage return (&rsquo;\r&rsquo;), a double quote
868 (&rsquo;&quot;&rsquo;), or <var>SEP</var> are enclosed in double-quotes.
869 </p>
870 </dd>
871 <dt> &lsquo;<samp>none</samp>&rsquo;</dt>
872 <dd><p>Perform no escaping.
873 </p></dd>
874 </dl>
875
876 </dd>
877 <dt> &lsquo;<samp>print_section, p</samp>&rsquo;</dt>
878 <dd><p>Print the section name at the begin of each line if the value is
879 <code>1</code>, disable it with value set to <code>0</code>. Default value is
880 <code>1</code>.
881 </p>
882 </dd>
883 </dl>
884
885 <a name="flat"></a>
886 <h2 class="section"><a href="ffprobe.html#toc-flat">4.3 flat</a></h2>
887 <p>Flat format.
888 </p>
889 <p>A free-form output where each line contains an explicit key=value, such as
890 &quot;streams.stream.3.tags.foo=bar&quot;. The output is shell escaped, so it can be
891 directly embedded in sh scripts as long as the separator character is an
892 alphanumeric character or an underscore (see <var>sep_char</var> option).
893 </p>
894 <p>The description of the accepted options follows.
895 </p>
896 <dl compact="compact">
897 <dt> &lsquo;<samp>sep_char, s</samp>&rsquo;</dt>
898 <dd><p>Separator character used to separate the chapter, the section name, IDs and
899 potential tags in the printed field key.
900 </p>
901 <p>Default value is &rsquo;.&rsquo;.
902 </p>
903 </dd>
904 <dt> &lsquo;<samp>hierarchical, h</samp>&rsquo;</dt>
905 <dd><p>Specify if the section name specification should be hierarchical. If
906 set to 1, and if there is more than one section in the current
907 chapter, the section name will be prefixed by the name of the
908 chapter. A value of 0 will disable this behavior.
909 </p>
910 <p>Default value is 1.
911 </p></dd>
912 </dl>
913
914 <a name="ini"></a>
915 <h2 class="section"><a href="ffprobe.html#toc-ini">4.4 ini</a></h2>
916 <p>INI format output.
917 </p>
918 <p>Print output in an INI based format.
919 </p>
920 <p>The following conventions are adopted:
921 </p>
922 <ul>
923 <li>
924 all key and values are UTF-8
925 </li><li>
926 &rsquo;.&rsquo; is the subgroup separator
927 </li><li>
928 newline, &rsquo;\t&rsquo;, &rsquo;\f&rsquo;, &rsquo;\b&rsquo; and the following characters are escaped
929 </li><li>
930 &rsquo;\&rsquo; is the escape character
931 </li><li>
932 &rsquo;#&rsquo; is the comment indicator
933 </li><li>
934 &rsquo;=&rsquo; is the key/value separator
935 </li><li>
936 &rsquo;:&rsquo; is not used but usually parsed as key/value separator
937 </li></ul>
938
939 <p>This writer accepts options as a list of <var>key</var>=<var>value</var> pairs,
940 separated by &quot;:&quot;.
941 </p>
942 <p>The description of the accepted options follows.
943 </p>
944 <dl compact="compact">
945 <dt> &lsquo;<samp>hierarchical, h</samp>&rsquo;</dt>
946 <dd><p>Specify if the section name specification should be hierarchical. If
947 set to 1, and if there is more than one section in the current
948 chapter, the section name will be prefixed by the name of the
949 chapter. A value of 0 will disable this behavior.
950 </p>
951 <p>Default value is 1.
952 </p></dd>
953 </dl>
954
955 <a name="json"></a>
956 <h2 class="section"><a href="ffprobe.html#toc-json">4.5 json</a></h2>
957 <p>JSON based format.
958 </p>
959 <p>Each section is printed using JSON notation.
960 </p>
961 <p>The description of the accepted options follows.
962 </p>
963 <dl compact="compact">
964 <dt> &lsquo;<samp>compact, c</samp>&rsquo;</dt>
965 <dd><p>If set to 1 enable compact output, that is each section will be
966 printed on a single line. Default value is 0.
967 </p></dd>
968 </dl>
969
970 <p>For more information about JSON, see <a href="http://www.json.org/">http://www.json.org/</a>.
971 </p>
972 <a name="xml"></a>
973 <h2 class="section"><a href="ffprobe.html#toc-xml">4.6 xml</a></h2>
974 <p>XML based format.
975 </p>
976 <p>The XML output is described in the XML schema description file
977 &lsquo;<tt>ffprobe.xsd</tt>&rsquo; installed in the FFmpeg datadir.
978 </p>
979 <p>An updated version of the schema can be retrieved at the url
980 <a href="http://www.ffmpeg.org/schema/ffprobe.xsd">http://www.ffmpeg.org/schema/ffprobe.xsd</a>, which redirects to the
981 latest schema committed into the FFmpeg development source code tree.
982 </p>
983 <p>Note that the output issued will be compliant to the
984 &lsquo;<tt>ffprobe.xsd</tt>&rsquo; schema only when no special global output options
985 (&lsquo;<samp>unit</samp>&rsquo;, &lsquo;<samp>prefix</samp>&rsquo;, &lsquo;<samp>byte_binary_prefix</samp>&rsquo;,
986 &lsquo;<samp>sexagesimal</samp>&rsquo; etc.) are specified.
987 </p>
988 <p>The description of the accepted options follows.
989 </p>
990 <dl compact="compact">
991 <dt> &lsquo;<samp>fully_qualified, q</samp>&rsquo;</dt>
992 <dd><p>If set to 1 specify if the output should be fully qualified. Default
993 value is 0.
994 This is required for generating an XML file which can be validated
995 through an XSD file.
996 </p>
997 </dd>
998 <dt> &lsquo;<samp>xsd_compliant, x</samp>&rsquo;</dt>
999 <dd><p>If set to 1 perform more checks for ensuring that the output is XSD
1000 compliant. Default value is 0.
1001 This option automatically sets &lsquo;<samp>fully_qualified</samp>&rsquo; to 1.
1002 </p></dd>
1003 </dl>
1004
1005 <p>For more information about the XML format, see
1006 <a href="http://www.w3.org/XML/">http://www.w3.org/XML/</a>.
1007 </p>
1008 <a name="Timecode"></a>
1009 <h1 class="chapter"><a href="ffprobe.html#toc-Timecode">5. Timecode</a></h1>
1010
1011 <p><code>ffprobe</code> supports Timecode extraction:
1012 </p>
1013 <ul>
1014 <li>
1015 MPEG1/2 timecode is extracted from the GOP, and is available in the video
1016 stream details (&lsquo;<samp>-show_streams</samp>&rsquo;, see <var>timecode</var>).
1017
1018 </li><li>
1019 MOV timecode is extracted from tmcd track, so is available in the tmcd
1020 stream metadata (&lsquo;<samp>-show_streams</samp>&rsquo;, see <var>TAG:timecode</var>).
1021
1022 </li><li>
1023 DV, GXF and AVI timecodes are available in format metadata
1024 (&lsquo;<samp>-show_format</samp>&rsquo;, see <var>TAG:timecode</var>).
1025
1026 </li></ul>
1027
1028
1029 <a name="See-Also"></a>
1030 <h1 class="chapter"><a href="ffprobe.html#toc-See-Also">6. See Also</a></h1>
1031
1032 <p><a href="ffprobe-all.html">ffprobe-all</a>,
1033 <a href="ffmpeg.html">ffmpeg</a>, <a href="ffplay.html">ffplay</a>, <a href="ffserver.html">ffserver</a>,
1034 <a href="ffmpeg-utils.html">ffmpeg-utils</a>,
1035 <a href="ffmpeg-scaler.html">ffmpeg-scaler</a>,
1036 <a href="ffmpeg-resampler.html">ffmpeg-resampler</a>,
1037 <a href="ffmpeg-codecs.html">ffmpeg-codecs</a>,
1038 <a href="ffmpeg-bitstream-filters.html">ffmpeg-bitstream-filters</a>,
1039 <a href="ffmpeg-formats.html">ffmpeg-formats</a>,
1040 <a href="ffmpeg-devices.html">ffmpeg-devices</a>,
1041 <a href="ffmpeg-protocols.html">ffmpeg-protocols</a>,
1042 <a href="ffmpeg-filters.html">ffmpeg-filters</a>
1043 </p>
1044
1045 <a name="Authors"></a>
1046 <h1 class="chapter"><a href="ffprobe.html#toc-Authors">7. Authors</a></h1>
1047
1048 <p>The FFmpeg developers.
1049 </p>
1050 <p>For details about the authorship, see the Git history of the project
1051 (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command
1052 <code>git log</code> in the FFmpeg source directory, or browsing the
1053 online repository at <a href="http://source.ffmpeg.org">http://source.ffmpeg.org</a>.
1054 </p>
1055 <p>Maintainers for the specific components are listed in the file
1056 &lsquo;<tt>MAINTAINERS</tt>&rsquo; in the source code tree.
1057 </p>
1058
1059 <footer class="footer pagination-right">
1060 <span class="label label-info">This document was generated by <em>Kyle Schwarz</em> on <em>June 19, 2014</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.</span></footer></div></div></body>