comparison cfg-mencoder.h @ 5974:4396ead317d3

re-ordering options, add comemnts
author arpi
date Sat, 04 May 2002 21:26:45 +0000
parents 30eea1bd1b64
children b34f4ef001f0
comparison
equal deleted inserted replaced
5973:796510223658 5974:4396ead317d3
90 static config_t mencoder_opts[]={ 90 static config_t mencoder_opts[]={
91 /* name, pointer, type, flags, min, max */ 91 /* name, pointer, type, flags, min, max */
92 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */ 92 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */
93 93
94 {"endpos", parse_end_at, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL}, 94 {"endpos", parse_end_at, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL},
95 95
96 // set output framerate - recommended for variable fps (.asf etc) files
97 // and for 29.97fps progressive mpeg2 streams
96 {"ofps", &force_ofps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0, NULL}, 98 {"ofps", &force_ofps, CONF_TYPE_FLOAT, CONF_MIN, 0, 0, NULL},
97 {"o", &out_filename, CONF_TYPE_STRING, 0, 0, 0, NULL}, 99 {"o", &out_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
98 100
101 // limit number of skippable frames after a non-skipped one
99 {"skiplimit", &skip_limit, CONF_TYPE_INT, 0, 0, 0, NULL}, 102 {"skiplimit", &skip_limit, CONF_TYPE_INT, 0, 0, 0, NULL},
100 {"noskiplimit", &skip_limit, CONF_TYPE_FLAG, 0, 0, -1, NULL}, 103 {"noskiplimit", &skip_limit, CONF_TYPE_FLAG, 0, 0, -1, NULL},
101 {"noskip", &skip_limit, CONF_TYPE_FLAG, 0, 0, 0, NULL}, 104 {"noskip", &skip_limit, CONF_TYPE_FLAG, 0, 0, 0, NULL},
102 105
103 {"x", "This option is obsolete, use -vop scale=w:h for scaling\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 106 {"x", "This option is obsolete, use -vop scale=w:h for scaling\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
104
105 {"xsize", "This option is obsolete, use -vop crop=w:h:x0:y0 for cropping\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 107 {"xsize", "This option is obsolete, use -vop crop=w:h:x0:y0 for cropping\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
106 108
107 {"mp3file", &mp3_filename, CONF_TYPE_STRING, 0, 0, 0, NULL}, 109 // outut audio/video codec selection
108 {"ac3file", &ac3_filename, CONF_TYPE_STRING, 0, 0, 0, NULL},
109
110 // {"oac", &out_audio_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
111 // {"ovc", &out_video_codec, CONF_TYPE_STRING, 0, 0, 0, NULL},
112 {"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, 110 {"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
113 {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, 111 {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
114 112
113 // override FOURCC in output file
115 {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4, NULL}, 114 {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4, NULL},
116 115
117 {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2, NULL}, 116 {"pass", &pass, CONF_TYPE_INT, CONF_RANGE,0,2, NULL},
118 {"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0, NULL}, 117 {"passlogfile", &passtmpfile, CONF_TYPE_STRING, 0, 0, 0, NULL},
119 118