* Subtitles character encoding mode. Formats or codecs might be adjusting
* this setting (if they are doing the conversion themselves for instance).
* - decoding: set by libavcodec
* - encoding: unused
*/
intsub_charenc_mode;
#define FF_SUB_CHARENC_MODE_DO_NOTHING -1 ///< do nothing (demuxer outputs a stream supposed to be already in UTF-8, or the codec is bitmap for instance)
#define FF_SUB_CHARENC_MODE_AUTOMATIC 0 ///< libavcodec will select the mode itself
#define FF_SUB_CHARENC_MODE_PRE_DECODER 1 ///< the AVPacket data needs to be recoded to UTF-8 before being fed to the decoder, requires iconv
{"request_sample_fmt","sample format audio decoders should prefer",OFFSET(request_sample_fmt),AV_OPT_TYPE_SAMPLE_FMT,{.i64=AV_SAMPLE_FMT_NONE},-1,AV_SAMPLE_FMT_NB-1,A|D,"request_sample_fmt"},
{"sub_charenc","set input text subtitles character encoding",OFFSET(sub_charenc),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,S|D},
{"sub_charenc_mode","set input text subtitles character encoding mode",OFFSET(sub_charenc_mode),AV_OPT_TYPE_FLAGS,{.i64=FF_SUB_CHARENC_MODE_AUTOMATIC},-1,INT_MAX,S|D,"sub_charenc_mode"},