I’ve been downloading music from imeem.com and the biggest problem was encoding files from .flv to mp3, in linux we don’t need any strange program , the terminal is all we need (and one or two things installed).

At first we are going to encode from flv to wav with mplayer
mplayer -ao pcm -vo audiodump.wav somefile.flv

Then we encode the mp3 (from the wav file)
lame audiodump.wav -q 2 -b 192 somefile.mp3

see man lame for more details.

i’ve made two scripts, can be found here