Top |
guint | bitrate | Read / Write |
gdouble | bits-per-sample | Read / Write |
GstWavpackEncCorrectionMode | correction-mode | Read / Write |
guint | extra-processing | Read / Write |
GstWavpackEncJSMode | joint-stereo-mode | Read / Write |
gboolean | md5 | Read / Write |
GstWavpackEncMode | mode | Read / Write |
GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstElement ╰── GstAudioEncoder ╰── GstWavpackEnc
WavpackEnc encodes raw audio into a framed Wavpack stream.
Wavpack is an open-sourceaudio codec that features both lossless and lossy encoding.
1 |
gst-launch-1.0 audiotestsrc num-buffers=500 ! audioconvert ! wavpackenc ! filesink location=sinewave.wv |
1 |
gst-launch-1.0 cdda://1 ! audioconvert ! wavpackenc ! filesink location=track1.wv |
1 |
gst-launch-1.0 cdda://1 ! audioconvert ! wavpackenc bitrate=128000 ! filesink location=track1.wv |
plugin |
wavpack |
author |
Sebastian Dröge <slomo@circular-chaos.org> |
class |
Codec/Encoder/Audio |
name |
sink |
direction |
sink |
presence |
always |
details |
audio/x-raw, format=(string)S32LE, layout=(string)interleaved, channels=(int)[ 1, 8 ], rate=(int)[ 6000, 192000 ] |
name |
src |
direction |
source |
presence |
always |
details |
audio/x-wavpack, depth=(int)[ 1, 32 ], channels=(int)[ 1, 8 ], rate=(int)[ 6000, 192000 ], framed=(boolean)true |
name |
wvcsrc |
direction |
source |
presence |
sometimes |
details |
audio/x-wavpack-correction, framed=(boolean)true |
“bitrate”
property “bitrate” guint
Try to encode with this average bitrate (bits/sec). This enables lossy encoding, values smaller than 24000 disable it again.
Flags: Read / Write
Allowed values: <= 9600000
Default value: 0
“bits-per-sample”
property “bits-per-sample” gdouble
Try to encode with this amount of bits per sample. This enables lossy encoding, values smaller than 2.0 disable it again.
Flags: Read / Write
Allowed values: [0,24]
Default value: 0
“correction-mode”
property “correction-mode” GstWavpackEncCorrectionMode
Use this mode for the correction stream. Only works in lossy mode!.
Flags: Read / Write
Default value: Create no correction file
“extra-processing”
property “extra-processing” guint
Use better but slower filters for better compression/quality.
Flags: Read / Write
Allowed values: <= 6
Default value: 0
“joint-stereo-mode”
property “joint-stereo-mode” GstWavpackEncJSMode
Use this joint-stereo mode.
Flags: Read / Write
Default value: auto
“md5”
property “md5” gboolean
Store MD5 hash of raw samples within the file.
Flags: Read / Write
Default value: FALSE