1WAVPACK(1)                WavPack Executable Programs               WAVPACK(1)
2
3
4

NAME

6       wavpack - encode audio files to wavpack
7

SYNOPSIS

9       wavpack [-options] INFILE... [-o OUTFILE]
10

DESCRIPTION

12       wavpack encodes the specified source file(s) into WavPack files using
13       the options provided. The source files may be any of the file format
14       types listed below, and the audio data may be either uncompressed PCM
15       or DSD (depending on the format). Raw audio may also be specified (see
16       --raw-pcm). The output filename will be source-name.wv unless
17       overridden with the -o switch. Multiple input files may be specified
18       resulting in multiple WavPack files, and in that case -o may be used to
19       specify an alternate target directory.  Stdin and stdout may be
20       specified with “-”. In the case of transcoding from existing WavPack
21       files, all tags are copied (and may be modified with additional args)
22       and unless an alternate name or directory is specified, the source
23       files are safely overwritten. To decode WavPack files back to their
24       original format (or raw audio) use the wvunpack program.
25
26   INPUT FILE FORMATS
27       •   Microsoft RIFF, extension “.wav”, includes BWF and RF64 variants
28
29       •   WavPack, extension “.wv”, transcode operation, tags copied
30
31       •   Apple Core Audio, extension “.caf”
32
33       •   Sony Wave64, extension “.w64”
34
35       •   Philips DSDIFF, extension “.dff”
36
37       •   Sony DSD Stream, extension “.dsf”
38

OPTIONS

