Does gstreamer have mechanism to start multiple thread automatically for one element?

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

Does gstreamer have mechanism to start multiple thread automatically for one element?

eschanti
This post was updated on .
Does gstreamer have mechanism to start multiple thread automatically for one
element?

Say we have following scenario:

Videosrc !  videoprocess (thread safe) ! videosink

when we have multi core cpu, we should be able to start multiple thread of
videoprocess to
act as computing pipeline,
I know we could do

Videosrc !  queue ! videoprocess (thread safe) ! queue ! videosink

to start separate thread for videoprocess, but only 1 in my environment,
I would like to know if it's possible to start multiple thread of
videoprocess automatically managed by gstreamer?

If yes, what's the possible cause prevent such scheduling happen?


Thanks!




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

Re: Does gstreamer have mechanism to start multiple thread automatically for one element?

Gst-Geek
escanti

Individual element can have multiple threads for processing. But those
should be managed by plugin or the processing dependency library.

Go though videoconvert for multithread implimentation.



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