| GStreamer Bad Plugins 1.0 Plugins Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
struct GstOpenalSrc; struct GstOpencvTextOverlay; struct GstOpusDec; struct GstOpusEnc; struct GstOpusParse;
plugin |
opus |
author |
Vincent Penquerc'h <vincent.penquerch@collabora.co.uk> |
class |
Codec/Parser/Audio |
struct GstOpencvTextOverlay {
GstElement element;
GstPad *sinkpad, *srcpad;
IplImage *cvImage;
CvFont font;
gint xpos;
gint ypos;
gint thickness;
gint colorR,colorG,colorB;
gdouble height;
gdouble width;
gchar *textbuf;
};
struct GstOpusDec {
GstAudioDecoder element;
OpusMSDecoder *state;
guint64 packetno;
GstBuffer *streamheader;
GstBuffer *vorbiscomment;
int sample_rate;
int n_channels;
guint32 pre_skip;
gint16 r128_gain;
GstAudioChannelPosition opus_pos[64];
GstAudioInfo info;
guint8 n_streams;
guint8 n_stereo_streams;
guint8 channel_mapping_family;
guint8 channel_mapping[256];
gboolean apply_gain;
double r128_gain_volume;
gboolean use_inband_fec;
GstBuffer *last_buffer;
gboolean primed;
guint64 leftover_plc_duration;
};
struct GstOpusEnc {
GstAudioEncoder element;
OpusMSEncoder *state;
/* Locks those properties which may be changed at play time */
GMutex property_lock;
/* properties */
gint audio_type;
gint bitrate;
gint bandwidth;
gint frame_size;
GstOpusEncBitrateType bitrate_type;
gint complexity;
gboolean inband_fec;
gboolean dtx;
gint packet_loss_percentage;
guint max_payload_size;
gint frame_samples;
gint n_channels;
gint sample_rate;
guint64 encoded_samples;
guint8 channel_mapping_family;
guint8 encoding_channel_mapping[256];
guint8 decoding_channel_mapping[256];
guint8 n_stereo_streams;
};