multiqueue + tee problems with gst-launch

Sebastian Dröge sebastian at centricular.com
Tue May 3 07:26:35 UTC 2016


On Mo, 2016-05-02 at 06:38 -0700, mariannasb wrote:
> 
> This won't link:
> gst-launch-1.0 fakesrc ! tee name=t ! multiqueue name=q t. ! q. q. !
> fakesink q. ! fakesink
> 
> 0:00:00.018359019  2475       0x695d80 ERROR                    tee
> gsttee.c:368:gst_tee_request_new_pad:<t> pad name src_%u is not
> unique
> 0:00:00.018563772  2475       0x695d80 ERROR           GST_PIPELINE
> grammar.y:617:gst_parse_perform_link: could not link t to q
> WARNING: erroneous pipeline: could not link t to q

This looks like a limitation of gst-launch. Link the pads by their
complete names, e.g. t.src_0 and q.src_0 / q.sink_0. Without that it's
also random which source pad and which sink pad are going together.

In general, at this point of pipeline complexity it is usually better
to write an actual application. gst-launch is only a debugging tool.

-- 
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: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160503/f795fca9/attachment.sig>


More information about the gstreamer-devel mailing list