how to start multiple threads of one plugin for upstream queued buffers?

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

how to start multiple threads of one plugin for upstream queued buffers?

eschanti
Hi,

Say we have following pipeline,

videosrc ! queue !  processplugin

How can processplugin created multiple thread for buffers in queue? Will
this be automatically done by gstreamer?

If not, how can achieve this in two different ways?

1. if we are the author of processplugin, how can query upstream queuing
buffers, and get each of them?
2. if we can only use it, how can we do it by write the pipeline, will there
some plugin to switch specific
    buffers to downstream?
    some thing like:
        videosrc ! queue !  map ... 1 --> processplugin -->  requeue -->
                                   .        .. 2 --> processplugin -->  

Thanks in advance.




--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to start multiple threads of one plugin for upstream queued buffers?

eschanti
Can anyone give any comments? Even if the question is not clear or
misunderstand some
common knowledge of Gstreamer?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: how to start multiple threads of one plugin for upstream queued buffers?

David Ing
Perhaps you want to create a "tee" element which allows you to send the same stream to multiple downstream elements.

On Sat, Sep 29, 2018, 4:12 PM eschanti <[hidden email]> wrote:
Can anyone give any comments? Even if the question is not clear or
misunderstand some
common knowledge of Gstreamer?



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel