cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

7145
Views
0
Helpful
6
Replies
Highlighted

Cisco 4500 Camera Multicast Stream with VLC

Hi All,

I want to watch Multicast stream from cisco 4500 HD camera on my network with VLC player, but i couldnt find the URL. Did anyone tried that, it would be great if you help me on this.

Regards,

Everyone's tags (7)
6 REPLIES 6
Beginner

Re: Cisco 4500 Camera Multicast Stream with VLC

I dont't think it is as simple as you think,,,

Have you tried the cam api http://http://www.cisco.com/en/US/docs/security/physical_security/video_surveillance/ip_camera/hd_camera/4000_series/api.pdf ?

Watching the stream over the VSMS is quite easier !!

Re: Cisco 4500 Camera Multicast Stream with VLC

Hi Thanks for the answering the question,

Yes it is easier with VSMS but VSMS only use unicast with end device and in my senerio take all those streams from VSMS servers puts alot of procces to VSMS. I need multicasting for analytics. In this deployment i use 4ru servers and only HD cameras so taking feeds directly form camera using multicasting seems the best solution. Thanks for the guide. By using wireshark i was able to get necessary URL and now able to recieve multicast feed from camera and play it back with VLC.

Thanks again for information.

Beginner

Re: Cisco 4500 Camera Multicast Stream with VLC

so, why don't you write down a short howto in in a couple of lines?

how do obtain a session ID?

Do you use the following line?

http://169.254.1.1/System.xml?version=1.0&action=login&userName=admin&password=mypwd

How to get the video stream/the URL within VLC, how to put  the SessionId in VLC?

Re: Cisco 4500 Camera Multicast Stream with VLC

Hi,

Sure its not a problem,

open wireshark and log on to camera web page,
Than press the capture button at wireshark and press the view video button at the web page
Stop the capture at wireshark
On the logs look for a line with an info section starting with

"OPTIONS rtsp://XXX.XXX.XXX.XXX:554/StreamingSetting?version=1.0&sessionID=80908194&action=getRTSPStream&ChannelID=1&ChannelName=Channel1&EncoderPort=0 RTSP/1.0"
Open VLC
Press Ctrl+n
Paste the link

"rtsp://XXX.XXX.XXX.XXX:554/StreamingSetting?version=1.0&sessionID=80908194&action=getRTSPStream&ChannelID=1&ChannelName=Channel1&EncoderPort=0"

And you will get your Multicast stream.

For analytics, software team wrote a code, i think its C# or maybe c, by using API they log on to the camera get a session id past it to the URL and get the multicast stream directly from camera.

One bad thing about this is number of sessions are limited to 10 even though its a multicast stream i am not able to take the 11th stream from camera.

Cisco Employee

Re: Cisco 4500 Camera Multicast Stream with VLC

In order to get a session ID I logged into the camera (IP 192.168.1.131)  and went to stream settings and looked for a session ID in the url,  in my case for this session only it was 28333424:

I am using a Mac (safari) and don't have access to IE but I got the session ID and built the URL for VLC:

rtsp://192.168.1.131/StreamingSetting?version=1.0&sessionID=28333424&action=getRTSPStream&ChannelID=1&ChannelName=Channel1

Only thing I changed was the sessionID, the IP address - everything else on the camera was factory and

I am running firmware version: 2.3.0-188

I then pasted that into VLC ( I am running the Mac Version 1.1.11 The Luggage (Intel 64bit))

At this point VLC crashed.

So I enabled Channel 2 on the camera and enabled SRTP with the defaults and tried that with VLC using with this URI:

rtsp://192.168.1.131/StreamingSetting?version=1.0&sessionID=28333424&action=getRTSPStream&ChannelID=2&ChannelName=Channel2

Same session ID from above (I didn't log off or close the browser on my mac to the 4500 camera)

This worked for me using Channel2 - there seems to be a bug in the mac vlc version for channel 1.

I also tried the little bit of testing from bcc above with:

http://192.168.1.131/System.xml?version=1.0&action=login&userName=admin&password=Cisco123

but that won't give me a session ID all I got is:

Re: Cisco 4500 Camera Multicast Stream with VLC

Hi did you try the port 554, when i look i didnt saw it.

you wrote

rtsp://192.168.1.131/StreamingSetting?version=1.0&sessionID=28333424&action=getRTSPStream&ChannelID=1&ChannelName=Channel1

try with this

rtsp://192.168.1.131:554/StreamingSetting?version=1.0&sessionID=28333424&action=getRTSPStream&ChannelID=1&ChannelName=Channel1