40       -a
41           Adobe Audition (CoolEdit) mode for 32-bit floats
42
43       --allow-huge-tags
44           allow tag data up to 16 MB (embedding > 1 MB is not recommended for
45           portable devices and may not work with some programs including
46           WavPack pre-4.70)
47
48       -bn
49           enable hybrid compression, n = 2.0 to 23.9 bits/sample, or n =
50           24-9600 kbits/second (kbps), not available with DSD audio
51
52       --blocksize=n
53           specify block size in samples (max = 131072 and min = 16 with
54           --merge-blocks, otherwise 128)
55
56       -c
57           create correction file (.wvc) for hybrid mode (results in 2-file
58           lossless compression)
59
60       -cc
61           maximum hybrid compression (hurts lossy quality & decode speed)
62
63       --channel-order=list
64           specify (comma separated) channel order if not Microsoft standard
65           (which is
66           FL,FR,FC,LFE,BL,BR,FLC,FRC,BC,SL,SR,TC,TFL,TFC,TFR,TBL,TBC,TBR);
67           specify “...”  to indicate that channels are not assigned to
68           specific speakers, or terminate list with “...”  to indicate that
69           any channels beyond those specified are unassigned
70
71       --cross-decorr
72           use cross-channel correlation in hybrid mode (on by default in
73           lossless mode and with -cc option)
74
75       -d
76           delete source file if successful (use with caution!)
77
78       -f
79           fast mode (fast, but some compromise in compression ratio)
80
81       -g
82           general/normal mode, cancels previously specified -f and -h options
83
84       -h
85           high quality (better compression ratio, but slightly slower encode
86           and decode than normal mode)
87
88       -hh
89           very high quality (best compression, but slowest and NOT
90           recommended for use on vintage playback devices)
91
92       --help
93           display extended help
94
95       -i
96           ignore length in wav header and allow WAV files greater than 4 GB
97           (note that this will attempt to fix the WAV header stored in the
98           WavPack file, combine with -r to create a fresh header instead)
99
100       --import-id3
101           import applicable tag items from ID3v2.3 tag present in DSF (and
102           other) files into APEv2 tag (if there are > 1 MB cover images
103           present add --allow-huge-tags to include them, and -r if you do not
104           want large images appearing twice in the WavPack file, although
105           this will remove the entire original ID3v2 tag)
106
107       -jn
108           joint-stereo override (0 = left/right, 1 = mid/side)
109
110       -m
111           compute & store MD5 signature of raw audio data
112
113       --merge-blocks
114           merge consecutive blocks with equal redundancy (used with
115           --blocksize option and is useful for files generated by the
116           lossyWAV program or decoded HDCD files)
117
118       -n
119           calculate average and peak quantization noise (hybrid only,
120           reference fullscale sine)
121
122       --no-overwrite
123           never overwrite, nor ask to overwrite, an existing file (this is
124           handy for resuming a cancelled batch operation and obviously cannot
125           be mixed with -y)
126
127       --no-utf8-convert
128           don't recode passed tags from local encoding to UTF-8, assume they
129           are in UTF-8 already
130
131       -o OUTFILE
132           specify output filename (only if single source file) or target
133           directory (must exist)
134
135       --pair-unassigned-chans
136           encode unassigned channels into stereo pairs
137
138       --pre-quantize=bits
139           pre-quantize samples to bits depth BEFORE encoding and MD5
140           calculation (common use would be --pre-quantize=20 for 24-bit or
141           float material recorded with typical converters)
142
143       -q
144           quiet (keep console output to a minimum)
145
146       -r
147           parse headers to determine audio format and length but do not store
148           the headers in the resulting WavPack file (a minimum header will be
149           generated by wvunpack, but some non-audio metadata might be lost)
150
151       --raw-pcm
152           input data is raw pcm (44,100 Hz, 16-bit, 2-channels)
153
154       --raw-pcm=sr,bits[f|s|u],chans,[le|be]
155           input data is raw pcm with specified sample-rate, bit-depth
156           (float,unsigned,signed), number of channels, and endianness
157           (defaulted parameters may be omitted, specify bits=1 for DSD)
158
159       --raw-pcm-skip=begin[,end]
160           skip begin bytes before encoding raw PCM (header) and skip end
161           bytes at the EOF (trailer)
162
163       -sn
164           override default hybrid mode noise shaping where n is a float value
165           between -1.0 and 1.0; negative values move noise lower in freq,
166           positive values move noise higher in freq, use 0 for no shaping
167           (white noise)
168
169       -t
170           copy input file's time stamp to output file(s)
171
172       --use-dns
173           force use of dynamic noise shaping (hybrid mode only)
174
175       -v
176           verify output file integrity after write (not for piped output)
177
178       --version
179           write program version to stdout
180
181       -w Encoder
182           write actual encoder metadata to APEv2 tag (e.g., “Encoder=WavPack
183           5.5.0”)
184
185       -w Settings
186           write actual user settings metadata to APEv2 tag (e.g.,
187           “Settings=-hb384cx3”)
188
189       -w “Field=Value
190           write specified text metadata to APEv2 tag
191
192       -w “Field=@file.ext
193           write specified text metadata from file to APEv2 tag, normally used
194           for embedded cuesheets and logs (field names “Cuesheet” and “Log”)
195
196       --write-binary-tag “Field=@file.ext
197           write the specified binary metadata file to APEv2 tag, normally
198           used for cover art with the specified field name “Cover Art
199           (Front)”
200
201       -x[n]
202           extra encode processing (optional n = 0 to 6, 1=default), -x0 for
203           no extra processing, -x1 to -x3 to choose best of predefined
204           filters, -x4 to -x6 to generate custom filters (very slow!)
205
206       -y
207           yes to all warnings (use with caution!)
208
209       -z[n]
210           don't set (n = 0 or omitted) or set (n = 1) console title to
211           indicate progress (leaves "WavPack Completed")
212

SEE ALSO

214       wvunpack(1), wvgain(1), wvtag(1)
215
216       Please visit www.wavpack.com for more information
217
219       This manual page was written by Sebastian Dröge <slomo@debian.org> and
220       David Bryant <david@wavpack.com>. Permission is granted to copy,
221       distribute and/or modify this document under the terms of the BSD
222       License.
223

AUTHORS

225       Sebastian Dröge <slomo@debian.org>
226           Original author
227
228       David Bryant <david@wavpack.com>
229           Updates
230
232       Copyright © 2005 Sebastian Dröge
233       Copyright © 2022 David Bryant
234
235
236
237WavPack 5.5.0                     2022-06-23                        WAVPACK(1)
Impressum