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
40 {
"noparse",
"disable AVParsers, this needs nofillin too", 0,
AV_OPT_TYPE_CONST, {.i64 =
AVFMT_FLAG_NOPARSE }, INT_MIN, INT_MAX,
D,
"fflags"},
44 {
"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},
46 {
"indexmem",
"max memory used for timestamp index (per stream)",
OFFSET(max_index_size),
AV_OPT_TYPE_INT, {.i64 = 1<<20 }, 0, INT_MAX,
D},
47 {
"rtbufsize",
"max memory used for buffering real-time frames",
OFFSET(max_picture_buffer),
AV_OPT_TYPE_INT, {.i64 = 3041280 }, 0, INT_MAX,
D},
50 {
"max_delay",
"maximum muxing or demuxing delay in microseconds",
OFFSET(max_delay),
AV_OPT_TYPE_INT, {.i64 = -1 }, -1, INT_MAX,
E|
D},
51 {
"fpsprobesize",
"number of frames used to probe fps",
OFFSET(fps_probe_size),
AV_OPT_TYPE_INT, {.i64 = -1}, -1, INT_MAX-1,
D},
54 {
"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"},