[FFmpeg-devel] [PATCH] avcodec/libtwolame: fix mono default bitrate

Moritz Barsnick barsnick at gmx.net
Fri Nov 1 21:26:48 EET 2019


On Fri, Nov 01, 2019 at 08:51:07 +0000, James Cowgill wrote:
> As of libtwolame 0.4.0, 384 kbps is not accepted as a valid bitrate
> for encoding mono audio and the maximum bitrate is now halved to 192
> kbps to comply with the MP2 standard. Example error:

I also just noticed this, after update to twolame-0.4.0.

Does this imply that the native mp2 encoder is creating invalid mono
streams? (It too apparently defaults to 384k, even in mono mode, and
allows setting it.)

Moritz


More information about the ffmpeg-devel mailing list