mppenc(1)

πŸ“¦
version 1.16 Β· 2 versions
, in debian trixie, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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, see http://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