1 \input texinfo @c -*- texinfo -*-
3 @settitle FFmpeg Formats Documentation
5 @center @titlefont{FFmpeg Formats Documentation}
13 @c man begin DESCRIPTION
15 This document describes the supported formats (muxers and demuxers)
16 provided by the libavformat library.
18 @c man end DESCRIPTION
20 @chapter Format Options
21 @c man begin FORMAT OPTIONS
23 The libavformat library provides some generic global options, which
24 can be set on all the muxers and demuxers. In addition each muxer or
25 demuxer may support so-called private options, which are specific for
28 Options may be set by specifying -@var{option} @var{value} in the
29 FFmpeg tools, or by setting the value explicitly in the
30 @code{AVFormatContext} options or using the @file{libavutil/opt.h} API
33 The list of supported options follows:
36 @item avioflags @var{flags} (@emph{input/output})
43 @item probesize @var{integer} (@emph{input})
46 @item packetsize @var{integer} (@emph{output})
49 @item fflags @var{flags} (@emph{input/output})
59 Do not fill in missing values that can be exactly calculated.
61 Disable AVParsers, this needs @code{+nofillin} too.
65 Discard corrupted frames.
67 Try to interleave output packets by DTS.
69 Do not merge side data.
71 Enable RTP MP4A-LATM payload.
73 Reduce the latency introduced by optional buffering
76 @item analyzeduration @var{integer} (@emph{input})
77 Specify how many microseconds are analyzed to estimate duration.
79 @item cryptokey @var{hexadecimal string} (@emph{input})
82 @item indexmem @var{integer} (@emph{input})
83 Set max memory used for timestamp index (per stream).
85 @item rtbufsize @var{integer} (@emph{input})
86 Set max memory used for buffering real-time frames.
88 @item fdebug @var{flags} (@emph{input/output})
89 Print specific debug info.
96 @item max_delay @var{integer} (@emph{input/output})
97 Set maximum muxing or demuxing delay in microseconds.
99 @item fpsprobesize @var{integer} (@emph{input})
100 Set number of frames used to probe fps.
102 @item audio_preload @var{integer} (@emph{output})
103 Set microseconds by which audio packets should be interleaved earlier.
105 @item chunk_duration @var{integer} (@emph{output})
106 Set microseconds for each chunk.
108 @item chunk_size @var{integer} (@emph{output})
109 Set size in bytes for each chunk.
111 @item err_detect, f_err_detect @var{flags} (@emph{input})
112 Set error detection flags. @code{f_err_detect} is deprecated and
113 should be used only via the @command{ffmpeg} tool.
118 Verify embedded CRCs.
120 Detect bitstream specification deviations.
122 Detect improper bitstream length.
124 Abort decoding on minor error detection.
126 Consider things that violate the spec and have not been seen in the
129 Consider all spec non compliancies as errors.
131 Consider things that a sane encoder should not do as an error.
134 @item use_wallclock_as_timestamps @var{integer} (@emph{input})
135 Use wallclock as timestamps.
137 @item avoid_negative_ts @var{integer} (@emph{output})
138 Shift timestamps to make them positive. 1 enables, 0 disables, default
139 of -1 enables when required by target format.
142 @c man end FORMAT OPTIONS
144 @include demuxers.texi
149 @setfilename ffmpeg-formats
150 @settitle FFmpeg formats
153 ffmpeg(1), ffplay(1), ffprobe(1), ffserver(1), libavformat(3)
157 See Git history (git://source.ffmpeg.org/ffmpeg)