Multistream support in gst-launch
neiljay at gmail.com
Wed May 23 02:51:27 PDT 2012
Ah I see what im doing wrong I need to name my element and use that
name for the 2nd stream eg:
gst-launch-0.10 filesrc ! decoder_and_mix name=mix ! sink filesrc ! mix.
On Wed, May 23, 2012 at 10:42 AM, Neil Jones <neiljay at gmail.com> wrote:
> I have given this a try, my decoder and mixer are a single component
> so my pipeline looks like:
> gst-launch-0.10 filesrc ! decoder_and_mix ! sink filesrc ! decoder_and_mix
> the syntax seems to work, but I get 2 seperate calls to the init and
> change_state functions as If gstreame rhas created 2 seprate
> decode_and_mix components, I would have only expected 1 call to both
> of these functions ?
> On Fri, May 18, 2012 at 12:58 PM, Luis de Bethencourt
> <luis at debethencourt.com> wrote:
>> 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.
>> On 17 May 2012 10:18, Neil Jones <neiljay at gmail.com> wrote:
>>> 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
>>> The component looks like:
>>> ____ ________ _____
>>> |____| |________| | |_____|
>>> | _____ _____
>>> ---|_____| |_____|
>>> ____ ________ | _____
>>> |____| |________| |_____|
>>> Cheers for the help,
>>> gstreamer-devel mailing list
>>> gstreamer-devel at lists.freedesktop.org
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
More information about the gstreamer-devel