19 #ifndef AVFORMAT_OPTIONS_TABLE_H 20 #define AVFORMAT_OPTIONS_TABLE_H 27 #define OFFSET(x) offsetof(AVFormatContext,x) 28 #define DEFAULT 0 //should be NAN but it does not work as it is not a constant in glibc as required by ANSI/ISO C 30 #define E AV_OPT_FLAG_ENCODING_PARAM 31 #define D AV_OPT_FLAG_DECODING_PARAM 41 {
"noparse",
"disable AVParsers, this needs nofillin too", 0,
AV_OPT_TYPE_CONST, {.i64 =
AVFMT_FLAG_NOPARSE }, INT_MIN, INT_MAX,
D,
"fflags"},
46 {
"analyzeduration",
"how many microseconds are analyzed to estimate duration",
OFFSET(max_analyze_duration),
AV_OPT_TYPE_INT, {.i64 = 5*
AV_TIME_BASE }, 0, INT_MAX, D},
48 {
"indexmem",
"max memory used for timestamp index (per stream)",
OFFSET(max_index_size),
AV_OPT_TYPE_INT, {.i64 = 1<<20 }, 0, INT_MAX, D},
49 {
"rtbufsize",
"max memory used for buffering real-time frames",
OFFSET(max_picture_buffer),
AV_OPT_TYPE_INT, {.i64 = 3041280 }, 0, INT_MAX, D},
52 {
"max_delay",
"maximum muxing or demuxing delay in microseconds",
OFFSET(max_delay),
AV_OPT_TYPE_INT, {.i64 = -1 }, -1, INT_MAX, E|D},
53 {
"fpsprobesize",
"number of frames used to probe fps",
OFFSET(fps_probe_size),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX-1, D},
56 {
"f_err_detect",
"set error detection flags (deprecated; use err_detect, save via avconv)",
OFFSET(error_recognition),
AV_OPT_TYPE_FLAGS, {.i64 =
AV_EF_CRCCHECK }, INT_MIN, INT_MAX,
D,
"err_detect"},
62 {
"max_interleave_delta",
"maximum buffering duration for interleaving",
OFFSET(max_interleave_delta),
AV_OPT_TYPE_INT64, { .i64 = 10000000 }, 0, INT64_MAX, E },
63 {
"f_strict",
"how strictly to follow the standards (deprecated; use strict, save via avconv)",
OFFSET(strict_std_compliance),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX, D|
E,
"strict"},
64 {
"strict",
"how strictly to follow the standards",
OFFSET(strict_std_compliance),
AV_OPT_TYPE_INT, {.i64 =
DEFAULT }, INT_MIN, INT_MAX, D|
E,
"strict"},
#define FF_COMPLIANCE_EXPERIMENTAL
Allow nonstandardized experimental things.
#define AV_TIME_BASE
Internal time base represented as integer.
offset must point to a pointer immediately followed by an int for the length
#define FF_COMPLIANCE_NORMAL
#define AV_EF_CRCCHECK
Verify checksums embedded in the bitstream (could be of either encoded or decoded data...
#define FF_COMPLIANCE_STRICT
Strictly conform to all the things in the spec no matter what consequences.