dtsdec

dtsdec — Decodes DTS audio streams

Synopsis

                    GstDtsDec;

Properties

  "drc"                      gboolean              : Read / Write

Description

Digital Theatre System (DTS) audio decoder

Example launch line

gst-launch dvdreadsrc title=1 ! mpegpsdemux ! dtsdec ! audioresample ! audioconvert ! alsasink
Play a DTS audio track from a dvd.
gst-launch filesrc location=abc.dts ! dtsdec ! audioresample ! audioconvert ! alsasink
Decode a standalone file and play it.

Synopsis

Element Information

plugin

dtsdec

author

Jan Schmidt <thaytan@noraisin.net>, Ronald Bultje <rbultje@ronald.bitfreak.net>

class

Codec/Decoder/Audio

Element Pads

name

src

direction

source

presence

always

details

audio/x-raw-float, endianness=(int)1234, width=(int)32, rate=(int)[ 4000, 96000 ], channels=(int)[ 1, 6 ]

name

sink

direction

sink

presence

always

details

audio/x-dts

audio/x-private1-dts

Details

GstDtsDec

typedef struct {
  GstElement 	 element;

  /* pads */
  GstPad        *sinkpad;
  GstPad        *srcpad;
  GstSegment     segment;

  gboolean       dvdmode;
  gboolean       sent_segment;
  gboolean       discont;
  gboolean       flag_update;
  gboolean       prev_flags;

  /* stream properties */
  gint 	         bit_rate;
  gint 	         sample_rate;
  gint 	         stream_channels;
  gint 	         request_channels;
  gint 	         using_channels;

  /* decoding properties */
  sample_t 	 level;
  sample_t 	 bias;
  gboolean 	 dynamic_range_compression;
  sample_t 	*samples;
#ifndef DTS_OLD
  dca_state_t   *state;
#else
  dts_state_t 	*state;
#endif


  /* Data left over from the previous buffer */
  GstBuffer		*cache;
  GstClockTime	time;

  /* reverse playback */
  GList *queued;
} GstDtsDec;

Property Details

The "drc" property

  "drc"                      gboolean              : Read / Write

Use Dynamic Range Compression.

Default value: FALSE