I don't know much about mplayer, but you could use ffmpeg to create flv's out of existing videos:
ffmpeg -i vidfile.mp4 -vcodec copy -acodec copy vidfile.avi
You can follow the ffmpeg guide http://ffmpeg.org/trac/ffmpeg/wiki/StreamingGuide, if you want to stream the files without saving the converted content.