{"audio_service_type","audio service type",OFFSET(audio_service_type),AV_OPT_TYPE_INT,{.dbl=AV_AUDIO_SERVICE_TYPE_MAIN},0,AV_AUDIO_SERVICE_TYPE_NB-1,A|E,"audio_service_type"},
{"ft_load_flags","set font loading flags for libfreetype",OFFSET(ft_load_flags),AV_OPT_TYPE_FLAGS,{.dbl=FT_LOAD_DEFAULT|FT_LOAD_RENDER},0,INT_MAX,0,"ft_load_flags"},
{"ft_load_flags","set font loading flags for libfreetype",OFFSET(ft_load_flags),AV_OPT_TYPE_FLAGS,{.i64=FT_LOAD_DEFAULT|FT_LOAD_RENDER},0,INT_MAX,0,"ft_load_flags"},
{"rtphint","Add RTP hint tracks",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_RTP_HINT},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"empty_moov","Make the initial moov atom empty (not supported by QuickTime)",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_EMPTY_MOOV},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"frag_keyframe","Fragment at video keyframes",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_FRAG_KEYFRAME},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"indexmem","max memory used for timestamp index (per stream)",OFFSET(max_index_size),AV_OPT_TYPE_INT,{.dbl=1<<20},0,INT_MAX,D},
{"rtbufsize","max memory used for buffering real-time frames",OFFSET(max_picture_buffer),AV_OPT_TYPE_INT,{.dbl=3041280},0,INT_MAX,D},/* defaults to 1s of 15fps 352x288 YUYV422 video */
{"fdebug","print specific debug info",OFFSET(debug),AV_OPT_TYPE_FLAGS,{.dbl=DEFAULT},0,INT_MAX,E|D,"fdebug"},
{"fdebug","print specific debug info",OFFSET(debug),AV_OPT_TYPE_FLAGS,{.i64=DEFAULT},0,INT_MAX,E|D,"fdebug"},
{"max_delay","maximum muxing or demuxing delay in microseconds",OFFSET(max_delay),AV_OPT_TYPE_INT,{.dbl=-1},-1,INT_MAX,E|D},
{"fpsprobesize","number of frames used to probe fps",OFFSET(fps_probe_size),AV_OPT_TYPE_INT,{.dbl=-1},-1,INT_MAX-1,D},
/* this is a crutch for avconv, since it cannot deal with identically named options in different contexts.
* to be removed when avconv is fixed */
{"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"},
{"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"},
{"be","output in big-endian format (for use as s16be)",0,AV_OPT_TYPE_CONST,{.i64=SPDIF_FLAG_BIGENDIAN},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"spdif_flags"},
{"dtshd_rate","mux complete DTS frames in HD mode at the specified IEC958 rate (in Hz, default 0=disabled)",offsetof(IEC61937Context,dtshd_rate),AV_OPT_TYPE_INT,{.dbl=0},0,768000,AV_OPT_FLAG_ENCODING_PARAM},
{"dtshd_fallback_time","min secs to strip HD for after an overflow (-1: till the end, default 60)",offsetof(IEC61937Context,dtshd_fallback),AV_OPT_TYPE_INT,{.dbl=60},-1,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM},