mppenc(1)
π NAME π
mppenc β the Musepack lossy audio codec encoder. it squeezes your audio, bestie. lossily. π
β¨ SYNOPSIS β¨
mppenc [--options] [input_file] [output_file]
π¦ DESCRIPTION π¦
okay so mppenc is a Musepack lossy audio codec encoder. and Musepack? it's a lossy audio codec that was literally built for one specific job: transparent compression of stereo audio at bitrates of 160-180 kbit/s. that's its whole thing. it ate and left no crumbs. π
πΈ INPUT FILES πΈ
like, it'll take your audio from a bunch of places:
-β STDIN. only RIFF WAVE files, no cap./dev/audioβ your soundcard (OSS, 44.1 kHz). iconic.*.wavβ RIFF WAVE file*.raw|cdrβ RAW PCM file (2ch, 16bit, 44.1kHz)*.pac|lpacβ LPAC file (Windows only)*.fla|flacβ FLAC file*.apeβ Monkey's Audio file (APE extension only)*.rka|rkauβ RK Audio file (Windows only)*.szβ SZIP file*.shnβ Shorten file*.wvβ Wavpack file.ofrβ OptimFROG file (Windows only)
rn it only supports 32, 37.8, 44.1 and 48 kHz, 1-8 channels, 8-32 bit linear PCM. periodt. and bestie, if you're using one of the lossless compressed formats, a proper binary must be installed within the system's $PATH. no binary, no vibes. π
π OUTPUT FILES π
*.mpcβ Musepack file π*.mp+|mppβ MPEGplus file (deprecated β it's giving vintage, not in a cute way)-β STDOUT
π OPTIONS π
the quality ladder, from "why" to "why not":
--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)
also!! the quality scale is effective centesimally, meaning you can do stuff like --quality 4.25. the precision? unmatched. π«Ά
and here's the rest of the options, bestie:
--silentβ repress console messages (default: off)--verboseβ increase verbosity (default: off)--longhelpβ print long help--stderr FILEβ append messages to file--neveroverwriteβ never overwrite existing output file (default: off)--interactiveβ ask to overwrite an existing output file (default: on)--overwriteβ overwrite existing output file (default: off)--deleteinputβ delete input file after encoding (default: off)--beepβ beep when encoding is finished (default: off)--unicodeβ 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'
π more tag keys if you're feeling extra π
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... (yes, media shows up twice, that's just how it is, don't look at me π)
π§ trimming + shaping the audio π§
--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, seehttp://www.uni-jena.de/~pfk/mpc/img/fade.png(default: 1.0)--scale xβ scale input signal by x (default: 1.00000)--scale x,yβ scale input signal, separate for each channel
π₯ EXAMPLES π₯
copy these, they're slay:
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
π AUTHOR π
this manual page was written by Jorge Salamero Sanz <bencer@cauterized.net> 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.
that's the whole thing bestie, you're so welcome π go encode something gorgeous πβπ
mppenc(1) β this page dropped on 12 June 2007, from the mppenc(1) manual. mwah. π
π¦ where this page comes from
- debian trixie: mppenc 1.16-2 Β· LGPL-2.1-or-later
- ubuntu questing: mppenc 1.16-2
- ubuntu resolute: mppenc 1.16-3 Β· LGPL-2.1-or-later
- ubuntu stonking: mppenc 1.16-3 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms