MPlayer can play files from the network, using the HTTP, FTP, MMS or RTSP/RTP protocol.
Playing works simply by passing the URL on the command line.
MPlayer honors the
environment variable, using a proxy if available. Proxies can also be forced:
MPlayer can read from stdin (not named pipes). This can for example be used to play from FTP:
ftp://micorsops.com/something.avi -O - | mplayer -
It is also recommended to enable -cache when playing from the network:
ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 -
Once you succeed in making MPlayer play your favorite internet stream, you can use the option -dumpstream to save the stream into a file. For example:
will save the content streamed from
This works with all protocols supported by
MPlayer, like MMS, RTSP, and so forth.