Scroll to navigation

mppenc(1) mppenc(1)

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

-
STDIN (only RIFF WAVE files)
/dev/audio
soundcard (OSS, 44.1 kHz)
*.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)

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

*.mpc
Musepack file
*.mp+|mpp
MPEGplus file (deprecated)
-
STDOUT

OPTIONS

below telephone, poor quality (~ 20 kbps)
below telephone, poor quality (~ 30 kbps)
telephone, low quality (~ 60 kbps)
thumb, low/medium quality (~ 90 kbps)
radio, medium quality (~ 130 kbps)
normal (default), high quality (~ 180 kbps)
extreme, excellent quality (~ 210 kbps)
insane, excellent quality (~ 240 kbps)
braindead, excellent quality (~ 270 kbps)
above braindead, excellent quality (~ 300 kbps)
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
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)
add tag 'key' with 'value' as contents
add tags, take values from a file
add tags, take values from console
shortcut for --tag 'Artist=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 the first x seconds (default: 0.0)
stop encoding after at most x seconds of encoded audio
fadein+out in seconds
fadein in seconds (default: 0.0)
fadeout in seconds (default: 0.0)
fade shape, see http://www.uni-jena.de/~pfk/mpc/img/fade.png (default: 1.0)
scale input signal by x (default: 1.00000)
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 <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.

12 June 2007