]> git.sesse.net Git - casparcg/blob - dependencies/ffmpeg/doc/ffprobe.html
68a93b930b6a61d275f39920ac41e16c96af326f
[casparcg] / dependencies / ffmpeg / doc / ffprobe.html
1 <!DOCTYPE html>
2 <html>
3 <!-- Created on December 14, 2013 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>-cpuflags flags (<em>global</em>)</samp>&rsquo;</dt>
338 <dd><p>Allows setting and clearing cpu flags. This option is intended
339 for testing. Do not use it unless you know what you&rsquo;re doing.
340 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffmpeg -cpuflags -sse+mmx ...
341 ffmpeg -cpuflags mmx ...
342 ffmpeg -cpuflags 0 ...
343 </pre></td></tr></table>
344 <p>Possible flags for this option are:
345 </p><dl compact="compact">
346 <dt> &lsquo;<samp>x86</samp>&rsquo;</dt>
347 <dd><dl compact="compact">
348 <dt> &lsquo;<samp>mmx</samp>&rsquo;</dt>
349 <dt> &lsquo;<samp>mmxext</samp>&rsquo;</dt>
350 <dt> &lsquo;<samp>sse</samp>&rsquo;</dt>
351 <dt> &lsquo;<samp>sse2</samp>&rsquo;</dt>
352 <dt> &lsquo;<samp>sse2slow</samp>&rsquo;</dt>
353 <dt> &lsquo;<samp>sse3</samp>&rsquo;</dt>
354 <dt> &lsquo;<samp>sse3slow</samp>&rsquo;</dt>
355 <dt> &lsquo;<samp>ssse3</samp>&rsquo;</dt>
356 <dt> &lsquo;<samp>atom</samp>&rsquo;</dt>
357 <dt> &lsquo;<samp>sse4.1</samp>&rsquo;</dt>
358 <dt> &lsquo;<samp>sse4.2</samp>&rsquo;</dt>
359 <dt> &lsquo;<samp>avx</samp>&rsquo;</dt>
360 <dt> &lsquo;<samp>xop</samp>&rsquo;</dt>
361 <dt> &lsquo;<samp>fma4</samp>&rsquo;</dt>
362 <dt> &lsquo;<samp>3dnow</samp>&rsquo;</dt>
363 <dt> &lsquo;<samp>3dnowext</samp>&rsquo;</dt>
364 <dt> &lsquo;<samp>cmov</samp>&rsquo;</dt>
365 </dl>
366 </dd>
367 <dt> &lsquo;<samp>ARM</samp>&rsquo;</dt>
368 <dd><dl compact="compact">
369 <dt> &lsquo;<samp>armv5te</samp>&rsquo;</dt>
370 <dt> &lsquo;<samp>armv6</samp>&rsquo;</dt>
371 <dt> &lsquo;<samp>armv6t2</samp>&rsquo;</dt>
372 <dt> &lsquo;<samp>vfp</samp>&rsquo;</dt>
373 <dt> &lsquo;<samp>vfpv3</samp>&rsquo;</dt>
374 <dt> &lsquo;<samp>neon</samp>&rsquo;</dt>
375 </dl>
376 </dd>
377 <dt> &lsquo;<samp>PowerPC</samp>&rsquo;</dt>
378 <dd><dl compact="compact">
379 <dt> &lsquo;<samp>altivec</samp>&rsquo;</dt>
380 </dl>
381 </dd>
382 <dt> &lsquo;<samp>Specific Processors</samp>&rsquo;</dt>
383 <dd><dl compact="compact">
384 <dt> &lsquo;<samp>pentium2</samp>&rsquo;</dt>
385 <dt> &lsquo;<samp>pentium3</samp>&rsquo;</dt>
386 <dt> &lsquo;<samp>pentium4</samp>&rsquo;</dt>
387 <dt> &lsquo;<samp>k6</samp>&rsquo;</dt>
388 <dt> &lsquo;<samp>k62</samp>&rsquo;</dt>
389 <dt> &lsquo;<samp>athlon</samp>&rsquo;</dt>
390 <dt> &lsquo;<samp>athlonxp</samp>&rsquo;</dt>
391 <dt> &lsquo;<samp>k8</samp>&rsquo;</dt>
392 </dl>
393 </dd>
394 </dl>
395
396 </dd>
397 <dt> &lsquo;<samp>-opencl_bench</samp>&rsquo;</dt>
398 <dd><p>Benchmark all available OpenCL devices and show the results. This option
399 is only available when FFmpeg has been compiled with <code>--enable-opencl</code>.
400 </p>
401 </dd>
402 <dt> &lsquo;<samp>-opencl_options options (<em>global</em>)</samp>&rsquo;</dt>
403 <dd><p>Set OpenCL environment options. This option is only available when
404 FFmpeg has been compiled with <code>--enable-opencl</code>.
405 </p>
406 <p><var>options</var> must be a list of <var>key</var>=<var>value</var> option pairs
407 separated by &rsquo;:&rsquo;. See the &ldquo;OpenCL Options&rdquo; section in the
408 ffmpeg-utils manual for the list of supported options.
409 </p></dd>
410 </dl>
411
412 <a name="AVOptions"></a>
413 <h2 class="section"><a href="ffprobe.html#toc-AVOptions">3.3 AVOptions</a></h2>
414
415 <p>These options are provided directly by the libavformat, libavdevice and
416 libavcodec libraries. To see the list of available AVOptions, use the
417 &lsquo;<samp>-help</samp>&rsquo; option. They are separated into two categories:
418 </p><dl compact="compact">
419 <dt> &lsquo;<samp>generic</samp>&rsquo;</dt>
420 <dd><p>These options can be set for any container, codec or device. Generic options
421 are listed under AVFormatContext options for containers/devices and under
422 AVCodecContext options for codecs.
423 </p></dd>
424 <dt> &lsquo;<samp>private</samp>&rsquo;</dt>
425 <dd><p>These options are specific to the given container, device or codec. Private
426 options are listed under their corresponding containers/devices/codecs.
427 </p></dd>
428 </dl>
429
430 <p>For example to write an ID3v2.3 header instead of a default ID3v2.4 to
431 an MP3 file, use the &lsquo;<samp>id3v2_version</samp>&rsquo; private option of the MP3
432 muxer:
433 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffmpeg -i input.flac -id3v2_version 3 out.mp3
434 </pre></td></tr></table>
435
436 <p>All codec AVOptions are per-stream, and thus a stream specifier
437 should be attached to them.
438 </p>
439 <p>Note: the &lsquo;<samp>-nooption</samp>&rsquo; syntax cannot be used for boolean
440 AVOptions, use &lsquo;<samp>-option 0</samp>&rsquo;/&lsquo;<samp>-option 1</samp>&rsquo;.
441 </p>
442 <p>Note: the old undocumented way of specifying per-stream AVOptions by
443 prepending v/a/s to the options name is now obsolete and will be
444 removed soon.
445 </p>
446 <a name="Main-options"></a>
447 <h2 class="section"><a href="ffprobe.html#toc-Main-options">3.4 Main options</a></h2>
448
449 <dl compact="compact">
450 <dt> &lsquo;<samp>-f <var>format</var></samp>&rsquo;</dt>
451 <dd><p>Force format to use.
452 </p>
453 </dd>
454 <dt> &lsquo;<samp>-unit</samp>&rsquo;</dt>
455 <dd><p>Show the unit of the displayed values.
456 </p>
457 </dd>
458 <dt> &lsquo;<samp>-prefix</samp>&rsquo;</dt>
459 <dd><p>Use SI prefixes for the displayed values.
460 Unless the &quot;-byte_binary_prefix&quot; option is used all the prefixes
461 are decimal.
462 </p>
463 </dd>
464 <dt> &lsquo;<samp>-byte_binary_prefix</samp>&rsquo;</dt>
465 <dd><p>Force the use of binary prefixes for byte values.
466 </p>
467 </dd>
468 <dt> &lsquo;<samp>-sexagesimal</samp>&rsquo;</dt>
469 <dd><p>Use sexagesimal format HH:MM:SS.MICROSECONDS for time values.
470 </p>
471 </dd>
472 <dt> &lsquo;<samp>-pretty</samp>&rsquo;</dt>
473 <dd><p>Prettify the format of the displayed values, it corresponds to the
474 options &quot;-unit -prefix -byte_binary_prefix -sexagesimal&quot;.
475 </p>
476 </dd>
477 <dt> &lsquo;<samp>-of, -print_format <var>writer_name</var>[=<var>writer_options</var>]</samp>&rsquo;</dt>
478 <dd><p>Set the output printing format.
479 </p>
480 <p><var>writer_name</var> specifies the name of the writer, and
481 <var>writer_options</var> specifies the options to be passed to the writer.
482 </p>
483 <p>For example for printing the output in JSON format, specify:
484 </p><table><tr><td>&nbsp;</td><td><pre class="example">-print_format json
485 </pre></td></tr></table>
486
487 <p>For more details on the available output printing formats, see the
488 Writers section below.
489 </p>
490 </dd>
491 <dt> &lsquo;<samp>-sections</samp>&rsquo;</dt>
492 <dd><p>Print sections structure and section information, and exit. The output
493 is not meant to be parsed by a machine.
494 </p>
495 </dd>
496 <dt> &lsquo;<samp>-select_streams <var>stream_specifier</var></samp>&rsquo;</dt>
497 <dd><p>Select only the streams specified by <var>stream_specifier</var>. This
498 option affects only the options related to streams
499 (e.g. <code>show_streams</code>, <code>show_packets</code>, etc.).
500 </p>
501 <p>For example to show only audio streams, you can use the command:
502 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffprobe -show_streams -select_streams a INPUT
503 </pre></td></tr></table>
504
505 <p>To show only video packets belonging to the video stream with index 1:
506 </p><table><tr><td>&nbsp;</td><td><pre class="example">ffprobe -show_packets -select_streams v:1 INPUT
507 </pre></td></tr></table>
508
509 </dd>
510 <dt> &lsquo;<samp>-show_data</samp>&rsquo;</dt>
511 <dd><p>Show payload data, as a hexadecimal and ASCII dump. Coupled with
512 &lsquo;<samp>-show_packets</samp>&rsquo;, it will dump the packets&rsquo; data. Coupled with
513 &lsquo;<samp>-show_streams</samp>&rsquo;, it will dump the codec extradata.
514 </p>
515 <p>The dump is printed as the &quot;data&quot; field. It may contain newlines.
516 </p>
517 </dd>
518 <dt> &lsquo;<samp>-show_error</samp>&rsquo;</dt>
519 <dd><p>Show information about the error found when trying to probe the input.
520 </p>
521 <p>The error information is printed within a section with name &quot;ERROR&quot;.
522 </p>
523 </dd>
524 <dt> &lsquo;<samp>-show_format</samp>&rsquo;</dt>
525 <dd><p>Show information about the container format of the input multimedia
526 stream.
527 </p>
528 <p>All the container format information is printed within a section with
529 name &quot;FORMAT&quot;.
530 </p>
531 </dd>
532 <dt> &lsquo;<samp>-show_format_entry <var>name</var></samp>&rsquo;</dt>
533 <dd><p>Like &lsquo;<samp>-show_format</samp>&rsquo;, but only prints the specified entry of the
534 container format information, rather than all. This option may be given more
535 than once, then all specified entries will be shown.
536 </p>
537 <p>This option is deprecated, use <code>show_entries</code> instead.
538 </p>
539 </dd>
540 <dt> &lsquo;<samp>-show_entries <var>section_entries</var></samp>&rsquo;</dt>
541 <dd><p>Set list of entries to show.
542 </p>
543 <p>Entries are specified according to the following
544 syntax. <var>section_entries</var> contains a list of section entries
545 separated by <code>:</code>. Each section entry is composed by a section
546 name (or unique name), optionally followed by a list of entries local
547 to that section, separated by <code>,</code>.
548 </p>
549 <p>If section name is specified but is followed by no <code>=</code>, all
550 entries are printed to output, together with all the contained
551 sections. Otherwise only the entries specified in the local section
552 entries list are printed. In particular, if <code>=</code> is specified but
553 the list of local entries is empty, then no entries will be shown for
554 that section.
555 </p>
556 <p>Note that the order of specification of the local section entries is
557 not honored in the output, and the usual display order will be
558 retained.
559 </p>
560 <p>The formal syntax is given by:
561 </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>]
562 <var>SECTION_ENTRY</var>         ::= <var>SECTION_NAME</var>[=[<var>LOCAL_SECTION_ENTRIES</var>]]
563 <var>SECTION_ENTRIES</var>       ::= <var>SECTION_ENTRY</var>[:<var>SECTION_ENTRIES</var>]
564 </pre></td></tr></table>
565
566 <p>For example, to show only the index and type of each stream, and the PTS
567 time, duration time, and stream index of the packets, you can specify
568 the argument:
569 </p><table><tr><td>&nbsp;</td><td><pre class="example">packet=pts_time,duration_time,stream_index : stream=index,codec_type
570 </pre></td></tr></table>
571
572 <p>To show all the entries in the section &quot;format&quot;, but only the codec
573 type in the section &quot;stream&quot;, specify the argument:
574 </p><table><tr><td>&nbsp;</td><td><pre class="example">format : stream=codec_type
575 </pre></td></tr></table>
576
577 <p>To show all the tags in the stream and format sections:
578 </p><table><tr><td>&nbsp;</td><td><pre class="example">format_tags : format_tags
579 </pre></td></tr></table>
580
581 <p>To show only the <code>title</code> tag (if available) in the stream
582 sections:
583 </p><table><tr><td>&nbsp;</td><td><pre class="example">stream_tags=title
584 </pre></td></tr></table>
585
586 </dd>
587 <dt> &lsquo;<samp>-show_packets</samp>&rsquo;</dt>
588 <dd><p>Show information about each packet contained in the input multimedia
589 stream.
590 </p>
591 <p>The information for each single packet is printed within a dedicated
592 section with name &quot;PACKET&quot;.
593 </p>
594 </dd>
595 <dt> &lsquo;<samp>-show_frames</samp>&rsquo;</dt>
596 <dd><p>Show information about each frame and subtitle contained in the input
597 multimedia stream.
598 </p>
599 <p>The information for each single frame is printed within a dedicated
600 section with name &quot;FRAME&quot; or &quot;SUBTITLE&quot;.
601 </p>
602 </dd>
603 <dt> &lsquo;<samp>-show_streams</samp>&rsquo;</dt>
604 <dd><p>Show information about each media stream contained in the input
605 multimedia stream.
606 </p>
607 <p>Each media stream information is printed within a dedicated section
608 with name &quot;STREAM&quot;.
609 </p>
610 </dd>
611 <dt> &lsquo;<samp>-show_programs</samp>&rsquo;</dt>
612 <dd><p>Show information about programs and their streams 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;PROGRAM_STREAM&quot;.
617 </p>
618 </dd>
619 <dt> &lsquo;<samp>-show_chapters</samp>&rsquo;</dt>
620 <dd><p>Show information about chapters stored in the format.
621 </p>
622 <p>Each chapter is printed within a dedicated section with name &quot;CHAPTER&quot;.
623 </p>
624 </dd>
625 <dt> &lsquo;<samp>-count_frames</samp>&rsquo;</dt>
626 <dd><p>Count the number of frames per stream and report it in the
627 corresponding stream section.
628 </p>
629 </dd>
630 <dt> &lsquo;<samp>-count_packets</samp>&rsquo;</dt>
631 <dd><p>Count the number of packets per stream and report it in the
632 corresponding stream section.
633 </p>
634 </dd>
635 <dt> &lsquo;<samp>-read_intervals <var>read_intervals</var></samp>&rsquo;</dt>
636 <dd>
637 <p>Read only the specified intervals. <var>read_intervals</var> must be a
638 sequence of interval specifications separated by &quot;,&quot;.
639 <code>ffprobe</code> will seek to the interval starting point, and will
640 continue reading from that.
641 </p>
642 <p>Each interval is specified by two optional parts, separated by &quot;%&quot;.
643 </p>
644 <p>The first part specifies the interval start position. It is
645 interpreted as an abolute position, or as a relative offset from the
646 current position if it is preceded by the &quot;+&quot; character. If this first
647 part is not specified, no seeking will be performed when reading this
648 interval.
649 </p>
650 <p>The second part specifies the interval end position. It is interpreted
651 as an absolute position, or as a relative offset from the current
652 position if it is preceded by the &quot;+&quot; character. If the offset
653 specification starts with &quot;#&quot;, it is interpreted as the number of
654 packets to read (not including the flushing packets) from the interval
655 start. If no second part is specified, the program will read until the
656 end of the input.
657 </p>
658 <p>Note that seeking is not accurate, thus the actual interval start
659 point may be different from the specified position. Also, when an
660 interval duration is specified, the absolute end time will be computed
661 by adding the duration to the interval start point found by seeking
662 the file, rather than to the specified start value.
663 </p>
664 <p>The formal syntax is given by:
665 </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>]]
666 <var>INTERVALS</var> ::= <var>INTERVAL</var>[,<var>INTERVALS</var>]
667 </pre></td></tr></table>
668
669 <p>A few examples follow.
670 </p><ul>
671 <li>
672 Seek to time 10, read packets until 20 seconds after the found seek
673 point, then seek to position <code>01:30</code> (1 minute and thirty
674 seconds) and read packets until position <code>01:45</code>.
675 <table><tr><td>&nbsp;</td><td><pre class="example">10%+20,01:30%01:45
676 </pre></td></tr></table>
677
678 </li><li>
679 Read only 42 packets after seeking to position <code>01:23</code>:
680 <table><tr><td>&nbsp;</td><td><pre class="example">01:23%+#42
681 </pre></td></tr></table>
682
683 </li><li>
684 Read only the first 20 seconds from the start:
685 <table><tr><td>&nbsp;</td><td><pre class="example">%+20
686 </pre></td></tr></table>
687
688 </li><li>
689 Read from the start until position <code>02:30</code>:
690 <table><tr><td>&nbsp;</td><td><pre class="example">%02:30
691 </pre></td></tr></table>
692 </li></ul>
693
694 </dd>
695 <dt> &lsquo;<samp>-show_private_data, -private</samp>&rsquo;</dt>
696 <dd><p>Show private data, that is data depending on the format of the
697 particular shown element.
698 This option is enabled by default, but you may need to disable it
699 for specific uses, for example when creating XSD-compliant XML output.
700 </p>
701 </dd>
702 <dt> &lsquo;<samp>-show_program_version</samp>&rsquo;</dt>
703 <dd><p>Show information related to program version.
704 </p>
705 <p>Version information is printed within a section with name
706 &quot;PROGRAM_VERSION&quot;.
707 </p>
708 </dd>
709 <dt> &lsquo;<samp>-show_library_versions</samp>&rsquo;</dt>
710 <dd><p>Show information related to library versions.
711 </p>
712 <p>Version information for each library is printed within a section with
713 name &quot;LIBRARY_VERSION&quot;.
714 </p>
715 </dd>
716 <dt> &lsquo;<samp>-show_versions</samp>&rsquo;</dt>
717 <dd><p>Show information related to program and library versions. This is the
718 equivalent of setting both &lsquo;<samp>-show_program_version</samp>&rsquo; and
719 &lsquo;<samp>-show_library_versions</samp>&rsquo; options.
720 </p>
721 </dd>
722 <dt> &lsquo;<samp>-bitexact</samp>&rsquo;</dt>
723 <dd><p>Force bitexact output, useful to produce output which is not dependent
724 on the specific build.
725 </p>
726 </dd>
727 <dt> &lsquo;<samp>-i <var>input_file</var></samp>&rsquo;</dt>
728 <dd><p>Read <var>input_file</var>.
729 </p>
730 </dd>
731 </dl>
732
733 <a name="Writers"></a>
734 <h1 class="chapter"><a href="ffprobe.html#toc-Writers">4. Writers</a></h1>
735
736 <p>A writer defines the output format adopted by <code>ffprobe</code>, and will be
737 used for printing all the parts of the output.
738 </p>
739 <p>A writer may accept one or more arguments, which specify the options
740 to adopt. The options are specified as a list of <var>key</var>=<var>value</var>
741 pairs, separated by &quot;:&quot;.
742 </p>
743 <p>All writers support the following options:
744 </p>
745 <dl compact="compact">
746 <dt> &lsquo;<samp>string_validation, sv</samp>&rsquo;</dt>
747 <dd><p>Set string validation mode.
748 </p>
749 <p>The following values are accepted.
750 </p><dl compact="compact">
751 <dt> &lsquo;<samp>fail</samp>&rsquo;</dt>
752 <dd><p>The writer will fail immediately in case an invalid string (UTF-8)
753 sequence or code point is found in the input. This is especially
754 useful to validate input metadata.
755 </p>
756 </dd>
757 <dt> &lsquo;<samp>ignore</samp>&rsquo;</dt>
758 <dd><p>Any validation error will be ignored. This will result in possibly
759 broken output, especially with the json or xml writer.
760 </p>
761 </dd>
762 <dt> &lsquo;<samp>replace</samp>&rsquo;</dt>
763 <dd><p>The writer will substitute invalid UTF-8 sequences or code points with
764 the string specified with the &lsquo;<samp>string_validation_replacement</samp>&rsquo;.
765 </p></dd>
766 </dl>
767
768 <p>Default value is &lsquo;<samp>replace</samp>&rsquo;.
769 </p>
770 </dd>
771 <dt> &lsquo;<samp>string_validation_replacement, svr</samp>&rsquo;</dt>
772 <dd><p>Set replacement string to use in case &lsquo;<samp>string_validation</samp>&rsquo; is
773 set to &lsquo;<samp>replace</samp>&rsquo;.
774 </p>
775 <p>In case the option is not specified, the writer will assume the empty
776 string, that is it will remove the invalid sequences from the input
777 strings.
778 </p></dd>
779 </dl>
780
781 <p>A description of the currently available writers follows.
782 </p>
783 <a name="default"></a>
784 <h2 class="section"><a href="ffprobe.html#toc-default">4.1 default</a></h2>
785 <p>Default format.
786 </p>
787 <p>Print each section in the form:
788 </p><table><tr><td>&nbsp;</td><td><pre class="example">[SECTION]
789 key1=val1
790 ...
791 keyN=valN
792 [/SECTION]
793 </pre></td></tr></table>
794
795 <p>Metadata tags are printed as a line in the corresponding FORMAT, STREAM or
796 PROGRAM_STREAM section, and are prefixed by the string &quot;TAG:&quot;.
797 </p>
798 <p>A description of the accepted options follows.
799 </p>
800 <dl compact="compact">
801 <dt> &lsquo;<samp>nokey, nk</samp>&rsquo;</dt>
802 <dd><p>If set to 1 specify not to print the key of each field. Default value
803 is 0.
804 </p>
805 </dd>
806 <dt> &lsquo;<samp>noprint_wrappers, nw</samp>&rsquo;</dt>
807 <dd><p>If set to 1 specify not to print the section header and footer.
808 Default value is 0.
809 </p></dd>
810 </dl>
811
812 <a name="compact_002c-csv"></a>
813 <h2 class="section"><a href="ffprobe.html#toc-compact_002c-csv">4.2 compact, csv</a></h2>
814 <p>Compact and CSV format.
815 </p>
816 <p>The <code>csv</code> writer is equivalent to <code>compact</code>, but supports
817 different defaults.
818 </p>
819 <p>Each section is printed on a single line.
820 If no option is specifid, the output has the form:
821 </p><table><tr><td>&nbsp;</td><td><pre class="example">section|key1=val1| ... |keyN=valN
822 </pre></td></tr></table>
823
824 <p>Metadata tags are printed in the corresponding &quot;format&quot; or &quot;stream&quot;
825 section. A metadata tag key, if printed, is prefixed by the string
826 &quot;tag:&quot;.
827 </p>
828 <p>The description of the accepted options follows.
829 </p>
830 <dl compact="compact">
831 <dt> &lsquo;<samp>item_sep, s</samp>&rsquo;</dt>
832 <dd><p>Specify the character to use for separating fields in the output line.
833 It must be a single printable character, it is &quot;|&quot; by default (&quot;,&quot; for
834 the <code>csv</code> writer).
835 </p>
836 </dd>
837 <dt> &lsquo;<samp>nokey, nk</samp>&rsquo;</dt>
838 <dd><p>If set to 1 specify not to print the key of each field. Its default
839 value is 0 (1 for the <code>csv</code> writer).
840 </p>
841 </dd>
842 <dt> &lsquo;<samp>escape, e</samp>&rsquo;</dt>
843 <dd><p>Set the escape mode to use, default to &quot;c&quot; (&quot;csv&quot; for the <code>csv</code>
844 writer).
845 </p>
846 <p>It can assume one of the following values:
847 </p><dl compact="compact">
848 <dt> &lsquo;<samp>c</samp>&rsquo;</dt>
849 <dd><p>Perform C-like escaping. Strings containing a newline (&rsquo;\n&rsquo;), carriage
850 return (&rsquo;\r&rsquo;), a tab (&rsquo;\t&rsquo;), a form feed (&rsquo;\f&rsquo;), the escaping
851 character (&rsquo;\&rsquo;) or the item separator character <var>SEP</var> are escaped using C-like fashioned
852 escaping, so that a newline is converted to the sequence &quot;\n&quot;, a
853 carriage return to &quot;\r&quot;, &rsquo;\&rsquo; to &quot;\\&quot; and the separator <var>SEP</var> is
854 converted to &quot;\<var>SEP</var>&quot;.
855 </p>
856 </dd>
857 <dt> &lsquo;<samp>csv</samp>&rsquo;</dt>
858 <dd><p>Perform CSV-like escaping, as described in RFC4180.  Strings
859 containing a newline (&rsquo;\n&rsquo;), a carriage return (&rsquo;\r&rsquo;), a double quote
860 (&rsquo;&quot;&rsquo;), or <var>SEP</var> are enclosed in double-quotes.
861 </p>
862 </dd>
863 <dt> &lsquo;<samp>none</samp>&rsquo;</dt>
864 <dd><p>Perform no escaping.
865 </p></dd>
866 </dl>
867
868 </dd>
869 <dt> &lsquo;<samp>print_section, p</samp>&rsquo;</dt>
870 <dd><p>Print the section name at the begin of each line if the value is
871 <code>1</code>, disable it with value set to <code>0</code>. Default value is
872 <code>1</code>.
873 </p>
874 </dd>
875 </dl>
876
877 <a name="flat"></a>
878 <h2 class="section"><a href="ffprobe.html#toc-flat">4.3 flat</a></h2>
879 <p>Flat format.
880 </p>
881 <p>A free-form output where each line contains an explicit key=value, such as
882 &quot;streams.stream.3.tags.foo=bar&quot;. The output is shell escaped, so it can be
883 directly embedded in sh scripts as long as the separator character is an
884 alphanumeric character or an underscore (see <var>sep_char</var> option).
885 </p>
886 <p>The description of the accepted options follows.
887 </p>
888 <dl compact="compact">
889 <dt> &lsquo;<samp>sep_char, s</samp>&rsquo;</dt>
890 <dd><p>Separator character used to separate the chapter, the section name, IDs and
891 potential tags in the printed field key.
892 </p>
893 <p>Default value is &rsquo;.&rsquo;.
894 </p>
895 </dd>
896 <dt> &lsquo;<samp>hierarchical, h</samp>&rsquo;</dt>
897 <dd><p>Specify if the section name specification should be hierarchical. If
898 set to 1, and if there is more than one section in the current
899 chapter, the section name will be prefixed by the name of the
900 chapter. A value of 0 will disable this behavior.
901 </p>
902 <p>Default value is 1.
903 </p></dd>
904 </dl>
905
906 <a name="ini"></a>
907 <h2 class="section"><a href="ffprobe.html#toc-ini">4.4 ini</a></h2>
908 <p>INI format output.
909 </p>
910 <p>Print output in an INI based format.
911 </p>
912 <p>The following conventions are adopted:
913 </p>
914 <ul>
915 <li>
916 all key and values are UTF-8
917 </li><li>
918 &rsquo;.&rsquo; is the subgroup separator
919 </li><li>
920 newline, &rsquo;\t&rsquo;, &rsquo;\f&rsquo;, &rsquo;\b&rsquo; and the following characters are escaped
921 </li><li>
922 &rsquo;\&rsquo; is the escape character
923 </li><li>
924 &rsquo;#&rsquo; is the comment indicator
925 </li><li>
926 &rsquo;=&rsquo; is the key/value separator
927 </li><li>
928 &rsquo;:&rsquo; is not used but usually parsed as key/value separator
929 </li></ul>
930
931 <p>This writer accepts options as a list of <var>key</var>=<var>value</var> pairs,
932 separated by &quot;:&quot;.
933 </p>
934 <p>The description of the accepted options follows.
935 </p>
936 <dl compact="compact">
937 <dt> &lsquo;<samp>hierarchical, h</samp>&rsquo;</dt>
938 <dd><p>Specify if the section name specification should be hierarchical. If
939 set to 1, and if there is more than one section in the current
940 chapter, the section name will be prefixed by the name of the
941 chapter. A value of 0 will disable this behavior.
942 </p>
943 <p>Default value is 1.
944 </p></dd>
945 </dl>
946
947 <a name="json"></a>
948 <h2 class="section"><a href="ffprobe.html#toc-json">4.5 json</a></h2>
949 <p>JSON based format.
950 </p>
951 <p>Each section is printed using JSON notation.
952 </p>
953 <p>The description of the accepted options follows.
954 </p>
955 <dl compact="compact">
956 <dt> &lsquo;<samp>compact, c</samp>&rsquo;</dt>
957 <dd><p>If set to 1 enable compact output, that is each section will be
958 printed on a single line. Default value is 0.
959 </p></dd>
960 </dl>
961
962 <p>For more information about JSON, see <a href="http://www.json.org/">http://www.json.org/</a>.
963 </p>
964 <a name="xml"></a>
965 <h2 class="section"><a href="ffprobe.html#toc-xml">4.6 xml</a></h2>
966 <p>XML based format.
967 </p>
968 <p>The XML output is described in the XML schema description file
969 &lsquo;<tt>ffprobe.xsd</tt>&rsquo; installed in the FFmpeg datadir.
970 </p>
971 <p>An updated version of the schema can be retrieved at the url
972 <a href="http://www.ffmpeg.org/schema/ffprobe.xsd">http://www.ffmpeg.org/schema/ffprobe.xsd</a>, which redirects to the
973 latest schema committed into the FFmpeg development source code tree.
974 </p>
975 <p>Note that the output issued will be compliant to the
976 &lsquo;<tt>ffprobe.xsd</tt>&rsquo; schema only when no special global output options
977 (&lsquo;<samp>unit</samp>&rsquo;, &lsquo;<samp>prefix</samp>&rsquo;, &lsquo;<samp>byte_binary_prefix</samp>&rsquo;,
978 &lsquo;<samp>sexagesimal</samp>&rsquo; etc.) are specified.
979 </p>
980 <p>The description of the accepted options follows.
981 </p>
982 <dl compact="compact">
983 <dt> &lsquo;<samp>fully_qualified, q</samp>&rsquo;</dt>
984 <dd><p>If set to 1 specify if the output should be fully qualified. Default
985 value is 0.
986 This is required for generating an XML file which can be validated
987 through an XSD file.
988 </p>
989 </dd>
990 <dt> &lsquo;<samp>xsd_compliant, x</samp>&rsquo;</dt>
991 <dd><p>If set to 1 perform more checks for ensuring that the output is XSD
992 compliant. Default value is 0.
993 This option automatically sets &lsquo;<samp>fully_qualified</samp>&rsquo; to 1.
994 </p></dd>
995 </dl>
996
997 <p>For more information about the XML format, see
998 <a href="http://www.w3.org/XML/">http://www.w3.org/XML/</a>.
999 </p>
1000 <a name="Timecode"></a>
1001 <h1 class="chapter"><a href="ffprobe.html#toc-Timecode">5. Timecode</a></h1>
1002
1003 <p><code>ffprobe</code> supports Timecode extraction:
1004 </p>
1005 <ul>
1006 <li>
1007 MPEG1/2 timecode is extracted from the GOP, and is available in the video
1008 stream details (&lsquo;<samp>-show_streams</samp>&rsquo;, see <var>timecode</var>).
1009
1010 </li><li>
1011 MOV timecode is extracted from tmcd track, so is available in the tmcd
1012 stream metadata (&lsquo;<samp>-show_streams</samp>&rsquo;, see <var>TAG:timecode</var>).
1013
1014 </li><li>
1015 DV, GXF and AVI timecodes are available in format metadata
1016 (&lsquo;<samp>-show_format</samp>&rsquo;, see <var>TAG:timecode</var>).
1017
1018 </li></ul>
1019
1020
1021 <a name="See-Also"></a>
1022 <h1 class="chapter"><a href="ffprobe.html#toc-See-Also">6. See Also</a></h1>
1023
1024 <p><a href="ffprobe-all.html">ffprobe-all</a>,
1025 <a href="ffmpeg.html">ffmpeg</a>, <a href="ffplay.html">ffplay</a>, <a href="ffserver.html">ffserver</a>,
1026 <a href="ffmpeg-utils.html">ffmpeg-utils</a>,
1027 <a href="ffmpeg-scaler.html">ffmpeg-scaler</a>,
1028 <a href="ffmpeg-resampler.html">ffmpeg-resampler</a>,
1029 <a href="ffmpeg-codecs.html">ffmpeg-codecs</a>,
1030 <a href="ffmpeg-bitstream-filters.html">ffmpeg-bitstream-filters</a>,
1031 <a href="ffmpeg-formats.html">ffmpeg-formats</a>,
1032 <a href="ffmpeg-devices.html">ffmpeg-devices</a>,
1033 <a href="ffmpeg-protocols.html">ffmpeg-protocols</a>,
1034 <a href="ffmpeg-filters.html">ffmpeg-filters</a>
1035 </p>
1036
1037 <a name="Authors"></a>
1038 <h1 class="chapter"><a href="ffprobe.html#toc-Authors">7. Authors</a></h1>
1039
1040 <p>The FFmpeg developers.
1041 </p>
1042 <p>For details about the authorship, see the Git history of the project
1043 (git://source.ffmpeg.org/ffmpeg), e.g. by typing the command
1044 <code>git log</code> in the FFmpeg source directory, or browsing the
1045 online repository at <a href="http://source.ffmpeg.org">http://source.ffmpeg.org</a>.
1046 </p>
1047 <p>Maintainers for the specific components are listed in the file
1048 &lsquo;<tt>MAINTAINERS</tt>&rsquo; in the source code tree.
1049 </p>
1050
1051 <footer class="footer pagination-right">
1052 <span class="label label-info">This document was generated by <em>Kyle Schwarz</em> on <em>December 14, 2013</em> using <a href="http://www.nongnu.org/texi2html/"><em>texi2html 1.82</em></a>.</span></footer></div></div></body>