![]() |
![]() |
![]() |
GStreamer Bad Plugins 1.0 Plugins Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
GObject +----GInitiallyUnowned +----GstObject +----GstElement +----GstAggregator +----GstAudioAggregator +----GstAudioMixer +----GstLiveAdder
"alignment-threshold" guint64 : Read / Write "caps" GstCaps* : Read / Write "discont-wait" guint64 : Read / Write "blocksize" guint : Read / Write "output-buffer-duration" guint64 : Read / Write
The audiomixer allows to mix several streams into one by adding the data. Mixed data is clamped to the min/max values of the data format.
Unlike the adder element audiomixer properly synchronises all input streams.
The input pads are from a GstPad subclass and have additional properties to mute each pad individually and set the volume:
1 |
gst-launch-1.0 audiotestsrc freq=100 ! audiomixer name=mix ! audioconvert ! alsasink audiotestsrc freq=500 ! mix. |
plugin |
audiomixer |
author |
Sebastian Dröge <sebastian@centricular.com> |
class |
Generic/Audio |
name |
sink_%u |
direction |
sink |
presence |
request |
details |
audio/x-raw, format=(string){ S32LE, U32LE, S16LE, U16LE, S8, U8, F32LE, F64LE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved } |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-raw, format=(string){ S32LE, U32LE, S16LE, U16LE, S8, U8, F32LE, F64LE }, rate=(int)[ 1, 2147483647 ], channels=(int)[ 1, 2147483647 ], layout=(string){ interleaved, non-interleaved } |
"alignment-threshold"
property "alignment-threshold" guint64 : Read / Write
Timestamp alignment threshold in nanoseconds.
Allowed values: <= 18446744073709551614
Default value: 40000000
"caps"
property "caps" GstCaps* : Read / Write
Set target format for mixing (NULL means ANY). Setting this property takes a reference to the supplied GstCaps object.
"discont-wait"
property "discont-wait" guint64 : Read / Write
Window of time in nanoseconds to wait before creating a discontinuity.
Allowed values: <= 18446744073709551614
Default value: 1000000000
"blocksize"
property "blocksize" guint : Read / Write
Output block size in number of samples.
Default value: 1024