Page 1 of 1

VLM and streaming multiple file

Posted: 11 Apr 2007 07:36
by linuxrocks
I am trying to stream multiple videos using VLM. I am trying to use the following configuration file

Code: Select all

blade16-vm1:~ $ cat vlc.cfg new channel1 broadcast enabled setup channel1 input /root/video_1172_128.wmv setup channel1 output #standard{mux=ogg,access=http,url=blade16-vm1:80,name="Channel 1"} new channel2 broadcast enabled setup channel2 input /root/video_1359_128.wmv setup channel2 output #standard{mux=ogg,access=http,url=blade16-vm1:80,name="Channel 2"} control channel1 play control channel2 play
When I run vlc, I see the following

Code: Select all

VLC media player 0.8.6a Janus [00000285] main interface: creating VLM [00000300] [Media: channel1] main private: creating httpd [00000285] telnet interface: using the VLM interface plugin... [00000285] telnet interface: telnet interface started on interface 4212 [00000308] [Media: channel1] mux_ogg private: Open [00000307] [Media: channel2] access_output_http private error: cannot add stream / [00000306] [Media: channel2] stream_out_standard private error: no suitable sout access module for `http/ogg://blade16-vm1:80' [00000305] [Media: channel2] main stream output error: stream chain failed for `standard{mux=ogg,access=http,url=blade16-vm1:80,name=Channel 2}' [00000304] [Media: channel2] main input error: cannot start stream output instance, aborting
When I connect using a vlc player, I can only see the first channel. How do I stream multiple files using a single VLC over http ?

TIA

Posted: 11 Apr 2007 15:42
by Teufler
I'd try to change the "mux=ogg" stuff....

Posted: 11 Apr 2007 18:02
by linuxrocks
I'd try to change the "mux=ogg" stuff....
to what ?

Posted: 11 Apr 2007 19:31
by linuxrocks
I changed the config file to this, now I can access the two streams separately.

Code: Select all

new channel1 broadcast enabled setup channel1 input /root/video_1172_128.wmv setup channel1 output #standard{mux=ts,access=http,url=blade16-vm1:80/stream1,name="Channel 1"} new channel2 broadcast enabled setup channel2 input /root/v.wmv setup channel2 output #standard{mux=ts,access=http,url=blade16-vm1:80/stream2,name="Channel 2"} control channel1 play control channel2 play

Posted: 14 Apr 2007 14:11
by dionoea
name=" " is only useful for SAP announces (which you're not using). So you can remove that part.

Posted: 18 Apr 2007 14:26
by atomikramp
do you know if i can use a similar configuration file, or do you have any example of configuration doing the same thing but using RTSP instead of http?

Posted: 03 May 2007 19:42
by linuxrocks
I am able to stream multiple files using the config file posted above. But, there seems to be a limit on number of files I can stream this way. I want to have 1000 or more videos to be streamed simultaneously. How do I achieve this ?

Posted: 08 May 2007 19:38
by dionoea
Do you have enough bandwidth to stream 1000 video at the same time?

Re: VLM and streaming multiple file

Posted: 25 Jul 2007 08:49
by dynamitemedia
what is the limit of streams?

or rather how many can you have in your braodcast section ready to play via the scheduling?

so since # 1 broadcast input is a live feed which will just stop at times thats great.

but how many inputs can you have in there?

and how many scheduled evnts can you have?

thanks