[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gstreamer-devel
Subject:    issue in order of creation in dynamic pipeline
From:       Jack <jack () rybn ! org>
Date:       2019-09-30 14:07:01
Message-ID: 639d12d5-dbb2-b73c-b0aa-22f11d0a5caf () rybn ! org
[Download RAW message or body]

Hello,

I use Python but I will use here the command line representation of the
pipeline to symplify.

First, I create this pipeline :

audiotestsrc ! audioconvert !
audio/x-raw,channels=2,depth=16,format=S16LE ! queue ! adder ! tee !
queue ! fakesink

I pass this pipeline in the playing state and it is OK.


Then I create three Bins in *this* order :

ghostpad ! queue ! audioconvert ! audioresample ! pulsesink
(this bin is connected to the tee)

uridecodebin uri=http... ! audioconvert ! audioresample ! queue ! ghostpad
(this bin is connected to the adder)

pulsesrc ! audioconvert ! audioresample ! queue ! ghostpad
(this bin is coonected to the adder)

and everything is OK too, I can listen the stream from a remote server
and the audio from my sound card.


Now, if I switch the creation of the two last bins like this :

ghostpad ! queue ! audioconvert ! audioresample ! pulsesink
(this bin is connected to the tee)

pulsesrc ! audioconvert ! audioresample ! queue ! ghostpad
(this bin is coonected to the adder)

uridecodebin uri=http... ! audioconvert ! audioresample ! queue ! ghostpad
(this bin is connected to the adder)

The pipeline stops immediately after adding the last bin, and there is
no more sound.

I am sure that expert people know exactly why and I would appreciate
very much if they could tell me why ?
Best!
++

Jack

_______________________________________________
gstreamer-devel mailing list
gstreamer-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic