Streaming from Multiple ip cameras

All you've ever wanted to know about VLMa.
Forum rules
This forum is not about VLM usage. Please read the rules post for more information.
mmae2000
New Cone
New Cone
Posts: 3
Joined: 15 Jun 2009 11:38

Streaming from Multiple ip cameras

Postby mmae2000 » 15 Jun 2009 11:59

Dear
I am trying to rebroadcast the stream of 4 ip cameras using vlc/vlm (which is installed on Debian operating system).
I tried this code for the vlm configuration file:

# 1st camera --- Unicast stream
new channel11 broadcast enabled
setup channel11 input rtsp://1st.camera.ip.address/live.sdp
setup channel11 output #transcode{vcodec=WMV2,fps=30,height=200}:std{access=http,mux=ts,dst=the.server.ip.address:8011}
control channel11 play

# 1st camera --- Multicast stream
new channel12 broadcast enabled
setup channel12 input rtsp://1st.camera.ip.address/live.sdp
setup channel12 output #std{access=rtp,mux=ts,dst=214.1.1.11:1234}
control channel12 play



# 2nd camera --- Unicast stream
new channel21 broadcast enabled
setup channel21 input rtsp://2nd.camera.ip.address/live.sdp
setup channel21 output #transcode{vcodec=WMV2,fps=30,height=200}:std{access=http,mux=ts,dst=the.server.ip.address:8012}
control channel21 play

# 2nd camera --- Mutlicast stream
new channel22 broadcast enabled
setup channel22 input rtsp://2nd.camera.ip.address/live.sdp
setup channel22 output #std{access=rtp,mux=ts,dst=214.1.1.12:1234}
control channel22 play



# 3rd camera --- Unicast stream
new channel31 broadcast enabled
setup channel31 input rtsp://3rd.camera.ip/live.sdp
setup channel31 output #transcode{vcodec=WMV2,fps=30,height=200}:std{access=http,mux=ts,dst= the.server.ip.address:8013}
control channel31 play

# 3rd camera --- Multicast stream
new channel32 broadcast enabled
setup channel32 input rtsp://3rd.camera.ip/live.sdp
setup channel32 output #std{access=rtp,mux=ts,dst=214.1.1.13:1234}
control channel32 play



# 4th camera --- Unicast stream
new channel41 broadcast enabled
setup channel41 input rtsp://4th.camera.ip/live.sdp
setup channel41 output #transcode{vcodec=WMV2,fps=30,height=200}:std{access=http,mux=ts,dst= the.server.ip.address:8014}
control channel41 play

# 4th camera --- Multicast stream
new channel42 broadcast enabled
setup channel42 input rtsp://4th.camera.ip/live.sdp
setup channel42 output #std{access=rtp,mux=ts,dst=214.1.1.14:1234}
control channel42 play

it is working but strangely every time I try to run it some cameras work and the others didn't, also if my luck was good and all of them work good after some time on or more camera fail
Please tell me what is wrong

Best regards,
Mostafa

bluetick
New Cone
New Cone
Posts: 6
Joined: 16 Mar 2009 22:03

Re: Streaming from Multiple ip cameras

Postby bluetick » 20 Oct 2009 06:34

If your willing to switch from vlc, you could use motion on freebsd or linux. I use motion at work with several ip cameras set for motion detection record only.
Motion has a built in web server for each camera. Cpu loading is lite. HTH

peladobonansea
New Cone
New Cone
Posts: 7
Joined: 21 Oct 2009 15:23
Operating System: Linux
Location: Rosario Argentina

Re: Streaming from Multiple ip cameras

Postby peladobonansea » 22 Oct 2009 17:44

I'm triying a similar configuration with some nasty results.

First launch a vlc process using this conf.
#Canal 3
new channel3 broadcast enabled
setup channel3 input rtsp://piblicIP:5554/canal3.sdp
setup channel3 output #transcode{vcodec=h264,vb=2000,acodec=mp4a,ab=128,scale=1,deinterlace}:std{access=http,mux=ts,dst=127.0.0.1:1253}
control channel3 play

# Canal 5
new channel5 broadcast enabled
setup channel5 input rtsp://piblicIP:5555/canal5.sdp
setup channel5 output #transcode{vcodec=h264,vb=2000,acodec=mp4a,ab=128,scale=1,deinterlace}:std{access=http,mux=ts,dst=127.0.0.1:1255}
control channel5 play

Second launch another vlc proces using this conf.

# Canal 3 test
new channel3 broadcast enabled
setup channel3 input http://127.0.0.1:1253
setup channel3 output #std{access=udp,mux=ts,dst=publicIPx:1234}
control channel3 play


# Canal 5 test
new channel5 broadcast enabled
setup channel5 input http://127.0.0.1:1255
setup channel5 output #std{access=udp,mux=ts,dst=publicIPx:1235}
control channel5 play

This two unicasts are received by an aminet 125, the problem is that the firts unicast give only sound, and the second give me only video....any idea about this?
The idea is to sen various of this udp unicast to some devices without using mcast.


Return to “VideoLAN Manager (VLMa)”

Who is online

Users browsing this forum: No registered users and 7 guests