[vlc-devel] Bridge sout module (was Re: vlc: svn commit r10417 (massiot))
Christophe Massiot
massiot at via.ecp.fr
Wed Mar 23 19:44:53 CET 2005
On Wed, Mar 23, 2005, Subversion daemon wrote:
> r10417 | massiot | 2005-03-23 19:39:46 +0100 (Wed, 23 Mar 2005) | 3 lines
> Changed paths:
> M /trunk/configure.ac
> M /trunk/modules/stream_out/Modules.am
> A /trunk/modules/stream_out/bridge.c
>
> * modules/stream_out/bridge.c: New bridge-in/bridge-out modules to bridge
> ES packets between different inputs.
Here is an example vlm.conf :
---
new chan1 broadcast enabled
setup chan1 input rtp:@239.255.0.1:3001
setup chan1 output #duplicate{dst=display,select=video,dst=bridge-out,select=audio}
setup chan1 option picture-id=1
setup chan1 option sout-bridge-out-id=1
new chan2 broadcast enabled
setup chan2 input rtp:@239.255.0.2:3001
setup chan2 output #duplicate{dst=display,select=video,dst=bridge-out,select=audio}
setup chan2 option picture-id=2
setup chan2 option sout-bridge-out-id=2
new bg broadcast enabled
setup bg input rtp:@239.255.0.250:3001
setup bg output #transcode:bridge-in:std
setup bg option ts-es-id-pid
setup bg option sout-transcode-vcodec=mpgv
setup bg option sout-transcode-vb=20000
setup bg option sout-transcode-sfilter=mosaic
setup bg option sout-transcode-soverlay=1
setup bg option sout-bridge-in-delay=200
setup bg option sout-bridge-in-id-offset=1000
setup bg option sout-standard-access=rtp
setup bg option sout-standard-mux=ts
setup bg option sout-standard-url=239.255.0.251:3001
setup bg option sout-ts-es-id-pid
---
This will output video on the PID than in 239.255.0.250, and two audio
ES on PIDs 1001 and 1002 (bridge-in's offset + bridge-out's id). The
video will contain the two subpictures.
Beware, sout-ts-es-id-pid has no effect on PMT (cause they aren't ES).
--
Christophe Massiot.
--
This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
More information about the vlc-devel
mailing list