Hi, <br><br>this a mini How-To. I found It in the videolan forum. (I recommend use the VLM configuration, it really work for me)<br><br>**************************************************************************************************************************
<br>
<p class="MsoNormal"><span class="postbody">To Quote: </span><br>
<br>
<span class="postbody"><b>Video On Demand</b> </span><br>
<span class="postbody">Basic example </span><br>
<br>
<span class="postbody">First launch the vlc </span><br>
<br>
<span class="postbody"><b><i>% vlc --ttl 12 -vvv --color -I telnet
--telnet-password videolan --rtsp-host <a href="http://0.0.0.0:5554">0.0.0.0:5554</a></i></b> </span><br>
<br>
<span class="postbody">where: </span><br>
<span class="postbody"><b>12</b> is the value of the TTL (Time To Live) of your
IP packets (which means that the stream will be able to cross 11 routers). </span><br>
<span class="postbody"><b>telnet</b> launches the telnet interface of the vlc. </span><br>
<span class="postbody">videolan is the password to connect to the telnet
interface. </span><br>
<span class="postbody"><b><a href="http://0.0.0.0">0.0.0.0</a></b> is the host address. </span><br>
<span class="postbody"><b>5554</b> is the port on which you stream. </span><br>
<br>
<span class="postbody">Then you connect to the vlc telnet interface and create
the vod object </span><br>
<br>
<span class="postbody">new Test vod enabled </span><br>
<span class="postbody">setup Test input my_video.mpg </span><br>
<br>
<span class="postbody">You can access to the stream with: </span><br>
<br>
<span class="postbody"><b><i>% vlc <a href="rtsp://server:5554/Test" target="_blank">rtsp://server:5554/Test</a></i></b> </span><br>
<span class="postbody"></span></p><p class="MsoNormal"><span class="postbody">where: </span><br>
<span class="postbody"><b>server</b> is the address of the streaming server (IP
or DNS) </span><br>
<span class="postbody">=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=
</span><br>
<span class="postbody">OR YOU CAN fire up vlc's gui and select File-Open Network
Stream- and select rtsp and <a href="rtsp://server:5554/Test" target="_blank">rtsp://server:5554/Test</a>
</span><br>
<br>
<span class="postbody"><b>AND THEN</b> What Really works for me (to quote again,
from up the page) </span><br>
<br>
<span class="postbody">Configuration Files </span><br>
<span class="postbody">A VLM configuration file is a list of command lines : one
line corresponds to one command line. </span><br>
<br>
<span class="postbody">To create a configuration file, just edit a text file and
type a list of VLM commands. Beware of recursive calls: you an put a load
(file) in a configuration file which can lead to recursive inclusion of the
same file and result in VLC's crash. </span><br>
<br>
<span class="postbody">As of versions > 0.8.1, any line where the first non
white space character is a # is considered as a comment. </span><br>
<span class="postbody">-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- </span><br>
<span class="postbody">So anyways, your configuration file look like this: </span><br>
<br>
<span class="postbody">new test vod enabled </span><br>
<span class="postbody">setup test input test.mpg </span><br>
<br>
<span class="postbody">new test2 vod enabled </span><br>
<span class="postbody">setup test input test2.mpg </span><br>
<br>
<span class="postbody">save it with your videos with a .vlm extension </span><br>
<br>
<span class="postbody">and then, cd into the directory where you have your
videos, </span><br>
<span class="postbody">and fire up vlc by typing </span><br>
<br>
<span class="postbody"><b>vlc --vlm-conf nameofconfigfile.vlm --ttl 12 -vvv
--color -I telnet --telnet-password videolan --rtsp-host <a href="http://0.0.0.0:5554">0.0.0.0:5554</a></b> </span><br>
<br>
<br>
<span class="postbody">you know, I guess we could leave out the telnet and
telnet-password flags, now that we are feeding it via a vlm-conf</span></p>
**************************************************************************************************************************<br>Regards, <br><br>Pablo O.<br><br><br><div><span class="gmail_quote">2007/4/5, Ajmal, Humayun <
<a href="mailto:Humayun_Ajmal@mentor.com">Humayun_Ajmal@mentor.com</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div link="blue" vlink="purple" lang="EN-US">
<div>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Hi, </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I want to setup VLC as a VoD server in Windows .Anyone can
list the steps? I have setup the IP and port in the Prefrences->VoD->RTSP
VoD, but how to set the path for the contents the server will stream? </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;"> </span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Thanks</span></font></p>
<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">Humayun</span></font></p>
</div>
</div>
</blockquote></div><br>