You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
4.3KB

  1. \input texinfo @c -*- texinfo -*-
  2. @settitle FFmpeg Formats Documentation
  3. @titlepage
  4. @center @titlefont{FFmpeg Formats Documentation}
  5. @end titlepage
  6. @top
  7. @contents
  8. @chapter Description
  9. @c man begin DESCRIPTION
  10. This document describes the supported formats (muxers and demuxers)
  11. provided by the libavformat library.
  12. @c man end DESCRIPTION
  13. @chapter Format Options
  14. @c man begin FORMAT OPTIONS
  15. The libavformat library provides some generic global options, which
  16. can be set on all the muxers and demuxers. In addition each muxer or
  17. demuxer may support so-called private options, which are specific for
  18. that component.
  19. Options may be set by specifying -@var{option} @var{value} in the
  20. FFmpeg tools, or by setting the value explicitly in the
  21. @code{AVFormatContext} options or using the @file{libavutil/opt.h} API
  22. for programmatic use.
  23. The list of supported options follows:
  24. @table @option
  25. @item avioflags @var{flags} (@emph{input/output})
  26. Possible values:
  27. @table @samp
  28. @item direct
  29. Reduce buffering.
  30. @end table
  31. @item probesize @var{integer} (@emph{input})
  32. Set probing size in bytes, i.e. the size of the data to analyze to get
  33. stream information. A higher value will allow to detect more
  34. information in case it is dispersed into the stream, but will increase
  35. latency. Must be an integer not lesser than 32. It is 5000000 by default.
  36. @item packetsize @var{integer} (@emph{output})
  37. Set packet size.
  38. @item fflags @var{flags} (@emph{input/output})
  39. Set format flags.
  40. Possible values:
  41. @table @samp
  42. @item ignidx
  43. Ignore index.
  44. @item genpts
  45. Generate PTS.
  46. @item nofillin
  47. Do not fill in missing values that can be exactly calculated.
  48. @item noparse
  49. Disable AVParsers, this needs @code{+nofillin} too.
  50. @item igndts
  51. Ignore DTS.
  52. @item discardcorrupt
  53. Discard corrupted frames.
  54. @item sortdts
  55. Try to interleave output packets by DTS.
  56. @item keepside
  57. Do not merge side data.
  58. @item latm
  59. Enable RTP MP4A-LATM payload.
  60. @item nobuffer
  61. Reduce the latency introduced by optional buffering
  62. @end table
  63. @item analyzeduration @var{integer} (@emph{input})
  64. Specify how many microseconds are analyzed to estimate duration.
  65. @item cryptokey @var{hexadecimal string} (@emph{input})
  66. Set decryption key.
  67. @item indexmem @var{integer} (@emph{input})
  68. Set max memory used for timestamp index (per stream).
  69. @item rtbufsize @var{integer} (@emph{input})
  70. Set max memory used for buffering real-time frames.
  71. @item fdebug @var{flags} (@emph{input/output})
  72. Print specific debug info.
  73. Possible values:
  74. @table @samp
  75. @item ts
  76. @end table
  77. @item max_delay @var{integer} (@emph{input/output})
  78. Set maximum muxing or demuxing delay in microseconds.
  79. @item fpsprobesize @var{integer} (@emph{input})
  80. Set number of frames used to probe fps.
  81. @item audio_preload @var{integer} (@emph{output})
  82. Set microseconds by which audio packets should be interleaved earlier.
  83. @item chunk_duration @var{integer} (@emph{output})
  84. Set microseconds for each chunk.
  85. @item chunk_size @var{integer} (@emph{output})
  86. Set size in bytes for each chunk.
  87. @item err_detect, f_err_detect @var{flags} (@emph{input})
  88. Set error detection flags. @code{f_err_detect} is deprecated and
  89. should be used only via the @command{ffmpeg} tool.
  90. Possible values:
  91. @table @samp
  92. @item crccheck
  93. Verify embedded CRCs.
  94. @item bitstream
  95. Detect bitstream specification deviations.
  96. @item buffer
  97. Detect improper bitstream length.
  98. @item explode
  99. Abort decoding on minor error detection.
  100. @item careful
  101. Consider things that violate the spec and have not been seen in the
  102. wild as errors.
  103. @item compliant
  104. Consider all spec non compliancies as errors.
  105. @item aggressive
  106. Consider things that a sane encoder should not do as an error.
  107. @end table
  108. @item use_wallclock_as_timestamps @var{integer} (@emph{input})
  109. Use wallclock as timestamps.
  110. @item avoid_negative_ts @var{integer} (@emph{output})
  111. Shift timestamps to make them positive. 1 enables, 0 disables, default
  112. of -1 enables when required by target format.
  113. @end table
  114. @c man end FORMAT OPTIONS
  115. @include demuxers.texi
  116. @include muxers.texi
  117. @include metadata.texi
  118. @chapter See Also
  119. @ifhtml
  120. @url{ffmpeg.html,ffmpeg}, @url{ffplay.html,ffplay}, @url{ffprobe.html,ffprobe}, @url{ffserver.html,ffserver},
  121. @url{libavformat.html,libavformat}
  122. @end ifhtml
  123. @ifnothtml
  124. ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavformat(3)
  125. @end ifnothtml
  126. @include authors.texi
  127. @ignore
  128. @setfilename ffmpeg-formats
  129. @settitle FFmpeg formats
  130. @end ignore
  131. @bye