flacenc

flacenc — Encodes audio with the FLAC lossless audio encoder

Synopsis

struct              GstFlacEnc;

Object Hierarchy

  GObject
   +----GInitiallyUnowned
         +----GstObject
               +----GstElement
                     +----GstAudioEncoder
                           +----GstFlacEnc

Implemented Interfaces

GstFlacEnc implements GstTagSetter and GstPreset.

Properties

  "blocksize"                guint                 : Read / Write / Construct
  "escape-coding"            gboolean              : Read / Write / Construct
  "exhaustive-model-search"  gboolean              : Read / Write / Construct
  "loose-mid-side-stereo"    gboolean              : Read / Write / Construct
  "max-lpc-order"            guint                 : Read / Write / Construct
  "max-residual-partition-order" guint                 : Read / Write / Construct
  "mid-side-stereo"          gboolean              : Read / Write / Construct
  "min-residual-partition-order" guint                 : Read / Write / Construct
  "qlp-coeff-prec-search"    gboolean              : Read / Write / Construct
  "qlp-coeff-precision"      guint                 : Read / Write / Construct
  "quality"                  GstFlacEncQuality     : Read / Write / Construct
  "rice-parameter-search-dist" guint                 : Read / Write / Construct
  "streamable-subset"        gboolean              : Read / Write / Construct
  "padding"                  guint                 : Read / Write / Construct
  "seekpoints"               gint                  : Read / Write / Construct

Description

Synopsis

Element Information

plugin

flac

author

Wim Taymans <wim.taymans@chello.be>

class

Codec/Encoder/Audio

Element Pads

name

sink

direction

sink

presence

always

details

audio/x-raw, format=(string){ S8LE, S16LE, S24LE, S24_32LE }, layout=(string)interleaved, rate=(int)[ 1, 655350 ], channels=(int)[ 1, 8 ]

name

src

direction

source

presence

always

details

audio/x-flac

Details

struct GstFlacEnc

struct GstFlacEnc;

Property Details

The "blocksize" property

  "blocksize"                guint                 : Read / Write / Construct

Blocksize in samples.

Allowed values: [16,65535]

Default value: 4608


The "escape-coding" property

  "escape-coding"            gboolean              : Read / Write / Construct

search for escape codes in the entropy coding stage for slightly better compression.

Default value: FALSE


The "exhaustive-model-search" property

  "exhaustive-model-search"  gboolean              : Read / Write / Construct

do exhaustive search of LP coefficient quantization (expensive!).

Default value: FALSE


The "loose-mid-side-stereo" property

  "loose-mid-side-stereo"    gboolean              : Read / Write / Construct

Loose mid side stereo.

Default value: FALSE


The "max-lpc-order" property

  "max-lpc-order"            guint                 : Read / Write / Construct

Max LPC order; 0 => use only fixed predictors.

Allowed values: <= 32

Default value: 8


The "max-residual-partition-order" property

  "max-residual-partition-order" guint                 : Read / Write / Construct

Max residual partition order (above 4 doesn't usually help much).

Allowed values: <= 16

Default value: 3


The "mid-side-stereo" property

  "mid-side-stereo"          gboolean              : Read / Write / Construct

Do mid side stereo (only for stereo input).

Default value: TRUE


The "min-residual-partition-order" property

  "min-residual-partition-order" guint                 : Read / Write / Construct

Min residual partition order (above 4 doesn't usually help much).

Allowed values: <= 16

Default value: 3


The "qlp-coeff-prec-search" property

  "qlp-coeff-prec-search"    gboolean              : Read / Write / Construct

false = use qlp_coeff_precision, true = search around qlp_coeff_precision, take best.

Default value: FALSE


The "qlp-coeff-precision" property

  "qlp-coeff-precision"      guint                 : Read / Write / Construct

Precision in bits of quantized linear-predictor coefficients; 0 = automatic.

Allowed values: <= 32

Default value: 0


The "quality" property

  "quality"                  GstFlacEncQuality     : Read / Write / Construct

Speed versus compression tradeoff.

Default value: 5 - Default


The "rice-parameter-search-dist" property

  "rice-parameter-search-dist" guint                 : Read / Write / Construct

0 = try only calc'd parameter k; else try all [k-dist..k+dist] parameters, use best.

Allowed values: <= 15

Default value: 0


The "streamable-subset" property

  "streamable-subset"        gboolean              : Read / Write / Construct

true to limit encoder to generating a Subset stream, else false.

Default value: TRUE


The "padding" property

  "padding"                  guint                 : Read / Write / Construct

Write a PADDING block with this length in bytes.

Default value: 0


The "seekpoints" property

  "seekpoints"               gint                  : Read / Write / Construct

Add SEEKTABLE metadata (if > 0, number of entries, if < 0, interval in sec).

Allowed values: >= -2147483647

Default value: -10