Hi!

Francesco Romani wrote:

* rework multiplexor in order to support trasparently one or two
multiplexor instance (think to y4m/wav pair, or pvn/wav or whatever).

The last one will become the only user-visible change. I plan to change
again the commandline interface, moving from

-y vid_enc[,aud_enc[,main_mplex[,aux_mplex]]] -o main_out -m aux_out -N
vid_fmt,aud_fmt

to

-y vid_enc[,aud_enc] -o main_mplex://main_out -m aux_mplex://aux_out -N
vid_fmt,aud_fmt

or maybe even

-y video://vid_enc,audio://aud_enc [the rest unchanged]

the key advantage is that the order is now variable because the prefix
specify the media type (video or audio), no longer the position. So, any
of the following will be legal:

-y video://vid_enc,audio://aud_enc
-y audio://aud_enc,video://vid_enc
-y video://vid_enc
-y audio://aud_enc

Again, I know changing the UI is annoying, but yet again I find the
advantages far more outstanding than the disadvantages.

All the above impacts roughly equally the core and the modules.

Why not to use just something like:

-y vid_enc -ya aud_enc -ym main_mplex -o main_out -yam aux_mplex -oa aux_out

--
WBR, Vadim Druzhin

Reply via email to