Page 1 of 1

add audio input to multiple video streams

Posted: 12 Nov 2012 11:04
by waster2007
Hello,

How can I add one audio input to multiple video outputs with the VLC.

I tried to use bridge-in and bridge-out but it seems that it can be used for one input and one video output (not multiple bridge-in's)

Input-slave also did not help.

So the general question is how to add one audio input to N video outputs?

Thanks.

Re: add audio input to multiple video streams

Posted: 12 Nov 2012 13:26
by waster2007
So I have audio input with:

Code: Select all

setup INPUT '#transcode{...}:duplicate{dst="bridge-out",select=audio,dst=...}'
And trying to use multiple bridge-in:

Code: Select all

setup CAM1 output '#transcode{...}:bridge-in:duplicate:{dst="std{...}", dst="..."}' setup CAM2 output '#transcode{...}:bridge-in:duplicate:{dst="std{...}", dst="..."}' setup CAM3 output '#transcode{...}:bridge-in:duplicate:{dst="std{...}", dst="..."}'
But I get video with audio only for one CAM1 or CAM2 or CAM3.

Is it true then that it's not possible to use multiple bridge-in?

Re: add audio input to multiple video streams

Posted: 12 Nov 2012 18:23
by waster2007
As always found solution myself...)

Found kind of "undocummented" parameters bridge-out{in-name=...} and bridge-in{name=...} so it's possible to create N audio bridge for N video outputs.