Re: lame 4.0 released
Fabian Greffrath via Lame-dev <[email protected]> Mon, 20 Jul 2026 09:18:57 +0200
| Newsgroups | gmane.comp.audio.mp3.lame |
|---|---|
| Message-ID | <[email protected]> |
Please find below a manpage for the mp3rtp frontend: .TH MP3RTP 1 "2026" "LAME" "User Commands" .SH NAME mp3rtp \- encode audio to MP3 and stream it via RTP .SH SYNOPSIS .B mp3rtp .I ip\fR[\fI:port\fR[\fI:ttl\fR]] .RI [ "lame options" ] .I infile .I outfile .SH DESCRIPTION .B mp3rtp is a frontend to the LAME MP3 encoder that reads audio data, encodes it to MP3 in real time and simultaneously streams the resulting MP3 frames as RTP packets to a given IP address, instead of (or in addition to) writing them to a file. It is typically used to broadcast a live or recorded audio source, e.g. from a sound card or another encoder, to a multicast or unicast network address. .PP Besides the RTP target, all standard LAME command line options for input handling and MP3 encoding (bitrate, VBR quality, sampling rate, etc.) are accepted; see .BR lame (1) for the full list. .SH OPTIONS .TP .I ip[:port[:ttl]] Destination IP address for the RTP stream. Port defaults to 5004 and TTL defaults to 2 if omitted. Use a multicast address to reach several receivers at once. .TP .I "lame options" Any encoding option understood by .BR lame (1), e.g. .B \-b (bitrate), .B \-V (VBR quality) or .B \-\-resample . .TP .I infile Input audio file, or .B \- to read from standard input (e.g. from .BR arecord (1)). .TP .I outfile Output MP3 file that additionally receives the encoded stream, or .B \- to discard local storage (e.g. .IR /dev/null ). .SH EXAMPLES .nf arecord \-b 16 \-s 22050 \-w | mp3rtp 224.17.23.42:5004:2 \-b 56 \- /dev/null arecord \-b 16 \-s 44100 \-w | mp3rtp 10.1.1.42 \-V2 \-b128 \-B256 \- out.mp3 .fi .SH AUTHOR Felix von Leitner <[email protected]> .SH SEE ALSO .BR lame (1)