comparison cfg-mencoder.h @ 8585:27da710563c2

the long-waited MUXER layer, and new MPEG-PS muxer patch by Andriy N. Gritsenko <andrej@lucky.net>
author arpi
date Fri, 27 Dec 2002 22:43:20 +0000
parents 186d3ee01012
children d3b750570887
comparison
equal deleted inserted replaced
8584:2d4328af7ea9 8585:27da710563c2
127 " comment - general comments about the file or the subject of the file\n" 127 " comment - general comments about the file or the subject of the file\n"
128 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 128 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
129 {NULL, NULL, 0, 0, 0, 0, NULL} 129 {NULL, NULL, 0, 0, 0, 0, NULL}
130 }; 130 };
131 131
132 struct config of_conf[]={
133 {"avi", &out_file_format, CONF_TYPE_FLAG, 0, 0, MUXER_TYPE_AVI, NULL},
134 {"mpeg", &out_file_format, CONF_TYPE_FLAG, 0, 0, MUXER_TYPE_MPEG, NULL},
135 {"help", "\nAvailable output formats:\n"
136 " avi - Microsoft Audio/Video Interleaved\n"
137 " mpeg - MPEG-1 system stream format\n"
138 "\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
139 {NULL, NULL, 0, 0, 0, 0, NULL}
140 };
141
132 static config_t mencoder_opts[]={ 142 static config_t mencoder_opts[]={
133 /* name, pointer, type, flags, min, max */ 143 /* name, pointer, type, flags, min, max */
134 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */ 144 {"include", cfg_include, CONF_TYPE_FUNC_PARAM, CONF_NOSAVE, 0, 0, NULL}, /* this must be the first!!! */
135 145
136 {"endpos", parse_end_at, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL}, 146 {"endpos", parse_end_at, CONF_TYPE_FUNC_PARAM, 0, 0, 0, NULL},
153 {"xsize", "This option is obsolete, use -vop crop=w:h:x0:y0 for cropping\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 163 {"xsize", "This option is obsolete, use -vop crop=w:h:x0:y0 for cropping\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},
154 164
155 // output audio/video codec selection 165 // output audio/video codec selection
156 {"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, 166 {"oac", oac_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
157 {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL}, 167 {"ovc", ovc_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
168
169 // output file format
170 {"of", of_conf, CONF_TYPE_SUBCONFIG, 0, 0, 0, NULL},
158 171
159 // override FOURCC in output file 172 // override FOURCC in output file
160 {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4, NULL}, 173 {"ffourcc", &force_fourcc, CONF_TYPE_STRING, 0, 4, 4, NULL},
161 174
162 {"pass", "The -pass option is obsolete. Use -lavcopts vpass=n or -divx4opts pass=n!\nRTFM!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL}, 175 {"pass", "The -pass option is obsolete. Use -lavcopts vpass=n or -divx4opts pass=n!\nRTFM!\n", CONF_TYPE_PRINT, CONF_NOCFG, 0, 0, NULL},