FFMPEG and mp3 without separate LAME encoder trick.
Posted: Fri May 07, 2010 6:16 pm
I've just installed the new beta version of Audacity here, along with the FFMPEG libraries. I was surprised that mp3 encoding still wanted to use the LAME encoding library only, since encoding the mp3 format is one of FFMPEG's specialties, and I thought Audacity would use the second library if the first was not present. Thus, I experimented, and came up with this. I thought I'd share this tip, since I couldn't find anything similar using Google, and this worked for me. (Windows XP SP3. Vista and 7 user's mileage may vary)
I originally tried using the avformat-52.dll in the lame-enc library entry, just like the ffmpeg library entry uses, but that gave me an error, so on a whim, I tried using the libmp3lame-0.dll in place of the lame-enc.dll it wanted, and this worked, Metadata and bitrate options included. It identifies the dll as LAME 3.98.2
Anyhow from preferences -> Libraries, this is what I did:

The only thing where it may not be working correctly, is in the joint-stereo area, since this method makes my test mp3 about twice as large as using the "stereo" option.
I originally tried using the avformat-52.dll in the lame-enc library entry, just like the ffmpeg library entry uses, but that gave me an error, so on a whim, I tried using the libmp3lame-0.dll in place of the lame-enc.dll it wanted, and this worked, Metadata and bitrate options included. It identifies the dll as LAME 3.98.2
Anyhow from preferences -> Libraries, this is what I did:

The only thing where it may not be working correctly, is in the joint-stereo area, since this method makes my test mp3 about twice as large as using the "stereo" option.