WAVPACK(1)
โจ NAME โจ
wavpack โ encode audio files to wavpack ๐
okay so yes bestie, this is the WAVPACK(1) page, straight outta the General Commands Manual, and we're gonna make it make sense ๐
๐ธ SYNOPSIS ๐ธ
wavpack [-options] [-o output] file ...
๐ฆ DESCRIPTION ๐ฆ
wavpack takes the source files you give it and encodes them into WavPack files. Those source files can be any of the file format types listed below, and the audio data can be either uncompressed PCM or DSD, depending on the format. You can also just throw raw audio at it (peep --raw-pcm for that one).
Unless you override it with the -o option, the output filename is literally just the source filename with the filename extension swapped out for โ.wvโ. And yes, you can hand it multiple input files and get multiple WavPack files back โ in that case -o can specify an alternate target directory. A filename of โ-โ means stdin or stdout, iconic behavior honestly.
When you're transcoding from existing WavPack files, all tags are copied, and you can modify them with additional args; and unless you specify an alternate output file or directory, the source files get safely overwritten. (yes, safely. breathe.)
On multicore machines wavpack will attempt to use several threads to speed up the operation, often significantly. This does not apply to the hybrid mode (except with multichannel files). Wanna force single-threaded operation? Use --no-threads, or use --threads to fine-tune the number of threads utilized. ๐งต
๐ INPUT FORMATS ๐
- Microsoft RIFF, extension โ.wavโ, including BWF and RF64 variants
- WavPack, extension โ.wvโ, transcode operation, tags copied
- Apple AIFF, extension โ.aifโ
- Apple Core Audio, extension โ.cafโ
- Sony Wave64, extension โ.w64โ
- Philips DSDIFF, extension โ.dffโ
- Sony DSD Stream, extension โ.dsfโ
โจ OPTIONS โจ
-aโ Adobe Audition (CoolEdit) mode for 32-bit floats--allow-huge-tagsโ Allow tag data up to 16 MB. Embedding > 1 MB is not recommended for portable devices and may not work with some programs, including older WavPack versions.-bnโ Enable hybrid compression,n= 2.0 to 23.9 bits/sample, orn= 24-9600 kbits/second (kbps). If this option is specified without the-coption, then the operation is lossy. The hybrid mode is not applicable to DSD audio (only PCM).--blocksize=nโ specify block size in samples (max = 131072 and min = 16 with--merge-blocks, otherwise 128)-cโ Create correction file (.wvc) for hybrid mode resulting in 2-file lossless compression. The bitrate is specified with the-bnoption.-ccโ maximum hybrid compression (hurts lossy quality & decode speed) ๐ฌ-cnโ Enable hybrid lossless (i.e., 2-file) compression,n= 2.0 to 23.9 bits/sample, orn= 24-9600 kbits/second (kbps). This is a shortcut combining the-bnand-coptions. The hybrid mode is not applicable to DSD audio (only PCM).--channel-order=listโ Specify comma separated channel order if it's not the Microsoft standard, which isFL,FR,FC,LFE,BL,BR,FLC,FRC,BC,SL,SR,TC,TFL,TFC,TFR,TBL,TBC,TBR; specify โ...โ to indicate that channels are not assigned to specific speakers, or terminate list with โ...โ to indicate that any channels beyond those specified are unassigned.--cross-decorrโ Use cross-channel correlation in hybrid mode. On by default in lossless mode and with the-ccoption.-dโ delete source file if successful; use with caution! ๐-fโ fast mode; introduces a compromise in compression ratio--force-even-byte-depthโ Round the bit depth specified in the source file up to the next whole byte (e.g., 20-bit is rounded up to 24-bit) to handle cases where the value specified is not correct (i.e., padding bits are non-zero).-gโ general/normal mode, cancels previously specified-fand-hoptions-hโ high quality; better compression ratio, but slightly slower-hhโ very high quality; best compression, but slowest; not recommended on vintage playback devices--helpโ display extended help-iโ Ignore length in wav header and allow WAV files greater than 4 GB. This will attempt to fix the WAV header stored in the WavPack file; combine with-rto create a fresh header instead.--import-id3โ import applicable tag items from an ID3v2.3 or ID3v2.4 tag present in DSF and other files into the APEv2 tag. If there are > 1 MB cover images present, add--allow-huge-tagsto include them, and-rif you do not want large images appearing twice in the WavPack file, although this will remove the entire original ID3v2 tag.-jnโ joint-stereo override (0 = left/right, 1 = mid/side)-mโ compute & store MD5 signature of raw audio data--merge-blocksโ merge consecutive blocks with equal redundancy (used with--blocksizeoption and is useful for files generated by the lossyWAV program or decoded HDCD files)-nโ calculate average and peak quantization noise (hybrid only, reference fullscale sine)--no-overwriteโ Never overwrite, nor ask to overwrite, an existing file. This is handy for resuming a cancelled batch operation and obviously cannot be mixed with the-yoption.--no-threadsโ force single-threaded operation, equivalent to--threads=1--no-utf8-convertโ Don't recode passed tags from local encoding to UTF-8, assume they are in UTF-8 already.-o outfileโ Specify an output filename for a single source file or a target directory (must already exist) for multiple files.--optimize-int32โ New optimization targeting 32-bit integer audio files that were originally sourced from 32-bit float audio. Can improve compression by 10%, but is only applicable in lossless modes. Resulting files will only decode with 24-bit resolution on older decoders (i.e., technically lossy).--pair-unassigned-chansโ encode unassigned channels into stereo pairs--pre-quantize=bitsโ pre-quantize samples tobitsdepth BEFORE encoding and MD5 calculation (common use would be--pre-quantize=20for 24-bit or float material recorded with typical converters)-qโ quiet (keep console output to a minimum)-rโ parse headers to determine audio format and length but do not store the headers in the resulting WavPack file (a minimum header will be generated bywvunpack, but some non-audio metadata might be lost)--raw-pcmโ input data is raw pcm (44,100 Hz, 16-bit, 2-channels)--raw-pcm=sr,bits[f|s|u],chans,[le|be]โ Input data is raw pcm with specified sample-rate, bit-depth (float, unsigned, signed), number of channels, and endianness. Defaulted parameters may be omitted, specifybits=1for DSD.--raw-pcm-skip=begin[,end]โ skipbeginbytes before encoding raw PCM (header) and skipendbytes at the EOF (trailer)-snโ Override default hybrid mode noise shaping wherenis a float value between -1.0 and 1.0. Negative values move noise lower in freq, positive values move noise higher in freq; use 0 for no shaping (white noise).-tโ Copy input file's time stamp to output files.--threads=nโ Enable (or disable) multithreaded operation withn=1(no threading) ton=12(max threads). Significantly improves the speed of lossless compression on multicore CPUs. In the hybrid modes, only multichannel files can utilize multithreading. Omitting the parameter will select an optimum number of threads.--use-dnsโ force use of dynamic noise shaping (hybrid mode only)-vโ verify output file integrity after write (not for piped output)--versionโ write program version to stdout-w -Encoderโ write encoder metadata to APEv2 tag (e.g., โEncoder=WavPack 5.8.0โ)-w -Settingsโ write user settings metadata to APEv2 tag (e.g., โSettings=-hb384cx3โ)-w โField=Valueโโ write the specified text metadata to APEv2 tag-w โField=@file.extโโ Write specified text metadata from file to APEv2 tag; normally used for embedded cuesheets and logs (field names โCuesheetโ and โLogโ).--write-binary-tag โField=@file.extโโ Write the specified binary metadata file to APEv2 tag; normally used for cover art with the field name โCover Art (Front)โ.-x[n]โ extra encode processing,n= 0 to 6, default=1;-x0for no extra processing,-x1to-x3to choose best of predefined filters,-x4to-x6to generate custom filters (very slow!)-yโ yes to all warnings; use with caution!-z[n]โ don't set (n=0or omitted) or set (n=1) console title to indicate progress (leaves "WavPack Completed")
๐ SEE ALSO ๐
wvgain(1), wvtag(1), wvunpack(1), www.wavpack.com
๐ AUTHORS ๐
- David Bryant
<david@wavpack.com> - Sebastian Drรถge
<slomo@debian.org> - Jan Starรฝ
<hans@stare.cz>
and that's the whole page bestie ๐ซถ this Debian build of the WAVPACK(1) manual is dated January 16, 2026, so likeโฆ go encode something and slay ๐
โจ๐ธ
๐ฆ where this page comes from
- alpine 3.24: wavpack-doc 5.9.0-r0 ยท BSD-3-Clause
- arch rolling: wavpack 5.9.0-1 ยท BSD
- fedora 44: wavpack 5.9.0-2.fc44 ยท BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
- fedora 44: wavpack 5.9.0-2.fc44 ยท BSD-3-Clause AND BSD-2-Clause AND LicenseRef-Fedora-Public-Domain
- nixpkgs unstable: wavpack 5.9.0
- ubuntu resolute: wavpack 5.9.0-1 ยท BSD-3-Clause
- ubuntu stonking: wavpack 5.9.0-2 ยท BSD-3-Clause
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms