| GStreamer Good Plugins 0.10 Plugins Reference Manual | ||||
|---|---|---|---|---|
"bitrate" guint : Read / Write "bits-per-sample" gdouble : Read / Write "correction-mode" GstWavpackEncCorrectionMode : Read / Write "extra-processing" guint : Read / Write "joint-stereo-mode" GstWavpackEncJSMode : Read / Write "md5" gboolean : Read / Write "mode" GstWavpackEncMode : Read / Write
gst-launch audiotestsrc num-buffers=500 ! audioconvert ! wavpackenc ! filesink location=sinewave.wv
This pipeline encodes audio from audiotestsrc into a Wavpack file. The audioconvert element is needed as the Wavpack encoder only accepts input with 32 bit width (and every depth between 1 and 32 bits).
gst-launch cdda://1 ! audioconvert ! 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 ! audioconvert ! 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).
| plugin | wavpack |
| author | Sebastian Dröge <slomo@circular-chaos.org> |
| class | Codec/Encoder/Audio |
| name | sink |
| direction | sink |
| presence | always |
| details | audio/x-raw-int, width=(int)32, depth=(int)[ 1, 32 ], endianness=(int)1234, channels=(int)[ 1, 8 ], rate=(int)[ 6000, 192000 ], signed=(boolean)true |
| name | src |
| direction | source |
| presence | always |
| details | audio/x-wavpack, width=(int)[ 1, 32 ], channels=(int)[ 1, 2 ], 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 : Read / Write
Try to encode with this average bitrate (bits/sec). This enables lossy encoding, values smaller than 24000 disable it again.
Allowed values: <= 9600000
Default value: 0
bits-per-sample" property"bits-per-sample" gdouble : Read / Write
Try to encode with this amount of bits per sample. This enables lossy encoding, values smaller than 2.0 disable it again.
Allowed values: [0,24]
Default value: 0
correction-mode" property"correction-mode" GstWavpackEncCorrectionMode : Read / Write
Use this mode for the correction stream. Only works in lossy mode!.
Default value: Create no correction file
extra-processing" property"extra-processing" guint : Read / Write
Use better but slower filters for better compression/quality.
Allowed values: <= 6
Default value: 0
joint-stereo-mode" property"joint-stereo-mode" GstWavpackEncJSMode : Read / Write
Use this joint-stereo mode.
Default value: auto
md5" property"md5" gboolean : Read / Write
Store MD5 hash of raw samples within the file.
Default value: FALSE