Hi, I'm trying to change a variety of MP3s into a standard 128kbps 44.1khz joint stereo MP3. Most of this works great with the Lame command line front end - unless the input MP3 is already mono. In that case, Lame chooses to output a mono MP3, even if I explicitly specify a "-m j" option.
I've created a patch on the Lame 3.97 code base that fixes this. It checks for stereo or joint-stereo output mode and a single input channel before lame_init_params() is called, and sets a monoToStereo flag before changing the number of input channels to 2. When encoding the MP3 data, the mono data is sent as both left and right data parameters if the monoToStereo flag is set. Is this a valid fix? Are you interested in committing this patch against the Lame code base? Thanks for your time, John -- John Snelson, XML Consultant +44-1865-811184 Parthenon Computing Ltd http://blog.parthcomp.com/dbxml _______________________________________________ mp3encoder mailing list [email protected] https://minnie.tuhs.org/mailman/listinfo/mp3encoder
