## voaacenc

voaacenc

## Properties

gint | bitrate | Read / Write

## Types and Values

struct | GstVoAacEnc

## Object Hierarchy

        GObject
        ╰── GInitiallyUnowned
            ╰── GstObject
                ╰── GstElement
                    ╰── GstAudioEncoder
                        ╰── GstVoAacEnc

## Implemented Interfaces

GstVoAacEnc implements GstPreset.

## Description

AAC audio encoder based on vo-aacenc library

vo-aacenc library source file.

#### Example launch line

    1

    gst-launch-1.0 filesrc location=abc.wav ! wavparse ! audioresample ! audioconvert ! voaacenc ! filesink location=abc.aac

## Synopsis

### Element Information

plugin | voaacenc
author | Kan Hu <kan.hu@linaro.org>
class | Codec/Encoder/Audio

### Element Pads

name | sink
direction | sink
presence | always
details | audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)1
| audio/x-raw, format=(string)S16LE, layout=(string)interleaved, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)2, channel-mask=(bitmask)0x0000000000000003

name | src
direction | source
presence | always
details | audio/mpeg, mpegversion=(int)4, rate=(int){ 8000, 11025, 12000, 16000, 22050, 24000, 32000, 44100, 48000, 64000, 88200, 96000 }, channels=(int)[ 1, 2 ], stream-format=(string){ adts, raw }, base-profile=(string)lc

## Functions

## Types and Values

### struct GstVoAacEnc

    struct GstVoAacEnc;

## Property Details

### The `“bitrate”` property

      “bitrate”                  gint

Target Audio Bitrate (bits per second).

Flags: Read / Write

Allowed values: [0,320000]

Default value: 128000