[MPlayer-dev-eng] Re: Some cleanup about mencoder.

Andriy N. Gritsenko andrej at lucky.net
Sat Jan 18 10:47:26 CET 2003


    Hi!

In addition to wrote by me on Saturday, January 18 at  1:47...
>>yes, NOW it's not possible to have more than one muxer, but the muxer
>>API was designe dto make it possible with a new generation mencoder.c later

>I understand your thought but can you say me for what you can use many
>muxers? To simultaneously encoded many files? I think it's not a Unix
>way, you can just start more of mencoder processes. Or to generate many
>different encodes of the same video/audio? Then you have to change your
>command line switches dramatically and no one could understand it in the
>future. (may be supply mencoder with 20lb manual? ;)

    If you anyway will want multiple output files (it means multiple
muxer instances because one muxer is for one and only one output file:
you cannot have two muxers for the same file, it's noncense), except
the case of splitting audio and video (it's another case - I think
it's still one file for mencoder but it means just writing to target
file by a special way) then you can add two functions to muxer.c:
void muxer_select(muxer_t*) and muxer_t *muxer_get(void) - it'll remove
extern variable muxer in muxer_*.c, btw. ;)
    But as I said before I cannot see any way when we'll want more than
one muxer.

    With best wishes.
    Andriy.


More information about the MPlayer-dev-eng mailing list