add audio input to multiple video streams

About encoding, codec settings, muxers and filter usage
waster2007
Blank Cone
Blank Cone
Posts: 10
Joined: 18 Feb 2009 08:32

add audio input to multiple video streams

Postby waster2007 » 12 Nov 2012 11:04

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.

waster2007
Blank Cone
Blank Cone
Posts: 10
Joined: 18 Feb 2009 08:32

Re: add audio input to multiple video streams

Postby waster2007 » 12 Nov 2012 13:26

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?

waster2007
Blank Cone
Blank Cone
Posts: 10
Joined: 18 Feb 2009 08:32

Re: add audio input to multiple video streams

Postby waster2007 » 12 Nov 2012 18:23

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.


Return to “VLC stream-output (sout)”

Who is online

Users browsing this forum: No registered users and 7 guests