It's simple to convert an audio file to flv via ffmpeg: ffmpeg -i input.mp3 -acodec libmp3lame -f flv -ac 1 -ar 44100 -ab 64k -y out.flv I try to use mencoder to convert the audio: mencoder input.mp3 -oac mp3lame -ovc raw -vf noformat -o out.flv But it tells me "Video stream is mandatory". Thanks for the answers. Zhou Guoqiang