# HG changeset patch # User nicolas # Date 1050959099 0 # Node ID 9aeb208399698a3e773e4a6a9e1007db94dc7617 # Parent 692c4467da42130f6266cb32c8162f5c82c21f16 patch by Albeu, corrected by Diego Biurrun & me diff -r 692c4467da42 -r 9aeb20839969 DOCS/xml/en/usage.xml --- a/DOCS/xml/en/usage.xml Mon Apr 21 20:13:21 2003 +0000 +++ b/DOCS/xml/en/usage.xml Mon Apr 21 21:04:59 2003 +0000 @@ -433,4 +433,58 @@ 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. + + + + +