ffprobe-doc.texi 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. \input texinfo @c -*- texinfo -*-
  2. @settitle FFprobe Documentation
  3. @titlepage
  4. @sp 7
  5. @center @titlefont{FFprobe Documentation}
  6. @sp 3
  7. @end titlepage
  8. @chapter Introduction
  9. @c man begin DESCRIPTION
  10. FFprobe gathers information from multimedia streams and prints it in
  11. human- and machine-readable fashion.
  12. For example it can be used to check the format of the container used
  13. by a multimedia stream and the format and type of each media stream
  14. contained in it.
  15. If a filename is specified in input, ffprobe will try to open and
  16. probe the file content. If the file cannot be opened or recognized as
  17. a multimedia file, a positive exit code is returned.
  18. FFprobe may be employed both as a standalone application or in
  19. combination with a textual filter, which may perform more
  20. sophisticated processing, e.g. statistical processing or plotting.
  21. Options are used to list some of the formats supported by ffprobe or
  22. for specifying which information to display, and for setting how
  23. ffprobe will show it.
  24. FFprobe output is designed to be easily parsable by a textual filter,
  25. and consists of one or more sections of the form:
  26. @example
  27. [SECTION]
  28. key1=val1
  29. ...
  30. keyN=valN
  31. [/SECTION]
  32. @end example
  33. Metadata tags stored in the container or in the streams are recognized
  34. and printed in the corresponding ``FORMAT'' or ``STREAM'' section, and
  35. are prefixed by the string ``TAG:''.
  36. @c man end
  37. @chapter Invocation
  38. @section Syntax
  39. The generic syntax is:
  40. @example
  41. @c man begin SYNOPSIS
  42. ffprobe [options] [@file{input_file}]
  43. @c man end
  44. @end example
  45. @c man begin OPTIONS
  46. @include fftools-common-opts.texi
  47. @section Main options
  48. @table @option
  49. @item -f @var{format}
  50. Force format to use.
  51. @item -unit
  52. Show the unit of the displayed values.
  53. @item -prefix
  54. Show a SI prefixes of the displayed values.
  55. Unless ``-byte_binary_prefix'' option is used all the prefix
  56. are decimal.
  57. @item -byte_binary_prefix
  58. Force the use of binary prefixes for byte values.
  59. @item -sexagesimal
  60. Use sexagesimal format HH:MM:SS.MICROSECONDS for time values.
  61. @item -pretty
  62. Prettify the format of the displayed values, it corresponds to the
  63. options ``-unit -prefix -byte_binary_prefix -sexagesimal''.
  64. @item -show_format
  65. Show information about the container format of the input multimedia
  66. stream.
  67. All the container format information is printed within a section with
  68. name ``FORMAT''.
  69. @item -show_streams
  70. Show information about each media stream contained in the input
  71. multimedia stream.
  72. Each media stream information is printed within a dedicated section
  73. with name ``STREAM''.
  74. @end table
  75. @c man end
  76. @ignore
  77. @setfilename ffprobe
  78. @settitle FFprobe media prober
  79. @c man begin SEEALSO
  80. ffmpeg(1), ffplay(1), ffserver(1)
  81. @c man end
  82. @end ignore
  83. @bye