[vlc-devel] [PATCH] sout: allow duplicate outputs to be merged

Rafaël Carré rafael.carre at gmail.com
Fri Jan 15 00:12:42 CET 2010

Le 14/01/10 20:00, Rémi Denis-Courmont a écrit :
> Le jeudi 14 janvier 2010 10:46:53 Rafaël Carré, vous avez écrit :
>> I need a way to specify different transcoding settings (especially no
>> encoding at all if the stream is already in the desired codec) on an
>> input with multiple audio tracks.
>> I use duplicate to select each ES and apply the desired settings, and
>> with this patch I can merge the output of each stream_out module into
>> one (std which will mux all the ES together).
> I don't really understand the rationale, but the code looks fine to me.

Basically you can do:

input -> duplicate -> stream_out_module1
              \-----> stream_out_module2

So you have 2 separate streams at output

and with this patch you can do:

input -> duplicate -> stream_out_module1 ----> stream_out_module3
              \-----> stream_out_module2 ---/

So you have 1 stream at output.

This lets you transport each ES of your input in a different sout chain
and mux them back together.

Rafaël Carré

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 267 bytes
Desc: OpenPGP digital signature
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100115/c1c54e17/attachment.sig>

More information about the vlc-devel mailing list