{"dsurex_mode","Dolby Surround EX Mode",OFFSET(dolby_surround_ex_mode),AV_OPT_TYPE_INT,{.dbl=AC3ENC_OPT_NONE},AC3ENC_OPT_NONE,AC3ENC_OPT_MODE_ON,AC3ENC_PARAM,"dsurex_mode"},
{"lpc_passes","Number of passes to use for Cholesky factorization during LPC analysis",offsetof(FlacEncodeContext,options.lpc_passes),AV_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,FLAGS},
{"eld_sbr","Enable SBR for ELD (for SBR in other configurations, use the -profile parameter)",offsetof(AACContext,eld_sbr),AV_OPT_TYPE_INT,{0},0,1,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
{"default","Choose signaling implicitly (explicit hierarchical by default, implicit if global header is disabled)",0,AV_OPT_TYPE_CONST,{-1},0,0,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM,"signaling"},
{"default","Choose signaling implicitly (explicit hierarchical by default, implicit if global header is disabled)",0,AV_OPT_TYPE_CONST,{.i64=-1},0,0,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM,"signaling"},
{"header_period","StreamMuxConfig and PCE repetition period (in frames)",offsetof(AACContext,header_period),AV_OPT_TYPE_INT,{0},0,0xffff,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
{"global_header","place global headers in extradata instead of every keyframe",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_GLOBAL_HEADER},INT_MIN,INT_MAX,V|A|E,"flags"},
{"bitexact","use only bitexact stuff (except (i)dct)",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_BITEXACT},INT_MIN,INT_MAX,A|V|S|D|E,"flags"},
{"aic","h263 advanced intra coding / mpeg4 ac prediction",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_AC_PRED},INT_MIN,INT_MAX,V|E,"flags"},
{"mv4","use four motion vector by macroblock (mpeg4)",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_4MV},INT_MIN,INT_MAX,V|E,"flags"},
{"qpel","use 1/4 pel motion compensation",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_QPEL},INT_MIN,INT_MAX,V|E,"flags"},
{"global_header","place global headers in extradata instead of every keyframe",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_GLOBAL_HEADER},INT_MIN,INT_MAX,V|A|E,"flags"},
{"bitexact","use only bitexact stuff (except (i)dct)",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_BITEXACT},INT_MIN,INT_MAX,A|V|S|D|E,"flags"},
{"aic","h263 advanced intra coding / mpeg4 ac prediction",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_AC_PRED},INT_MIN,INT_MAX,V|E,"flags"},
#if FF_API_MPV_GLOBAL_OPTS
{"cbp","Deprecated, use mpegvideo private options instead",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_CBP_RD},INT_MIN,INT_MAX,V|E,"flags"},
{"qprd","Deprecated, use mpegvideo private options instead",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_QP_RD},INT_MIN,INT_MAX,V|E,"flags"},
{"cbp","Deprecated, use mpegvideo private options instead",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_CBP_RD},INT_MIN,INT_MAX,V|E,"flags"},
{"qprd","Deprecated, use mpegvideo private options instead",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG_QP_RD},INT_MIN,INT_MAX,V|E,"flags"},
{"local_header","place global headers at every keyframe instead of in extradata",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_LOCAL_HEADER},INT_MIN,INT_MAX,V|E,"flags2"},
{"local_header","place global headers at every keyframe instead of in extradata",0,AV_OPT_TYPE_CONST,{.i64=CODEC_FLAG2_LOCAL_HEADER},INT_MIN,INT_MAX,V|E,"flags2"},
{"direct_blocksize","direct-qpel-blocksize bug (autodetected per fourcc/version)",0,AV_OPT_TYPE_CONST,{.dbl=FF_BUG_DIRECT_BLOCKSIZE},INT_MIN,INT_MAX,V|D,"bug"},
{"edge","edge padding bug (autodetected per fourcc/version)",0,AV_OPT_TYPE_CONST,{.dbl=FF_BUG_EDGE},INT_MIN,INT_MAX,V|D,"bug"},
{"direct_blocksize","direct-qpel-blocksize bug (autodetected per fourcc/version)",0,AV_OPT_TYPE_CONST,{.i64=FF_BUG_DIRECT_BLOCKSIZE},INT_MIN,INT_MAX,V|D,"bug"},
{"edge","edge padding bug (autodetected per fourcc/version)",0,AV_OPT_TYPE_CONST,{.i64=FF_BUG_EDGE},INT_MIN,INT_MAX,V|D,"bug"},
{"lelim","single coefficient elimination threshold for luminance (negative values also consider dc coefficient)",OFFSET(luma_elim_threshold),AV_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,V|E},
{"celim","single coefficient elimination threshold for chrominance (negative values also consider dc coefficient)",OFFSET(chroma_elim_threshold),AV_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,V|E},
#endif
{"strict","how strictly to follow the standards",OFFSET(strict_std_compliance),AV_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,A|V|D|E,"strict"},
{"very","strictly conform to a older more strict version of the spec or reference software",0,AV_OPT_TYPE_CONST,{.dbl=FF_COMPLIANCE_VERY_STRICT},INT_MIN,INT_MAX,V|D|E,"strict"},
{"strict","strictly conform to all the things in the spec no matter what consequences",0,AV_OPT_TYPE_CONST,{.dbl=FF_COMPLIANCE_STRICT},INT_MIN,INT_MAX,V|D|E,"strict"},
{"experimental","allow non standardized experimental things",0,AV_OPT_TYPE_CONST,{.dbl=FF_COMPLIANCE_EXPERIMENTAL},INT_MIN,INT_MAX,V|D|E,"strict"},
{"very","strictly conform to a older more strict version of the spec or reference software",0,AV_OPT_TYPE_CONST,{.i64=FF_COMPLIANCE_VERY_STRICT},INT_MIN,INT_MAX,V|D|E,"strict"},
{"strict","strictly conform to all the things in the spec no matter what consequences",0,AV_OPT_TYPE_CONST,{.i64=FF_COMPLIANCE_STRICT},INT_MIN,INT_MAX,V|D|E,"strict"},
{"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"},
{"centered","Keep the mouse pointer at the center of grabbing region when following.",0,AV_OPT_TYPE_CONST,{-1},INT_MIN,INT_MAX,DEC,"follow_mouse"},
{"centered","Keep the mouse pointer at the center of grabbing region when following.",0,AV_OPT_TYPE_CONST,{.i64=-1},INT_MIN,INT_MAX,DEC,"follow_mouse"},
{"show_region","Show the grabbing region.",OFFSET(show_region),AV_OPT_TYPE_INT,{0},0,1,DEC},
{"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"},
{"rtphint","Add RTP hint tracks",0,AV_OPT_TYPE_CONST,{.dbl=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,{.dbl=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,{.dbl=FF_MOV_FLAG_FRAG_KEYFRAME},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"separate_moof","Write separate moof/mdat atoms for each track",0,AV_OPT_TYPE_CONST,{.dbl=FF_MOV_FLAG_SEPARATE_MOOF},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"frag_custom","Flush fragments on caller requests",0,AV_OPT_TYPE_CONST,{.dbl=FF_MOV_FLAG_FRAG_CUSTOM},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"isml","Create a live smooth streaming feed (for pushing to a publishing point)",0,AV_OPT_TYPE_CONST,{.dbl=FF_MOV_FLAG_ISML},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"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"},
{"separate_moof","Write separate moof/mdat atoms for each track",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_SEPARATE_MOOF},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"frag_custom","Flush fragments on caller requests",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_FRAG_CUSTOM},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"isml","Create a live smooth streaming feed (for pushing to a publishing point)",0,AV_OPT_TYPE_CONST,{.i64=FF_MOV_FLAG_ISML},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"movflags"},
{"nobuffer","reduce the latency introduced by optional buffering",0,AV_OPT_TYPE_CONST,{.i64=AVFMT_FLAG_NOBUFFER},0,INT_MAX,D,"fflags"},
{"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},
{"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"},
{"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"},
{"rtmp_pageurl","URL of the web page in which the media was embedded. By default no value will be sent.",OFFSET(pageurl),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC},
{"rtmp_playpath","Stream identifier to play or to publish",OFFSET(playpath),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC|ENC},
{"rtmp_subscribe","Name of live stream to subscribe to. Defaults to rtmp_playpath.",OFFSET(subscribe),AV_OPT_TYPE_STRING,{.str=NULL},0,0,DEC},
{"be","output in big-endian format (for use as s16be)",0,AV_OPT_TYPE_CONST,{.dbl=SPDIF_FLAG_BIGENDIAN},0,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"spdif_flags"},
{"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},