Page 1 of 1

can you simultaneously play more than 3 channels with VLM?

Posted: 17 Mar 2006 06:29
by imad.hammad
I need to forward 3 different videos from my home pc to 3 other machines on my local network.

They need to be playing simultaneously......so i basically make 3 different channels (one for each video) each with an output pointing to one of the 3 computers i am trying to reach. The first two computers get the stream successfully but then when i try "playing" the last channel to send the stream to the 3rd computer one of the other computers pauses the video!

So it seems as though i can only have two channels under "play" mode simultaneously...is this indeed the case?

The configuration i set up on my home pc consists of 3 channels all setup as follows:

new 1 broadcast enabled
setup 1 input udp:192.168.1.2
setup 1 output #duplicate{dst=standard{access=udp,mux=ts,url=192.168.1.4}"
control 1 play

The input is a udp address because the home PC is streaming the video itself.....

basically i just need to know is it possible to have 3 channels all under "control <1> play"

Thank you very much

I think i found the problem, but now i need a solution

Posted: 17 Mar 2006 19:50
by imad.hammad
I believe i found the problem through further experimentation but now i need a solution!

As a further explanation of what i am trying to accomplish, I basically have one stream coming into my home pc (192.168.1.2) but i wish to output to 2 different machines/ip addresses. I cant do these outputs all in the same channel because i need to treat each output differently (some option, and transcode). So basically i want three seperate channels but all must share the same input....so here a configuration i have (i did this all on one machine just for testing)

new local broadcast enabled
setup local input /home/Imad/1.avi
setup local output #duplicate{dst=display,dst=standard{access=udp,mux=ts,url=192.168.1.2:1111}}
control local play

new 1 broadcast enabled
setup 1 input udp://@:1111
setup 1 output #duplicate{dst=display,dst=standard{access=udp,mux=ts,url=192.168.1.2:2222}}
control 1 play

new 2 broadcast enabled
setup 2 input udp://@:1111
setup 2 output #duplicate{dst=display,dst=standard{access=udp,mux=ts,url=192.168.1.2:3333}}
control 2 play

The problem i face is that once channel 2 starts playing, it pauses channel 1! i guess this means that only person can listen on a udp socket at a time........but i need a solution :(

does anyone have any ideas?

Posted: 17 Mar 2006 22:10
by dionoea
vlc --vout-filter clone --clone-count 3 file.avi