[streaming] Re: VLC as a VOD server
Pablo Andrés Orellana Vega
pablo.orellana.vega at gmail.com
Thu Apr 5 22:21:36 CEST 2007
Hi,
this a mini How-To. I found It in the videolan forum. (I recommend use the
VLM configuration, it really work for me)
**************************************************************************************************************************
To Quote:
*Video On Demand*
Basic example
First launch the vlc
*% vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan
--rtsp-host 0.0.0.0:5554*
where:
*12* 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).
*telnet* launches the telnet interface of the vlc.
videolan is the password to connect to the telnet interface.
*0.0.0.0* is the host address.
*5554* is the port on which you stream.
Then you connect to the vlc telnet interface and create the vod object
new Test vod enabled
setup Test input my_video.mpg
You can access to the stream with:
*% vlc rtsp://server:5554/Test*
where:
*server* is the address of the streaming server (IP or DNS)
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=
OR YOU CAN fire up vlc's gui and select File-Open Network Stream- and select
rtsp and rtsp://server:5554/Test
*AND THEN* What Really works for me (to quote again, from up the page)
Configuration Files
A VLM configuration file is a list of command lines : one line corresponds
to one command line.
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.
As of versions > 0.8.1, any line where the first non white space character
is a # is considered as a comment.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
So anyways, your configuration file look like this:
new test vod enabled
setup test input test.mpg
new test2 vod enabled
setup test input test2.mpg
save it with your videos with a .vlm extension
and then, cd into the directory where you have your videos,
and fire up vlc by typing
*vlc --vlm-conf nameofconfigfile.vlm --ttl 12 -vvv --color -I telnet
--telnet-password videolan --rtsp-host 0.0.0.0:5554*
you know, I guess we could leave out the telnet and telnet-password flags,
now that we are feeding it via a vlm-conf
**************************************************************************************************************************
Regards,
Pablo O.
2007/4/5, Ajmal, Humayun <Humayun_Ajmal at mentor.com>:
>
> Hi,
>
>
>
> 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?
>
>
>
> Thanks
>
> Humayun
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.videolan.org/pipermail/streaming/attachments/20070405/ae475cdf/attachment.htm
More information about the streaming
mailing list