celtdec

celtdec — decode celt streams to audio

Synopsis

struct              GstCeltDec;

Description

This element decodes a CELT stream to raw integer audio.

Example pipelines

1
gst-launch -v filesrc location=celt.ogg ! oggdemux ! celtdec ! audioconvert ! audioresample ! alsasink
Decode an Ogg/Celt file. To create an Ogg/Celt file refer to the documentation of celtenc.

Synopsis

Element Information

plugin

celt

author

Sebastian Dröge <sebastian.droege@collabora.co.uk>

class

Codec/Decoder/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-celt

name

src

direction

source

presence

always

details

audio/x-raw-int, rate=(int)[ 32000, 64000 ], channels=(int)[ 1, 2 ], endianness=(int)1234, signed=(boolean)true, width=(int)16, depth=(int)16

Details

struct GstCeltDec

struct GstCeltDec {
  GstElement            element;

  /* pads */
  GstPad                *sinkpad;
  GstPad                *srcpad;

  CELTDecoder          *state;
  CELTMode             *mode;
  CELTHeader            header;

  gint                  frame_size;
  GstClockTime          frame_duration;
  guint64               packetno;

  GstSegment            segment;    /* STREAM LOCK */
  gint64                granulepos; /* -1 = needs to be set from current time */
  gboolean              discont;
};

See Also

celtenc, oggdemux