Chapter 5. VLM - Multiple streaming and Video on demand
Scheduled broadcasting
new my_media broadcast enabled
setup my_media input my_video.mpeg input my_other_movie.mpeg
setup my_media output #rtp{mux=ts,dst=239.255.1.1,port=5004,sdp=sap://,name="My Media"}
new my_sched schedule enabled
setup my_sched date 2012/12/12-12:12:12
setup my_sched append control my_media play
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)
39
Comentarios a estos manuales