ffmpeg-formats.texi 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162
  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.
  33. @item packetsize @var{integer} (@emph{output})
  34. Set packet size.
  35. @item fflags @var{flags} (@emph{input/output})
  36. Set format flags.
  37. Possible values:
  38. @table @samp
  39. @item ignidx
  40. Ignore index.
  41. @item genpts
  42. Generate PTS.
  43. @item nofillin
  44. Do not fill in missing values that can be exactly calculated.
  45. @item noparse
  46. Disable AVParsers, this needs @code{+nofillin} too.
  47. @item igndts
  48. Ignore DTS.
  49. @item discardcorrupt
  50. Discard corrupted frames.
  51. @item sortdts
  52. Try to interleave output packets by DTS.
  53. @item keepside
  54. Do not merge side data.
  55. @item latm
  56. Enable RTP MP4A-LATM payload.
  57. @item nobuffer
  58. Reduce the latency introduced by optional buffering
  59. @end table
  60. @item analyzeduration @var{integer} (@emph{input})
  61. Specify how many microseconds are analyzed to estimate duration.
  62. @item cryptokey @var{hexadecimal string} (@emph{input})
  63. Set decryption key.
  64. @item indexmem @var{integer} (@emph{input})
  65. Set max memory used for timestamp index (per stream).
  66. @item rtbufsize @var{integer} (@emph{input})
  67. Set max memory used for buffering real-time frames.
  68. @item fdebug @var{flags} (@emph{input/output})
  69. Print specific debug info.
  70. Possible values:
  71. @table @samp
  72. @item ts
  73. @end table
  74. @item max_delay @var{integer} (@emph{input/output})
  75. Set maximum muxing or demuxing delay in microseconds.
  76. @item fpsprobesize @var{integer} (@emph{input})
  77. Set number of frames used to probe fps.
  78. @item audio_preload @var{integer} (@emph{output})
  79. Set microseconds by which audio packets should be interleaved earlier.
  80. @item chunk_duration @var{integer} (@emph{output})
  81. Set microseconds for each chunk.
  82. @item chunk_size @var{integer} (@emph{output})
  83. Set size in bytes for each chunk.
  84. @item err_detect, f_err_detect @var{flags} (@emph{input})
  85. Set error detection flags. @code{f_err_detect} is deprecated and
  86. should be used only via the @command{ffmpeg} tool.
  87. Possible values:
  88. @table @samp
  89. @item crccheck
  90. Verify embedded CRCs.
  91. @item bitstream
  92. Detect bitstream specification deviations.
  93. @item buffer
  94. Detect improper bitstream length.
  95. @item explode
  96. Abort decoding on minor error detection.
  97. @item careful
  98. Consider things that violate the spec and have not been seen in the
  99. wild as errors.
  100. @item compliant
  101. Consider all spec non compliancies as errors.
  102. @item aggressive
  103. Consider things that a sane encoder should not do as an error.
  104. @end table
  105. @item use_wallclock_as_timestamps @var{integer} (@emph{input})
  106. Use wallclock as timestamps.
  107. @item avoid_negative_ts @var{integer} (@emph{output})
  108. Shift timestamps to make them positive. 1 enables, 0 disables, default
  109. of -1 enables when required by target format.
  110. @end table
  111. @c man end FORMAT OPTIONS
  112. @include demuxers.texi
  113. @include muxers.texi
  114. @ignore
  115. @setfilename ffmpeg-formats
  116. @settitle FFmpeg formats
  117. @c man begin SEEALSO
  118. ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavformat(3)
  119. @c man end
  120. @c man begin AUTHORS
  121. See Git history (git://source.ffmpeg.org/ffmpeg)
  122. @c man end
  123. @end ignore
  124. @bye