typedef struct AVOutputFormat {
const char *name;
/**
* 格式人性化描述名称
* Descriptive name for the format, meant to be more human-readable
* than name. You should use the NULL_IF_CONFIG_SMALL() macro
* to define it.
*/
const char *long_name;
//媒体格式mime类型描述
const char *mime_type;
const char *extensions; /**< comma-separated filename extensions */
/* output support */
//音频解码器id
enum AVCodecID audio_codec; /**< default audio codec */
//视频解码器id
enum AVCodecID video_codec; /**< default video codec */
//字母编码器
enum AVCodecID subtitle_codec; /**< default subtitle codec */
/**
* can use flags: AVFMT_NOFILE, AVFMT_NEEDNUMBER,
* AVFMT_GLOBALHEADER, AVFMT_NOTIMESTAMPS, AVFMT_VARIABLE_FPS,
* AVFMT_NODIMENSIONS, AVFMT_NOSTREAMS, AVFMT_ALLOW_FLUSH,
* AVFMT_TS_NONSTRICT, AVFMT_TS_NEGATIVE
*/
int flags;
/**
* 一个支持codec_id-codec_tag匹配的列表,按最佳匹配的先后顺序排列,以AV_CODEC_ID_NONE结束。
* List of s