[MPlayer-G2-dev] mencoder-g2 ?

Bobby Bingham bingham.21 at osu.edu
Thu Aug 7 04:29:43 CEST 2003


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().



More information about the MPlayer-G2-dev mailing list