Re: mencoder-g2 ?
Bobby Bingham <[email protected]>
| Newsgroups | gmane.comp.video.mplayer.g2.devel |
|---|---|
| Message-ID | <20030807022943.GB3442%[email protected]> |
On Wed, Aug 06, 2003 at 06:13:51PM -0400, Bobby Bingham wrote: > i don't know mplayer's command-line parsing system very well. is there > a way to have the video encoder specified with it's params as suboptions > like "-ovc lavc:codec=mpeg4:hq:pass=1". i think that's better than > having to add a new option (-lavcopts, -xvidencopts, etc) for every new > audio/video encoder. > > also, can the commandline parser also be used nicely on arbitrary > strings, such as those i'd read from a cfgfile used to define > multi-stream encoding? > ok, you can ignore that part - i RTFS ;) it looks like it's just as easy to parse from a file as from cmdline :). looks like for using encoder parameters like "-ovc lavc:codec=mpeg4:hq:pass=1", i just need to use a CONF_TYPE_STRING, find the right module_info_t, and send it, along with the rest of the string to mpconfig_parse_subconfig().