mppenc(1) Musepack lossy audio codec encoder


mppenc [--options] [input_file] [output_file]


mppenc is a Musepack lossy audio codec encoder. Musepack is a lossy audio codec specifically optimized for transparent compression of stereo audio at bitrates of 160-180 kbit/s.


STDIN (only RIFF WAVE files)
soundcard (OSS, 44.1 kHz)
RAW PCM file (2ch, 16bit, 44.1kHz)
LPAC file (Windows only)
FLAC file
Monkey's Audio file (APE extension only)
RK Audio file (Windows only)
SZIP file
Shorten file
Wavpack file
OptimFROG file (Windows only)

Currently only 32, 37.8, 44.1 and 48 kHz, 1-8 channels, 8-32 bit linear PCM is supported. When using one of the lossless compressed formats, a proper binary must be installed within the system's $PATH.


Musepack file
MPEGplus file (deprecated)


--quality 0.00
below telephone, poor quality (~ 20 kbps)
--quality 1.00
below telephone, poor quality (~ 30 kbps)
--quality 2.00 --telephone
telephone, low quality (~ 60 kbps)
--quality 3.00 --thumb
thumb, low/medium quality (~ 90 kbps)
--quality 4.00 --radio
radio, medium quality (~ 130 kbps)
--quality 5.00 --standard --normal
normal (default), high quality (~ 180 kbps)
--quality 6.00 --extreme --xtreme
extreme, excellent quality (~ 210 kbps)
--quality 7.00 --insane
insane, excellent quality (~ 240 kbps)
--quality 8.00 --braindead
braindead, excellent quality (~ 270 kbps)
--quality 9.00
above braindead, excellent quality (~ 300 kbps)
--quality 10.00
above braindead, excellent quality (~ 350 kbps)

In addition, quality scale is effective centesimally (i.e. --quality 4.25).

repress console messages (default: off)
increase verbosity (default: off)
print long help
--stderr FILE
append messages to file
never overwrite existing output file (default: off)
ask to overwrite an existing output file (default: on)
overwrite existing output file (default: off)
delete input file after encoding (default: off)
beep when encoding is finished (default: off)
unicode input from console (Unix only)
--tag key=value
add tag 'key' with 'value' as contents
--tagfile key=file
add tags, take values from a file
--tag key
add tags, take values from console
--artist 'value'
shortcut for --tag 'Artist=value'
--album 'value'
shortcut for --tag 'Album=value'

Other possible keys are: debutalbum, publisher, conductor, title, subtitle, track, comment, composer, copyright, publicationright, filename, recordlocation, recorddate, ean/upc, year, releasedate, genre, media, index, isrc, abstract, bibliography, introplay, media, language...

--skip x
skip the first x seconds (default: 0.0)
--dur x
stop encoding after at most x seconds of encoded audio
--fade x
fadein+out in seconds
--fadein x
fadein in seconds (default: 0.0)
--fadeout x
fadeout in seconds (default: 0.0)
--fadeshape x
fade shape, see (default: 1.0)
--scale x
scale input signal by x (default: 1.00000)
--scale x,y
scale input signal, separate for each channel


mppenc inputfile.wav

mppenc inputfile.wav outputfile.mpc

mppenc --radio inputfile.wav outputfile.mpc

mppenc --silent --radio --pns 0.25 inputfile.wav outputfile.mpc

mppenc --nmt 12 --tmn 28 inputfile.wav outputfile.mpc


This manual page was written by Jorge Salamero Sanz <[email protected]> for the Debian system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version published by the Free Software Foundation.

On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.