Merging pipelines

Tim Müller tim at centricular.com
Fri Jun 21 14:08:42 UTC 2019


On Fri, 2019-06-21 at 06:51 -0500, JPM wrote:

Hi,

> I have two pipelines with differents sources and sinks :
> 
> gst_parse_launch("source1 ..... sink1", &error)
> gst_parse_launch("source2 ..... sink2", &error)
> 
> Is it possible to merge both pipelines in only one gst_parse_launch()
> ?

You should be able to just pass a string like:

  "src1 ! .. ! sink1    src2 ! ... ! sink2"

Alternatively you could use gst_parse_bin_from_description() and then
put those two bins into the same pipeline.

Cheers
  Tim

-- 
Tim Müller, Centricular Ltd - http://www.centricular.com



More information about the gstreamer-devel mailing list