{"dsurex_mode","Dolby Surround EX Mode",OFFSET(dolby_surround_ex_mode),FF_OPT_TYPE_INT,{.dbl=AC3ENC_OPT_NONE},AC3ENC_OPT_NONE,AC3ENC_OPT_MODE_OFF,AC3ENC_PARAM,"dsurex_mode"},
{"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_OFF,AC3ENC_PARAM,"dsurex_mode"},
{"lpc_passes","Number of passes to use for Cholesky factorization during LPC analysis",offsetof(FlacEncodeContext,options.lpc_passes),FF_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,FLAGS},
{"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},
{"iblock","Sets the impulse block bias",offsetof(OggVorbisContext,iblock),FF_OPT_TYPE_DOUBLE,{.dbl=0},-15,0,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
{"iblock","Sets the impulse block bias",offsetof(OggVorbisContext,iblock),AV_OPT_TYPE_DOUBLE,{.dbl=0},-15,0,AV_OPT_FLAG_AUDIO_PARAM|AV_OPT_FLAG_ENCODING_PARAM},
{"structured_slices","Write slice start position at every GOB header instead of just GOB number.",OFFSET(h263_slice_structured),FF_OPT_TYPE_INT,{0},0,1,VE},
{"structured_slices","Write slice start position at every GOB header instead of just GOB number.",OFFSET(h263_slice_structured),AV_OPT_TYPE_INT,{0},0,1,VE},
{"structured_slices","Write slice start position at every GOB header instead of just GOB number.",OFFSET(h263_slice_structured),FF_OPT_TYPE_INT,{0},0,1,VE},
{"structured_slices","Write slice start position at every GOB header instead of just GOB number.",OFFSET(h263_slice_structured),AV_OPT_TYPE_INT,{0},0,1,VE},
{"global_header","place global headers in extradata instead of every keyframe",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_GLOBAL_HEADER},INT_MIN,INT_MAX,V|A|E,"flags"},
{"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,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_BITEXACT},INT_MIN,INT_MAX,A|V|S|D|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,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_AC_PRED},INT_MIN,INT_MAX,V|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"},
{"scan_offset","will reserve space for svcd scan offset user data",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_SVCD_SCAN_OFFSET},INT_MIN,INT_MAX,V|E,"flags"},
{"scan_offset","will reserve space for svcd scan offset user data",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG_SVCD_SCAN_OFFSET},INT_MIN,INT_MAX,V|E,"flags"},
{"local_header","place global headers at every keyframe instead of in extradata",0,FF_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,{.dbl=CODEC_FLAG2_LOCAL_HEADER},INT_MIN,INT_MAX,V|E,"flags2"},
{"showall","Show all frames before the first keyframe",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_SHOW_ALL},INT_MIN,INT_MAX,V|D,"flags2"},
{"showall","Show all frames before the first keyframe",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_SHOW_ALL},INT_MIN,INT_MAX,V|D,"flags2"},
{"direct_blocksize","direct-qpel-blocksize bug (autodetected per fourcc/version)",0,FF_OPT_TYPE_CONST,{.dbl=FF_BUG_DIRECT_BLOCKSIZE},INT_MIN,INT_MAX,V|D,"bug"},
{"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,FF_OPT_TYPE_CONST,{.dbl=FF_BUG_EDGE},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"},
{"lelim","single coefficient elimination threshold for luminance (negative values also consider dc coefficient)",OFFSET(luma_elim_threshold),FF_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,V|E},
{"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),FF_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},
{"strict","how strictly to follow the standards",OFFSET(strict_std_compliance),FF_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,A|V|D|E,"strict"},
{"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,FF_OPT_TYPE_CONST,{.dbl=FF_COMPLIANCE_VERY_STRICT},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,{.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,FF_OPT_TYPE_CONST,{.dbl=FF_COMPLIANCE_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"},
{"qsquish","how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function)",OFFSET(rc_qsquish),FF_OPT_TYPE_FLOAT,{.dbl=DEFAULT},0,99,V|E},
{"qsquish","how to keep quantizer between qmin and qmax (0 = clip, 1 = use differentiable function)",OFFSET(rc_qsquish),AV_OPT_TYPE_FLOAT,{.dbl=DEFAULT},0,99,V|E},
{"rc_init_occupancy","number of bits which should be loaded into the rc buffer before decoding starts",OFFSET(rc_initial_buffer_occupancy),FF_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,V|E},
{"rc_init_occupancy","number of bits which should be loaded into the rc buffer before decoding starts",OFFSET(rc_initial_buffer_occupancy),AV_OPT_TYPE_INT,{.dbl=DEFAULT},INT_MIN,INT_MAX,V|E},
{"border_mask","increases the quantizer for macroblocks close to borders",OFFSET(border_masking),FF_OPT_TYPE_FLOAT,{.dbl=DEFAULT},-FLT_MAX,FLT_MAX,V|E},
{"border_mask","increases the quantizer for macroblocks close to borders",OFFSET(border_masking),AV_OPT_TYPE_FLOAT,{.dbl=DEFAULT},-FLT_MAX,FLT_MAX,V|E},
{"bpyramid","allows B-frames to be used as references for predicting",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_BPYRAMID},INT_MIN,INT_MAX,V|E,"flags2"},
{"bpyramid","allows B-frames to be used as references for predicting",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_BPYRAMID},INT_MIN,INT_MAX,V|E,"flags2"},
{"wpred","weighted biprediction for b-frames (H.264)",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_WPRED},INT_MIN,INT_MAX,V|E,"flags2"},
{"wpred","weighted biprediction for b-frames (H.264)",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_WPRED},INT_MIN,INT_MAX,V|E,"flags2"},
{"mixed_refs","one reference per partition, as opposed to one reference per macroblock",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_MIXED_REFS},INT_MIN,INT_MAX,V|E,"flags2"},
{"mixed_refs","one reference per partition, as opposed to one reference per macroblock",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_MIXED_REFS},INT_MIN,INT_MAX,V|E,"flags2"},
{"lpc_coeff_precision","deprecated, use flac-specific options",OFFSET(lpc_coeff_precision),FF_OPT_TYPE_INT,{.dbl=DEFAULT},0,INT_MAX,A|E},
{"lpc_coeff_precision","deprecated, use flac-specific options",OFFSET(lpc_coeff_precision),AV_OPT_TYPE_INT,{.dbl=DEFAULT},0,INT_MAX,A|E},
{"prediction_order_method","deprecated, use flac-specific options",OFFSET(prediction_order_method),FF_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,A|E},
{"prediction_order_method","deprecated, use flac-specific options",OFFSET(prediction_order_method),AV_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,A|E},
{"min_partition_order","deprecated, use flac-specific options",OFFSET(min_partition_order),FF_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,A|E},
{"min_partition_order","deprecated, use flac-specific options",OFFSET(min_partition_order),AV_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,A|E},
{"max_partition_order","deprecated, use flac-specific options",OFFSET(max_partition_order),FF_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,A|E},
{"max_partition_order","deprecated, use flac-specific options",OFFSET(max_partition_order),AV_OPT_TYPE_INT,{.dbl=-1},INT_MIN,INT_MAX,A|E},
#endif
#endif
{"timecode_frame_start","GOP timecode frame start number, in non drop frame format",OFFSET(timecode_frame_start),FF_OPT_TYPE_INT64,{.dbl=0},0,INT64_MAX,V|E},
{"timecode_frame_start","GOP timecode frame start number, in non drop frame format",OFFSET(timecode_frame_start),AV_OPT_TYPE_INT64,{.dbl=0},0,INT64_MAX,V|E},
{"aq_mode","specify aq method",OFFSET(aq_mode),FF_OPT_TYPE_INT,{.dbl=-1},-1,INT_MAX,V|E},
{"aq_mode","specify aq method",OFFSET(aq_mode),AV_OPT_TYPE_INT,{.dbl=-1},-1,INT_MAX,V|E},
{"aq_strength","specify aq strength",OFFSET(aq_strength),FF_OPT_TYPE_FLOAT,{.dbl=-1.0},-1,FLT_MAX,V|E},
{"aq_strength","specify aq strength",OFFSET(aq_strength),AV_OPT_TYPE_FLOAT,{.dbl=-1.0},-1,FLT_MAX,V|E},
{"rc_lookahead","specify number of frames to look ahead for frametype",OFFSET(rc_lookahead),FF_OPT_TYPE_INT,{.dbl=40},-1,INT_MAX,V|E},
{"rc_lookahead","specify number of frames to look ahead for frametype",OFFSET(rc_lookahead),AV_OPT_TYPE_INT,{.dbl=40},-1,INT_MAX,V|E},
{"ssim","ssim will be calculated during encoding",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_SSIM},INT_MIN,INT_MAX,V|E,"flags2"},
{"ssim","ssim will be calculated during encoding",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_SSIM},INT_MIN,INT_MAX,V|E,"flags2"},
{"intra_refresh","use periodic insertion of intra blocks instead of keyframes",0,FF_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_INTRA_REFRESH},INT_MIN,INT_MAX,V|E,"flags2"},
{"intra_refresh","use periodic insertion of intra blocks instead of keyframes",0,AV_OPT_TYPE_CONST,{.dbl=CODEC_FLAG2_INTRA_REFRESH},INT_MIN,INT_MAX,V|E,"flags2"},
{"crf_max","in crf mode, prevents vbv from lowering quality beyond this point",OFFSET(crf_max),FF_OPT_TYPE_FLOAT,{.dbl=DEFAULT},0,51,V|E},
{"crf_max","in crf mode, prevents vbv from lowering quality beyond this point",OFFSET(crf_max),AV_OPT_TYPE_FLOAT,{.dbl=DEFAULT},0,51,V|E},
#endif
#endif
{"log_level_offset","set the log level offset",OFFSET(log_level_offset),FF_OPT_TYPE_INT,{.dbl=0},INT_MIN,INT_MAX},
{"log_level_offset","set the log level offset",OFFSET(log_level_offset),AV_OPT_TYPE_INT,{.dbl=0},INT_MIN,INT_MAX},
#if FF_API_FLAC_GLOBAL_OPTS
#if FF_API_FLAC_GLOBAL_OPTS
{"lpc_type","deprecated, use flac-specific options",OFFSET(lpc_type),FF_OPT_TYPE_INT,{.dbl=AV_LPC_TYPE_DEFAULT},AV_LPC_TYPE_DEFAULT,AV_LPC_TYPE_NB-1,A|E},
{"lpc_type","deprecated, use flac-specific options",OFFSET(lpc_type),AV_OPT_TYPE_INT,{.dbl=AV_LPC_TYPE_DEFAULT},AV_LPC_TYPE_DEFAULT,AV_LPC_TYPE_NB-1,A|E},
{"audio_service_type","audio service type",OFFSET(audio_service_type),FF_OPT_TYPE_INT,{.dbl=AV_AUDIO_SERVICE_TYPE_MAIN},0,AV_AUDIO_SERVICE_TYPE_NB-1,A|E,"audio_service_type"},
{"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"},
{"request_sample_fmt","sample format audio decoders should prefer",OFFSET(request_sample_fmt),FF_OPT_TYPE_INT,{.dbl=AV_SAMPLE_FMT_NONE},AV_SAMPLE_FMT_NONE,AV_SAMPLE_FMT_NB-1,A|D,"request_sample_fmt"},
{"request_sample_fmt","sample format audio decoders should prefer",OFFSET(request_sample_fmt),AV_OPT_TYPE_INT,{.dbl=AV_SAMPLE_FMT_NONE},AV_SAMPLE_FMT_NONE,AV_SAMPLE_FMT_NB-1,A|D,"request_sample_fmt"},
{"basetime","set base time",OFFSET(basetime),FF_OPT_TYPE_INT64,{.dbl=AV_NOPTS_VALUE},INT64_MIN,INT64_MAX},
{"basetime","set base time",OFFSET(basetime),AV_OPT_TYPE_INT64,{.dbl=AV_NOPTS_VALUE},INT64_MIN,INT64_MAX},
/* FT_LOAD_* flags */
/* FT_LOAD_* flags */
{"ft_load_flags","set font loading flags for libfreetype",OFFSET(ft_load_flags),FF_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,{.dbl=FT_LOAD_DEFAULT|FT_LOAD_RENDER},0,INT_MAX,0,"ft_load_flags"},
{"rtphint","add rtp hinting (deprecated, use the -movflags rtphint option instead)",0,FF_OPT_TYPE_CONST,{.dbl=AVFMT_FLAG_RTP_HINT},INT_MIN,INT_MAX,E,"fflags"},
{"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"},
{"analyzeduration","how many microseconds are analyzed to estimate duration",OFFSET(max_analyze_duration),FF_OPT_TYPE_INT,{.dbl=5*AV_TIME_BASE},0,INT_MAX,D},
{"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),FF_OPT_TYPE_INT,{.dbl=1<<20},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),FF_OPT_TYPE_INT,{.dbl=3041280},0,INT_MAX,D},/* defaults to 1s of 15fps 352x288 YUYV422 video */
{"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),FF_OPT_TYPE_FLAGS,{.dbl=DEFAULT},0,INT_MAX,E|D,"fdebug"},
{"fdebug","print specific debug info",OFFSET(debug),AV_OPT_TYPE_FLAGS,{.dbl=DEFAULT},0,INT_MAX,E|D,"fdebug"},
{"latm","Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC",0,FF_OPT_TYPE_CONST,{.dbl=FF_RTP_FLAG_MP4A_LATM},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"rtpflags"} \
{"latm","Use MP4A-LATM packetization instead of MPEG4-GENERIC for AAC",0,AV_OPT_TYPE_CONST,{.dbl=FF_RTP_FLAG_MP4A_LATM},INT_MIN,INT_MAX,AV_OPT_FLAG_ENCODING_PARAM,"rtpflags"} \
@ -389,7 +389,7 @@ static int rtsp_read_close(AVFormatContext *s)
}
}
staticconstAVOptionoptions[]={
staticconstAVOptionoptions[]={
{"initial_pause","Don't start playing the stream immediately",offsetof(RTSPState,initial_pause),FF_OPT_TYPE_INT,{.dbl=0},0,1,AV_OPT_FLAG_DECODING_PARAM},
{"initial_pause","Don't start playing the stream immediately",offsetof(RTSPState,initial_pause),AV_OPT_TYPE_INT,{.dbl=0},0,1,AV_OPT_FLAG_DECODING_PARAM},
{"be","output in big-endian format (for use as s16be)",0,FF_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,{.dbl=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),FF_OPT_TYPE_INT,{.dbl=0},0,768000,AV_OPT_FLAG_ENCODING_PARAM},
{"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),FF_OPT_TYPE_INT,{.dbl=60},-1,INT_MAX,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},