better way of recording network stream

I found that, instead of using vlc player, will be better to use Mplayer.