Module for multiplexing (mux) and demultiplexing (demux) elements
| framecpp_channel_demux |
( |
| pipeline, |
|
|
| src, |
|
|
** | properties ) |
Demux src using framecpp
Args:
pipeline:
Gst.Pipeline, the pipeline to which the new element will be added
src:
Gst.Element, the source element
**properties:
dict, keyword arguments to be set as element properties
References:
[1] framecppdemux implementation: gstlal/gstlal-ugly/gst/framecpp/framecpp_channeldemux.cc
Returns:
Element, src demuxed using framecpp
Definition at line 140 of file mux.py.
| framecpp_channel_mux |
( |
| pipeline, |
|
|
| channel_src_map, |
|
|
| units = None, |
|
|
| seglists = None, |
|
|
** | properties ) |
Mux a source using framecpp
Args:
pipeline:
Gst.Pipeline, the pipeline to which the new element will be added
channel_src_map:
dict, mapping a channel -> src element
units:
str, default None, if given set these units on source
seglists:
default None, if given create a segments handler for these segments
**properties:
Returns:
Element, the muxed sources
Definition at line 160 of file mux.py.
| framecpp_channel_mux_from_list |
( |
| pipeline, |
|
|
* | srcs, |
|
|
| channels = None, |
|
|
** | properties ) |
Mux a source using framecpp
NOTE: This acts similarly to framecpp_channel_mux with a different function
signature to map channels to sources.
Args:
pipeline:
Gst.Pipeline, the pipeline to which the new element will be added
*srcs:
Gst.Element, the source elements
channels:
Union[str, Iterable], default None, the channels mapping to sources
seglists:
default None, if given create a segments handler for these segments
**properties:
Returns:
Element, the muxed sources
Definition at line 197 of file mux.py.