VLM and streaming multiple file

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
linuxrocks
New Cone
New Cone
Posts: 5
Joined: 11 Apr 2007 07:31

VLM and streaming multiple file

Postby linuxrocks » 11 Apr 2007 07:36

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

Teufler
Blank Cone
Blank Cone
Posts: 11
Joined: 22 Mar 2007 13:20
Contact:

Postby Teufler » 11 Apr 2007 15:42

I'd try to change the "mux=ogg" stuff....

linuxrocks
New Cone
New Cone
Posts: 5
Joined: 11 Apr 2007 07:31

Postby linuxrocks » 11 Apr 2007 18:02

I'd try to change the "mux=ogg" stuff....
to what ?

linuxrocks
New Cone
New Cone
Posts: 5
Joined: 11 Apr 2007 07:31

Postby linuxrocks » 11 Apr 2007 19:31

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

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 14 Apr 2007 14:11

name=" " is only useful for SAP announces (which you're not using). So you can remove that part.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

atomikramp
New Cone
New Cone
Posts: 5
Joined: 13 Mar 2007 11:44

Postby atomikramp » 18 Apr 2007 14:26

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?

linuxrocks
New Cone
New Cone
Posts: 5
Joined: 11 Apr 2007 07:31

Postby linuxrocks » 03 May 2007 19:42

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 ?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 08 May 2007 19:38

Do you have enough bandwidth to stream 1000 video at the same time?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

dynamitemedia
Blank Cone
Blank Cone
Posts: 60
Joined: 15 Jul 2007 23:30

Re: VLM and streaming multiple file

Postby dynamitemedia » 25 Jul 2007 08:49

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


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 3 guests