wavpackenc

wavpackenc — Encodes audio with the Wavpack lossless/lossy audio codec

Synopsis




            GstWavpackEnc;

Object Hierarchy


  GObject
   +----GstObject
         +----GstElement
               +----GstWavpackEnc

Properties


  "bitrate"              gdouble               : Read / Write
  "bits-per-sample"      gdouble               : Read / Write
  "correction-mode"      GstWavpackEncCorrectionMode  : Read / Write
  "extra-processing"     gboolean              : Read / Write
  "joint-stereo-mode"    GstWavpackEncJSMode   : Read / Write
  "md5"                  gboolean              : Read / Write
  "mode"                 GstWavpackEncMode     : Read / Write

Description

WavpackEnc encodes raw audio into a framed Wavpack stream. Wavpack is an open-source audio codec that features both lossless and lossy encoding.

Example launch line

gst-launch audiotestsrc num-buffers=500 ! wavpackenc ! filesink location=sinewave.wv

This pipeline encodes audio from audiotestsrc into a Wavpack file.

gst-launch cdda://1 ! wavpackenc ! filesink location=track1.wv

This pipeline encodes audio from an audio CD into a Wavpack file using lossless encoding (the file output will be fairly large).

gst-launch cdda://1 ! wavpackenc bitrate=128000 ! filesink location=track1.wv

This pipeline encodes audio from an audio CD into a Wavpack file using lossy encoding at a certain bitrate (the file will be fairly small).

Element Information

plugin wavpack wavpack wavpackauthorSebastian Dröge <slomo@circular-chaos.org>Sebastian Dröge <slomo@circular-chaos.org>classCodec/Encoder/AudioCodec/Encoder/Audio
plugin wavpack
author Sebastian Dröge <slomo@circular-chaos.org>
class Codec/Encoder/Audio

Details

GstWavpackEnc

typedef struct _GstWavpackEnc GstWavpackEnc;

Property Details

The "bitrate" property

  "bitrate"              gdouble               : Read / Write

Try to encode with this average bitrate (bits/sec). This enables lossy encoding! A value smaller than 24000.0 disables this.

Allowed values: [0,9.6e+06]

Default value: 0


The "bits-per-sample" property

  "bits-per-sample"      gdouble               : Read / Write

Try to encode with this amount of bits per sample. This enables lossy encoding! A value smaller than 2.0 disables this.

Allowed values: [0,24]

Default value: 0


The "correction-mode" property

  "correction-mode"      GstWavpackEncCorrectionMode  : Read / Write

Use this mode for correction file creation. Only works in lossy mode!.

Default value: Create no correction file


The "extra-processing" property

  "extra-processing"     gboolean              : Read / Write

Extra encode processing.

Default value: FALSE


The "joint-stereo-mode" property

  "joint-stereo-mode"    GstWavpackEncJSMode   : Read / Write

Use this joint-stereo mode.

Default value: auto


The "md5" property

  "md5"                  gboolean              : Read / Write

Store MD5 hash of raw samples within the file.

Default value: FALSE


The "mode" property

  "mode"                 GstWavpackEncMode     : Read / Write

Speed versus compression tradeoff.

Default value: Normal Compression