---
name: "mppenc"
section: "1"
platform: "linux"
package: "mppenc"
version: "1.16-2"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/mppenc"
---

# mppenc(1)

Musepack lossy audio codec encoder

## NAME

mppenc - Musepack lossy audio codec encoder

## SYNOPSIS

**mppenc**  \[*--options*\] \[*input\_file*\] \[*output\_file*\]

## DESCRIPTION

**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.

## INPUT FILES

- FC**-**F\[0\]

  STDIN (only RIFF WAVE files)

- FC**/dev/audio**F\[0\]

  soundcard (OSS, 44.1 kHz)

- FC**\*.wav**F\[0\]

  RIFF WAVE file

- FC**\*.raw\|cdr**F\[0\]

  RAW PCM file (2ch, 16bit, 44.1kHz)

- FC**\*.pac\|lpac**F\[0\]

  LPAC file (Windows only)

- FC**\*.fla\|flac**F\[0\]

  FLAC file

- FC**\*.ape**F\[0\]

  Monkey's Audio file (APE extension only)

- FC**\*.rka\|rkau**F\[0\]

  RK Audio file (Windows only)

- FC**\*.sz**F\[0\]

  SZIP file

- FC**\*.shn**F\[0\]

  Shorten file

- FC**\*.wv**F\[0\]

  Wavpack file

- FC**.ofr**F\[0\]

  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.

## OUTPUT FILES

- FC**\*.mpc**F\[0\]

  Musepack file

- FC**\*.mp+\|mpp**F\[0\]

  MPEGplus file (deprecated)

- FC**-**F\[0\]

  STDOUT

## OPTIONS

- FC**--quality 0.00**F\[0\]

  below telephone, poor quality (~ 20 kbps)

- FC**--quality 1.00**F\[0\]

  below telephone, poor quality (~ 30 kbps)

- FC**--quality 2.00**F\[0\] FC**--telephone**F\[0\]

  telephone, low quality (~ 60 kbps)

- FC**--quality 3.00**F\[0\] FC**--thumb**F\[0\]

  thumb, low/medium quality (~ 90 kbps)

- FC**--quality 4.00**F\[0\] FC**--radio**F\[0\]

  radio, medium quality (~ 130 kbps)

- FC**--quality 5.00**F\[0\] FC**--standard**F\[0\] FC**--normal**F\[0\]

  normal (default), high quality (~ 180 kbps)

- FC**--quality 6.00**F\[0\] FC**--extreme**F\[0\] FC**--xtreme**F\[0\]

  extreme, excellent quality (~ 210 kbps)

- FC**--quality 7.00**F\[0\] FC**--insane**F\[0\]

  insane, excellent quality (~ 240 kbps)

- FC**--quality 8.00**F\[0\] FC**--braindead**F\[0\]

  braindead, excellent quality (~ 270 kbps)

- FC**--quality 9.00**F\[0\]

  above braindead, excellent quality (~ 300 kbps)

- FC**--quality 10.00**F\[0\]

  above braindead, excellent quality (~ 350 kbps)

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

- FC**--silent**F\[0\]

  repress console messages (default: off)

- FC**--verbose**F\[0\]

  increase verbosity (default: off)

- FC**--longhelp**F\[0\]

  print long help

- FC**--stderr FILE**F\[0\]

  append messages to file

- FC**--neveroverwrite**F\[0\]

  never overwrite existing output file (default: off)

- FC**--interactive**F\[0\]

  ask to overwrite an existing output file (default: on)

- FC**--overwrite**F\[0\]

  overwrite existing output file (default: off)

- FC**--deleteinput**F\[0\]

  delete input file after encoding (default: off)

- FC**--beep**F\[0\]

  beep when encoding is finished (default: off)

- FC**--unicode**F\[0\]

  unicode input from console (Unix only)

- FC**--tag key=value**F\[0\]

  add tag 'key' with 'value' as contents

- FC**--tagfile key=file**F\[0\]

  add tags, take values from a file

- FC**--tag key**F\[0\]

  add tags, take values from console

- FC**--artist 'value'**F\[0\]

  shortcut for --tag 'Artist=value'

- FC**--album 'value'**F\[0\]

  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...

- FC**--skip x**F\[0\]

  skip the first x seconds (default: 0.0)

- FC**--dur x**F\[0\]

  stop encoding after at most x seconds of encoded audio

- FC**--fade x**F\[0\]

  fadein+out in seconds

- FC**--fadein x**F\[0\]

  fadein in seconds (default: 0.0)

- FC**--fadeout x**F\[0\]

  fadeout in seconds (default: 0.0)

- FC**--fadeshape x**F\[0\]

  fade shape, see http://www.uni-jena.de/~pfk/mpc/img/fade.png (default: 1.0)

- FC**--scale x**F\[0\]

  scale input signal by x (default: 1.00000)

- FC**--scale x,y**F\[0\]

  scale input signal, separate for each channel

## EXAMPLES

**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 \<FCbencer@cauterized.netF\[0\]\> 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.
