mp2enc(1) | MJPEG tools manual | mp2enc(1) |
mp2enc - Simple MPEG-1 layer-II audio encoder
mp2enc [-v num] [-b bitrate_kbps] [-r output_sampling_rate_hz] [-R rate,chans,bits] [-s ] [-m ] [-e ] [-V ] [-?] -o output_filename
Mp2enc is a simple MPEG-1 layer-I/II audio encoder. It is actually a very mildly warmed over version of the MPEG Software Simulation Group's reference encoder. It accepts a WAV file or stream on stdin and ouputs an a layer-I/II elementary audio stream. It is included in the mjpegtools(1) primarily for reasons of completeness and because it is able to perform sampling rate conversion.
Those seeking a faster (and probably higher quality) layer II encoder are recommended to use toolame(1) which can be obtained from:
An integer format code (e.g. %d) in the name is replaced the number of the file generated (see printf(3)).
This sets the bit-rate of the output stream in kBit/sec. Typical values for layer II might be 224kbps for good-quality audio suitable for capturing Dolby pro-logic signals. A rate of 192kbps or 128kbps is reasonable for low quality audio (e.g. mono TV audio). Really high compression is, of course, better achieved using MPEG-1 layer III ("MP3") audio encoding or AAC. A more appropriate value for layer I might be 384kbps.
Mono output does not work for layer I.
This man page was written by Andrew Stevens.
If you have questions, remarks, problems or you just want to contact the
developers, the main mailing list for the MJPEG-tools is:
mjpeg-users@lists.sourceforge.net
mpeg2enc(1), mp2enc(1), lavrec(1), lavplay(1), lav2yuv(1), lav2wav(1), yuvscaler(1)
2 June 2001 | MJPEG Tools Team |