[MPlayer-dev-eng] Re: RFD: -ovcopts/-oacopts
Andriy N. Gritsenko
andrej at lucky.net
Mon Mar 10 12:02:55 CET 2003
Hi, Ivan Kalvachev!
Sometime (on Monday, March 10 at 12:06) I've received something...
>Andriy N. Gritsenko said:
>> I want to propose replace all -divx4opts -lameopts -lavcopts -vfwopts
>> and -xvidencopts with -oacopts or -ovcopts. Then you can set config table
>> on codec init. Goals:
>> 1) you would get list/params of all codec options via '-ovcopts help';
>> 2) you would accept changes from codec init function (for example, from
>> encoder/videoeditor GUI);
>> 3) unification/simplification;
>> 4) no extern struct 's in cfg-mencoder.h;
>> 5) more easy adding new codecs.
>Good idea.
>I was thinking of something else - to add option after -ovc and -oac just
>like the -vo driver:suboptions
>e.g.
> mencoder -ovc lavc:vcodec=mpeg4:vqscale=2:vhq -oac copy ....
>and want help this way
> mencoder -ovc lavc:help
I thought that way too but it may be too coplex to parse so I've
proposed to put it in separated option.
In addition to above... To be consistent we have to add new config
type CONF_TYPE_CHOOSE with "help" listing parameter and special meaning
of struct config for it. It will replace ovc_conf[], oac_conf[], and
of_conf[], and -ovcopts vcodec=... as well. :)
With best wishes.
Andriy.
More information about the MPlayer-dev-eng
mailing list