From 6d21e908a0cc9fccdcfa0063af05cd1627dcc9bb Mon Sep 17 00:00:00 2001 From: nicolas Date: Mon, 21 Apr 2003 21:04:59 +0000 Subject: patch by Albeu, corrected by Diego Biurrun & me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9967 b3059339-0415-0410-9bf9-f77b7e298cf2 --- DOCS/xml/en/usage.xml | 54 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) (limited to 'DOCS') diff --git a/DOCS/xml/en/usage.xml b/DOCS/xml/en/usage.xml index b8e7b949b5..cea92ee493 100644 --- a/DOCS/xml/en/usage.xml +++ b/DOCS/xml/en/usage.xml @@ -432,5 +432,59 @@ play from FTP: Note: it's also recommended to enable CACHE when playback from network: wget ftp://micorsops.com/something.avi -O - | mplayer -cache 8192 - + + + +Remote streams + + +Remote streams allow you to access most MPlayer +stream type from a remote host. The main purpose of this feature is to make +it possible to directly use the CD or DVD drive of another computer on the +network (provided you have the required bandwidth). On the downside some +stream type (currently TV and MF) are not useable remotely because they are +implemented at the demuxer level. It's sad for MF but TV stream would anyway +require an insane amount of bandwith. + + + +Compiling the server + +After having compiled MPlayer go to the +TOOLS/netstream directory and enter +make to build the server binary. +You can then copy the netstream binary +to the right place on your system (usely /usr/local/bin +on Linux). + + + + +Using remote streams + +First you have to start the server on the computer you intend to remotely +access. Currently the server is very basic and doesn't have any commands +line arguments so just enter netstream. Now you can +for example play the second track of a VCD on the server with : + +mplayer -cache 5000 mpst://servername/vcd://2 + +You can also access files on this server : + +mplayer -cache 5000 mpst://servername//usr/local/movies/lol.avi + +Note that paths wich aren't starting with a / will be relative to +the directory where the server is running. The cache option is not +needed but highly recommended. + + + +Be aware that currently the server is not secure at all. So don't complain +about the numerous exploits wich are possible through this. Instead send +some (good) patch to make it better or start writing your own server. + + + + -- cgit v1.2.3