Multistream support in gst-launch

Luis de Bethencourt luis at debethencourt.com
Fri May 18 04:58:58 PDT 2012


so something like:

gst-launch-0.10 filesrc  ! decoder ! mixer name=mix ! sink  filesrc !
decoder ! mix.

notice the lack of "!" between sink and second filesrc, equivalent to:

gst-launch-0.10 filesrc  ! decoder ! mixer name=mix ! sink \
filesrc ! decoder ! mix.

Luis

On 17 May 2012 10:18, Neil Jones <neiljay at gmail.com> wrote:
> Hi,
>
> Could someone explain how to describe multi path streams in gst-launch syntax,
> I want to test a multi-stream (hardware) audio decoder with an inbuilt mixer,
> the gst  component has 2 input pads and 3 outputs pads.
>
> There are 2 scenarios I want to test:
>
> 1) connect 2 filesrc’s to the input pads (0 & 1) and alsasink to the
> mixed output pad (pad1)
>
> 2) connect 2 filesrc’s to the input pad (0 & 1), alsa sink to the
> mixed output pad (pad 1) and 2 filesinks to the other 2 pads (0 and
> 1).
>
> The component looks like:
>
>  ____       ________                 _____
> |SRC0|_____|Decoder0|_______________|SINK0|
> |____|     |________|  |            |_____|
>                       |   _____     _____
>                       ---|MIXER|___|SINK1|
>                       ---|_____|   |_____|
>  ____       ________   |             _____
> |SRC1|_____|Decoder1|__|____________|SINK2|
> |____|     |________|               |_____|
>
>
> Cheers for the help,
>
> Neil
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list