Discussion:
Does gstreamer has mechanism to start multiple thread automatically for one element?
eschanti
2018-11-16 10:57:12 UTC
Permalink
Does gstreamer has 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/
ShilVin
2018-11-21 11:12:54 UTC
Permalink
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/

Loading...