flacenc

flacenc — Encodes audio with the FLAC lossless audio encoder

Synopsis

                    GstFlacEnc;

Object Hierarchy

  GObject
   +----GstObject
         +----GstElement
               +----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

flacenc encodes FLAC streams. FLAC is a Free Lossless Audio Codec.

Example launch line

gst-launch audiotestsrc num-buffers=100 ! flacenc ! filesink location=beep.flac

Details

GstFlacEnc

typedef struct _GstFlacEnc 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

Since 0.10.16


The "seekpoints" property

  "seekpoints"               gint                  : Read / Write / Construct

Write a SEEKTABLE block with a specific number of seekpoints or with a specific interval spacing.

Allowed values: >= -2147483647

Default value: 0

Since 0.10.18

See Also

GstFlacDec