# avenc_dca

libav dca encoder

## Hierarchy

    GObject
        ╰──GInitiallyUnowned
            ╰──GstObject
                ╰──GstElement
                    ╰──GstAudioEncoder
                        ╰──avenc_dca

## Implemented interfaces

    GstPreset

## Factory details

Authors: – Wim Taymans , Ronald Bultje

Classification: – `Codec/Encoder/Audio`

Rank – secondary

Plugin – libav

Package – GStreamer FFMPEG Plug-ins

## Pad Templates

### `sink`

    audio/x-raw:
           channels: 1
               rate: { (int)8000, (int)16000, (int)32000, (int)11025, (int)22050, (int)44100, (int)12000, (int)24000, (int)48000 }
             format: S32LE
             layout: interleaved
    audio/x-raw:
           channels: 2
               rate: { (int)8000, (int)16000, (int)32000, (int)11025, (int)22050, (int)44100, (int)12000, (int)24000, (int)48000 }
             format: S32LE
             layout: interleaved
    audio/x-raw:
           channels: 4
       channel-mask: 0x0000000000000c03
               rate: { (int)8000, (int)16000, (int)32000, (int)11025, (int)22050, (int)44100, (int)12000, (int)24000, (int)48000 }
             format: S32LE
             layout: interleaved
    audio/x-raw:
           channels: 5
       channel-mask: 0x0000000000000c07
               rate: { (int)8000, (int)16000, (int)32000, (int)11025, (int)22050, (int)44100, (int)12000, (int)24000, (int)48000 }
             format: S32LE
             layout: interleaved
    audio/x-raw:
           channels: 6
       channel-mask: 0x0000000000000c0f
               rate: { (int)8000, (int)16000, (int)32000, (int)11025, (int)22050, (int)44100, (int)12000, (int)24000, (int)48000 }
             format: S32LE
             layout: interleaved

Presence – always

Direction – sink

Object type – GstPad

### `src`

    audio/x-dts:
           channels: [ 1, 6 ]
               rate: [ 4000, 96000 ]

Presence – always

Direction – src

Object type – GstPad

## Properties

### ac

    “ac” gint

set number of audio channels (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### ar

    “ar” gint

set audio sampling rate (in Hz) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### audio-service-type

    “audio-service-type” avcodeccontext-audio-service-type *

audio service type (Generic codec option, might have no effect)

Flags : Read / Write

Default value : ma (0)

### bitrate

    “bitrate” gint

set bitrate (in bits/s) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 1411200

### bitrate-tolerance

    “bitrate-tolerance” gint

Set video bitrate tolerance (in bits/s). In 1-pass mode, bitrate tolerance specifies how far ratecontrol is willing to deviate from the target average bitrate value. This is not related to minimum/maximum bitrate. Lowering tolerance too much has an adverse effect on quality. (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 4000000

### bufsize

    “bufsize” gint

set ratecontrol buffer size (in bits) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### compression-level

    “compression-level” gint

(null) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : -1

### cutoff

    “cutoff” gint

set cutoff bandwidth (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### dca-adpcm

    “dca-adpcm” gboolean

Use ADPCM encoding (Private codec option)

Flags : Read / Write

Default value : false

### debug

    “debug” avcodeccontext-debug *

print specific debug info (Generic codec option, might have no effect)

Flags : Read / Write

Default value : (none)

### dump-separator

    “dump-separator” gchararray

set information dump field separator (Generic codec option, might have no effect)

Flags : Read / Write

Default value : NULL

### err-detect

    “err-detect” avcodeccontext-err-detect *

set error detection flags (Generic codec option, might have no effect)

Flags : Read / Write

Default value : (none)

### export-side-data

    “export-side-data” avcodeccontext-export-side-data *

Export metadata as side data (Generic codec option, might have no effect)

Flags : Read / Write

Default value : (none)

### flags

    “flags” avcodeccontext-flags *

(null) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : (none)

### flags2

    “flags2” avcodeccontext-flags2 *

(null) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : (none)

### frame-size

    “frame-size” gint

(null) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### global-quality

    “global-quality” gint

(null) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### max-pixels

    “max-pixels” gint64

Maximum number of pixels (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 2147483647

### max-samples

    “max-samples” gint64

Maximum number of samples (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 2147483647

### maxrate

    “maxrate” gint64

maximum bitrate (in bits/s). Used for VBV together with bufsize. (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### minrate

    “minrate” gint64

minimum bitrate (in bits/s). Most useful in setting up a CBR encode. It is of little use otherwise. (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

### strict

    “strict” avcodeccontext-strict *

how strictly to follow the standards (Generic codec option, might have no effect)

Flags : Read / Write

Default value : normal (0)

### thread-type

    “thread-type” avcodeccontext-thread-type *

select multithreading type (Generic codec option, might have no effect)

Flags : Read / Write

Default value : slice+frame

### threads

    “threads” avcodeccontext-threads *

set the number of threads (Generic codec option, might have no effect)

Flags : Read / Write

Default value : unknown (1)

### ticks-per-frame

    “ticks-per-frame” gint

(null) (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 1

### trellis

    “trellis” gint

rate-distortion optimal quantization (Generic codec option, might have no effect)

Flags : Read / Write

Default value : 0

The results of the search are