[MPlayer-G2-dev] Re: mencoder-g2 ?

Andriy N. Gritsenko andrej at lucky.net
Thu Aug 7 09:43:30 CEST 2003


    Hi, Bobby Bingham!

Sometime (on Thursday, August  7 at  1:25) I've received something...
>On Mon, Aug 04, 2003 at 11:56:18PM +0200, Fabian Franz wrote:
>> In my opinion a cfgfile-format would be nice ...

>> And then gui could create those cfgfile, whic hcan then be run in the 
>> background. Of course this cfg-file should be human-readable ...

>> But I think commandline does get so long and file is an nice solution to 
>> specify all rules needed for the whole process.

>that's probably best for complex encodes.  i'd like to also support a
>command-line similar to the current mencoder that for single audio/video
>stream encodes.

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

I would prefer for example to have in config file:

ovc:lavc = codec=mpeg4:hq
ovc:jpeg = quality=90
oac:mp3lame = aq=0

and then run mencoder with
mencoder -dvd -ovc lavc:vpass=1 -oac mp3lame:aq=9
mencoder -dvd -ovc lavc:vpass=2 -oac mp3lame

    If anyone will redo config/commandline parser then let me call
mencoder that way, please. ;)

>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?

>i also haven't looked closely at the muxing code from mencoder, but i
>seem to recall it sounding like a pain when the mpeg muxer was added
>(which doesn't always seem to work for me, but that's another story).
>is the current muxer code good/extensible enough?  it might also be nice
>to use the libavformat muxers from ffmpeg, which already does both avi
>and mpeg muxing AFAIK.

    Muxer code in G2 still didn't developed so I'm not sure if it's
working at all. I think I'll work on it later. Now I have too few time,
unfortunately.

    With best wishes.
    Andriy.



More information about the MPlayer-G2-dev mailing list