Passing data between different pipelines in different threads

Sebastian Dröge sebastian at centricular.com
Thu Dec 31 01:03:50 PST 2015


On Mi, 2015-12-30 at 22:44 -0600, Natanael Mojica wrote:
> what are  the best way to move data between three different
> pipelines?? For example.. I have 3 classes each one has a
> pipeline.the class capture(v4l2src, alsasrc) the class effect and
> encoding and the class output..so I can to create different instances
> and from de main application select which pipeline to use and connect
> them(passing data),
> I thought appsink and appsrc use, or fdsink and src, but what would
> be the most appropriate method?

Why do you want to split your processing into 3 different pipelines?

appsrc/appsink or the inter elements are possible options for this
though, but in many cases splitting a pipeline into multiple pipelines
(in the same process) does not have any advantages and only introduces
problems.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20151231/89fbf3d8/attachment-0001.sig>


More information about the gstreamer-devel mailing list