in reply to On-the-fly Wav to mp3 encoding
A possible solution is Audio::MPEG that can convert from/to mp3 using lame library. That module, unfortunately, doesn't compile with latest release of lame (v 3.93).
Ciao, Valerio