debian/0000755000000000000000000000000011740367721007176 5ustar debian/mppenc.manpages0000644000000000000000000000002011740367374012171 0ustar debian/mppenc.1 debian/mppenc.10000644000000000000000000001272711740367374010557 0ustar .\" -*- coding: us-ascii -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH mppenc 1 "12 June 2007" "" "" .SH NAME mppenc \- Musepack lossy audio codec encoder .SH SYNOPSIS 'nh .fi .ad l \fBmppenc\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [\fB\fI--options\fB\fR] [\fB\fIinput_file\fB\fR] [\fB\fIoutput_file\fB\fR] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBmppenc\fR 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. .SH "INPUT FILES" .TP \*(T<\fB\-\fR\*(T> STDIN (only RIFF WAVE files) .TP \*(T<\fB/dev/audio\fR\*(T> soundcard (OSS, 44.1 kHz) .TP \*(T<\fB*.wav\fR\*(T> RIFF WAVE file .TP \*(T<\fB*.raw|cdr\fR\*(T> RAW PCM file (2ch, 16bit, 44.1kHz) .TP \*(T<\fB*.pac|lpac\fR\*(T> LPAC file (Windows only) .TP \*(T<\fB*.fla|flac\fR\*(T> FLAC file .TP \*(T<\fB*.ape\fR\*(T> Monkey's Audio file (APE extension only) .TP \*(T<\fB*.rka|rkau\fR\*(T> RK Audio file (Windows only) .TP \*(T<\fB*.sz\fR\*(T> SZIP file .TP \*(T<\fB*.shn\fR\*(T> Shorten file .TP \*(T<\fB*.wv\fR\*(T> Wavpack file .TP \*(T<\fB\&.ofr\fR\*(T> OptimFROG file (Windows only) .PP 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. .SH "OUTPUT FILES" .TP \*(T<\fB*.mpc\fR\*(T> Musepack file .TP \*(T<\fB*.mp+|mpp\fR\*(T> MPEGplus file (deprecated) .TP \*(T<\fB\-\fR\*(T> STDOUT .SH OPTIONS .TP \*(T<\fB\-\-quality 0.00\fR\*(T> below telephone, poor quality (~ 20 kbps) .TP \*(T<\fB\-\-quality 1.00\fR\*(T> below telephone, poor quality (~ 30 kbps) .TP \*(T<\fB\-\-quality 2.00\fR\*(T> \*(T<\fB\-\-telephone\fR\*(T> telephone, low quality (~ 60 kbps) .TP \*(T<\fB\-\-quality 3.00\fR\*(T> \*(T<\fB\-\-thumb\fR\*(T> thumb, low/medium quality (~ 90 kbps) .TP \*(T<\fB\-\-quality 4.00\fR\*(T> \*(T<\fB\-\-radio\fR\*(T> radio, medium quality (~ 130 kbps) .TP \*(T<\fB\-\-quality 5.00\fR\*(T> \*(T<\fB\-\-standard\fR\*(T> \*(T<\fB\-\-normal\fR\*(T> normal (default), high quality (~ 180 kbps) .TP \*(T<\fB\-\-quality 6.00\fR\*(T> \*(T<\fB\-\-extreme\fR\*(T> \*(T<\fB\-\-xtreme\fR\*(T> extreme, excellent quality (~ 210 kbps) .TP \*(T<\fB\-\-quality 7.00\fR\*(T> \*(T<\fB\-\-insane\fR\*(T> insane, excellent quality (~ 240 kbps) .TP \*(T<\fB\-\-quality 8.00\fR\*(T> \*(T<\fB\-\-braindead\fR\*(T> braindead, excellent quality (~ 270 kbps) .TP \*(T<\fB\-\-quality 9.00\fR\*(T> above braindead, excellent quality (~ 300 kbps) .TP \*(T<\fB\-\-quality 10.00\fR\*(T> above braindead, excellent quality (~ 350 kbps) .PP In addition, quality scale is effective centesimally (i.e. --quality 4.25). .TP \*(T<\fB\-\-silent\fR\*(T> repress console messages (default: off) .TP \*(T<\fB\-\-verbose\fR\*(T> increase verbosity (default: off) .TP \*(T<\fB\-\-longhelp\fR\*(T> print long help .TP \*(T<\fB\-\-stderr FILE\fR\*(T> append messages to file .TP \*(T<\fB\-\-neveroverwrite\fR\*(T> never overwrite existing output file (default: off) .TP \*(T<\fB\-\-interactive\fR\*(T> ask to overwrite an existing output file (default: on) .TP \*(T<\fB\-\-overwrite\fR\*(T> overwrite existing output file (default: off) .TP \*(T<\fB\-\-deleteinput\fR\*(T> delete input file after encoding (default: off) .TP \*(T<\fB\-\-beep\fR\*(T> beep when encoding is finished (default: off) .TP \*(T<\fB\-\-unicode\fR\*(T> unicode input from console (Unix only) .TP \*(T<\fB\-\-tag key=value\fR\*(T> add tag 'key' with 'value' as contents .TP \*(T<\fB\-\-tagfile key=file\fR\*(T> add tags, take values from a file .TP \*(T<\fB\-\-tag key\fR\*(T> add tags, take values from console .TP \*(T<\fB\-\-artist 'value'\fR\*(T> shortcut for --tag 'Artist=value' .TP \*(T<\fB\-\-album 'value'\fR\*(T> shortcut for --tag 'Album=value' .PP 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... .TP \*(T<\fB\-\-skip x\fR\*(T> skip the first x seconds (default: 0.0) .TP \*(T<\fB\-\-dur x\fR\*(T> stop encoding after at most x seconds of encoded audio .TP \*(T<\fB\-\-fade x\fR\*(T> fadein+out in seconds .TP \*(T<\fB\-\-fadein x\fR\*(T> fadein in seconds (default: 0.0) .TP \*(T<\fB\-\-fadeout x\fR\*(T> fadeout in seconds (default: 0.0) .TP \*(T<\fB\-\-fadeshape x\fR\*(T> fade shape, see http://www.uni-jena.de/~pfk/mpc/img/fade.png (default: 1.0) .TP \*(T<\fB\-\-scale x\fR\*(T> scale input signal by x (default: 1.00000) .TP \*(T<\fB\-\-scale x,y\fR\*(T> scale input signal, separate for each channel .SH EXAMPLES \fBmppenc inputfile.wav\fR .PP \fBmppenc inputfile.wav outputfile.mpc\fR .PP \fBmppenc --radio inputfile.wav outputfile.mpc\fR .PP \fBmppenc --silent --radio --pns 0.25 inputfile.wav outputfile.mpc\fR .PP \fBmppenc --nmt 12 --tmn 28 inputfile.wav outputfile.mpc\fR .SH AUTHOR This manual page was written by Jorge Salamero Sanz <\*(T> 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. .PP On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/mppenc.xml0000644000000000000000000003330111740367374011206 0ustar Jorge"> Salamero Sanz"> 12 June 2007"> 1"> bencer@cauterized.net"> mppenc"> Debian"> GNU"> GPL"> ]>
&dhemail;
2007 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; Musepack lossy audio codec encoder &dhpackage; DESCRIPTION &dhpackage; 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) soundcard (OSS, 44.1 kHz) RIFF WAVE file 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. OUTPUT FILES Musepack file 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 &dhusername; &dhemail; 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.
debian/rules0000755000000000000000000000215211740367374010262 0ustar #!/usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 CFLAGS = -Wall -g ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif configure: configure-stamp configure-stamp: dh_testdir mkdir -p build cd build && cmake -DCMAKE_INSTALL_PREFIX=$(CURDIR)/debian/mppenc/usr \ -DCMAKE_CXX_FLAGS="$(CFLAGS)" -DCMAKE_C_FLAGS="$(CFLAGS)" \ -DCMAKE_EXE_LINKER_FLAGS="-Wl,-z,defs" ../ touch configure-stamp build: build-stamp build-stamp: configure-stamp dh_testdir cd build && $(MAKE) touch $@ clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp rm -fr build dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs cd build && $(MAKE) install binary-indep: build install binary-arch: build install dh_testdir dh_testroot dh_installchangelogs Changelog dh_installdocs dh_installman dh_link dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure debian/compat0000644000000000000000000000000211740367374010400 0ustar 5 debian/patches/0000755000000000000000000000000011740367615010627 5ustar debian/patches/kfreebsd-gnu_ftbfs.diff0000644000000000000000000000047311740367615015225 0ustar --- a/src/mppdec.h +++ b/src/mppdec.h @@ -167,7 +167,7 @@ # elif defined __APPLE__ && defined __MACH__ # include # else -# include +# include # endif #endif /* USE_OSS_AUDIO */ debian/patches/series0000644000000000000000000000003011740367513012032 0ustar kfreebsd-gnu_ftbfs.diff debian/changelog0000644000000000000000000000071111740367720011046 0ustar mppenc (1.16-1.1) unstable; urgency=low * Non-maintainer upload. * Upgrade to dpkg source format 3.0 (quilt). * kfreebsd-gnu_ftbfs.diff: Fix FTBFS on GNU/kFreeBSD using patch from Cyril Brulebois. (Closes: #540131) -- Robert Millan Sun, 08 Apr 2012 22:06:40 +0200 mppenc (1.16-1) unstable; urgency=low * Initial release (Closes: #413286). -- Jorge Salamero Sanz Sat, 3 Mar 2007 21:58:15 +0100 debian/source/0000755000000000000000000000000011740367446010502 5ustar debian/source/format0000644000000000000000000000001411617552363011705 0ustar 3.0 (quilt) debian/copyright0000644000000000000000000000272611740367374011144 0ustar This package was debianized by Jorge Salamero Sanz on Sat, 3 Mar 2007 21:58:15 +0100. It was downloaded from http://www.musepack.net/ Upstream Author: Musepack Development Team Musepack was created by Andree Buschmann and is currently developed by Frank Klemm and the Musepack Development Team. Copyright: Copyright (C) 1999-2006 by Andree Buschmann, Frank Klemm and the Musepack Development Team. License: This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA On Debian systems, the complete text of the GNU Lesser General Public License can be found in the file `/usr/share/common-licenses/LGPL'. The Debian packaging is (C) 2007, Jorge Salamero Sanz and is licensed under the GPL, see `/usr/share/common-licenses/GPL'. debian/control0000644000000000000000000000103711740367374010606 0ustar Source: mppenc Section: sound Priority: optional Maintainer: Jorge Salamero Sanz Build-Depends: debhelper (>= 5), cmake Standards-Version: 3.7.2 Package: mppenc Architecture: any Depends: ${shlibs:Depends} Suggests: wavpack, flac Description: 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. . This package contains the encoder, for decoding see libmpcdec3. . Homepage: http://www.musepack.net/ debian/watch0000644000000000000000000000010011740367374010222 0ustar version=3 http://files.musepack.net/source/mppenc-(.*)\.tar\.gz