3 mp3enc \- create mp3 audio files
28 .I "long or silly options"
33 compresses audio on standard input,
35 and produces MP3-encoded audio on standard output.
36 By default, the MP3 file will use `constant bit-rate' (CBR)
37 encoding, but that can be changed via
39 (average bitrate desired, ABR)
42 (variable bitrate, VBR).
49 in Kb/s for VBR, default 32Kb/s.
51 set the exact bitrate in Kb/s, which defaults to 128Kb/s.
56 in Kb/s for VBR, default 256Kb/s.
72 forces mid/side stereo on all frames.
75 add CRC error protection (adds an additional 16 bits per frame to the stream).
76 This seems to break playback.
79 sets output quality to
88 set sampling frequency of input file (in KHz) to
93 use variable bitrate (VBR) encoding
96 set quality setting for VBR to
101 0 produces highest-quality and largest files, and
102 9 produces lowest-quality and smallest files.
104 .TF "\fB--resample sfreq \fP"
109 desired in Kb/s, instead of setting quality,
110 and generates ABR encoding.
112 .BI --resample " sfreq"
113 set sampling frequency of output file (in KHz) to
115 default is input sfreq.
130 mark as non-original (i.e. do not set the original bit)
136 disable sfb=21 cutoff
143 allow channels to have different blocktypes
146 disable Xing VBR informational tag
149 autoconvert from stereo to mono file for mono encoding
152 force byte-swapping of input (see
157 don't print progress report, VBR histograms
160 only use the ATH for masking
163 disable VBR histogram display
166 experimental voice mode
171 file as highest-quality MP3.
174 games/mp3enc -q 0 -b 320
177 Create a fixed 128Kb/s MP3 file from a
182 games/mp3enc -h <foo.wav >foo.mp3
185 Streaming from stereo 44.1KHz raw PCM data, encoding mono at 16KHz
190 dd -conv swab | games/mp3enc -a -r -m m --resample 16 -b 24
193 .B /sys/src/games/mp3enc
202 .B http://www.sulaco.org/mp3
204 Quality is much better than encoders based on the ISO routines,
205 but still not as good as the FhG encoder.
207 It's a GNU behemoth, lightly rehabilitated.
208 There are zillions of undocumented options.