GstInterpipe - Buffer Forwarding
Open-source project from RidgeRun. |
This page contains a detailed description of the GstInterpipe Buffer Forwarding feature.
The main purpose of the GstInterpipe Project is to communicate buffers from one pipeline to another. This can be done in a safe way, without worrying about the states or events of any of the pipelines. To set an interpipesrc (listener) to listen to a specific interpipesink (node), all it is needed is to set the listen-to property. A NULL or empty listen-to will disconnect the listener from any node. The following tables summarize the properties involved in buffer transfer.
Property | ||
---|---|---|
Element | interpipesrc | |
Name | listen-to | |
Description | The name of the node to listen to | |
Special Values | NULL | Stop listening |
(empty) | Stop listening |
Property | |
---|---|
Element | interpipesink |
Name | name |
Description | The name of the node. It can only be set during construction |
Special Values |
The following figures, and their respective gst-launch pipelines illustrate this concept:
gst-launch-1.0 \ videotestsrc ! interpipesink name=camera \ interpipesrc listen-to="" ! fakesink
gst-launch-1.0 \ videotestsrc ! interpipesink name=camera \ interpipesrc listen-to="camera" ! fakesink