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.

174 lines
4.4KB

  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 probe the input. A
  65. higher value will allow to detect more accurate information, but will
  66. increase latency. It defaults to 5,000,000 microseconds = 5 seconds.
  67. @item cryptokey @var{hexadecimal string} (@emph{input})
  68. Set decryption key.
  69. @item indexmem @var{integer} (@emph{input})
  70. Set max memory used for timestamp index (per stream).
  71. @item rtbufsize @var{integer} (@emph{input})
  72. Set max memory used for buffering real-time frames.
  73. @item fdebug @var{flags} (@emph{input/output})
  74. Print specific debug info.
  75. Possible values:
  76. @table @samp
  77. @item ts
  78. @end table
  79. @item max_delay @var{integer} (@emph{input/output})
  80. Set maximum muxing or demuxing delay in microseconds.
  81. @item fpsprobesize @var{integer} (@emph{input})
  82. Set number of frames used to probe fps.
  83. @item audio_preload @var{integer} (@emph{output})
  84. Set microseconds by which audio packets should be interleaved earlier.
  85. @item chunk_duration @var{integer} (@emph{output})
  86. Set microseconds for each chunk.
  87. @item chunk_size @var{integer} (@emph{output})
  88. Set size in bytes for each chunk.
  89. @item err_detect, f_err_detect @var{flags} (@emph{input})
  90. Set error detection flags. @code{f_err_detect} is deprecated and
  91. should be used only via the @command{ffmpeg} tool.
  92. Possible values:
  93. @table @samp
  94. @item crccheck
  95. Verify embedded CRCs.
  96. @item bitstream
  97. Detect bitstream specification deviations.
  98. @item buffer
  99. Detect improper bitstream length.
  100. @item explode
  101. Abort decoding on minor error detection.
  102. @item careful
  103. Consider things that violate the spec and have not been seen in the
  104. wild as errors.
  105. @item compliant
  106. Consider all spec non compliancies as errors.
  107. @item aggressive
  108. Consider things that a sane encoder should not do as an error.
  109. @end table
  110. @item use_wallclock_as_timestamps @var{integer} (@emph{input})
  111. Use wallclock as timestamps.
  112. @item avoid_negative_ts @var{integer} (@emph{output})
  113. Shift timestamps to make them positive. 1 enables, 0 disables, default
  114. of -1 enables when required by target format.
  115. @end table
  116. @c man end FORMAT OPTIONS
  117. @include demuxers.texi
  118. @include muxers.texi
  119. @include metadata.texi
  120. @chapter See Also
  121. @ifhtml
  122. @url{ffmpeg.html,ffmpeg}, @url{ffplay.html,ffplay}, @url{ffprobe.html,ffprobe}, @url{ffserver.html,ffserver},
  123. @url{libavformat.html,libavformat}
  124. @end ifhtml
  125. @ifnothtml
  126. ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavformat(3)
  127. @end ifnothtml
  128. @include authors.texi
  129. @ignore
  130. @setfilename ffmpeg-formats
  131. @settitle FFmpeg formats
  132. @end ignore
  133. @bye