83 #define OFFSET(x) offsetof(AVFormatContext,x)
84 #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
86 #define E AV_OPT_FLAG_ENCODING_PARAM
87 #define D AV_OPT_FLAG_DECODING_PARAM
99 {
"noparse",
"disable AVParsers, this needs nofillin too", 0,
AV_OPT_TYPE_CONST, {.dbl =
AVFMT_FLAG_NOPARSE }, INT_MIN, INT_MAX,
D,
"fflags"},
101 #if FF_API_FLAG_RTP_HINT
102 {
"rtphint",
"add rtp hinting (deprecated, use the -movflags rtphint option instead)", 0,
AV_OPT_TYPE_CONST, {.dbl = AVFMT_FLAG_RTP_HINT }, INT_MIN, INT_MAX,
E,
"fflags"},
105 {
"analyzeduration",
"how many microseconds are analyzed to estimate duration",
OFFSET(max_analyze_duration),
AV_OPT_TYPE_INT, {.dbl = 5*
AV_TIME_BASE }, 0, INT_MAX,
D},
107 {
"indexmem",
"max memory used for timestamp index (per stream)",
OFFSET(max_index_size),
AV_OPT_TYPE_INT, {.dbl = 1<<20 }, 0, INT_MAX,
D},
108 {
"rtbufsize",
"max memory used for buffering real-time frames",
OFFSET(max_picture_buffer),
AV_OPT_TYPE_INT, {.dbl = 3041280 }, 0, INT_MAX,
D},
112 {
"fpsprobesize",
"number of frames used to probe fps",
OFFSET(fps_probe_size),
AV_OPT_TYPE_INT, {.dbl = -1}, -1, INT_MAX-1,
D},
115 {
"f_err_detect",
"set error detection flags (deprecated; use err_detect, save via avconv)",
OFFSET(
error_recognition),
AV_OPT_TYPE_FLAGS, {.dbl =
AV_EF_CRCCHECK }, INT_MIN, INT_MAX,
D,
"err_detect"},