IP Camera Connection (RTSP) Not Working

Asked by Mark M

Hi Guys,

I have been playing with Xibo for a few days and I really like it - lots of good features! I do have one problem though, I would like to get a camera viewed on the Windows client.

I have the IP camera at (RTSP and HTTP), login/password admin:admin. I have tried the following:

Streaming from VLC (works on preview, does not work in Windows 7 x86):

<object codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701"
standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">
<param name="FileName" value="">
<param name="DisplaySize" value="0"/>
<param name="ShowControls" value="0">
<param name="ShowStatusBar" value="0">

<PARAM NAME="stretchToFit" VALUE="1">

<embed type="application/x-mplayer2"pluginspage="http://www.microsoft.com/isapi/redir.dll?prd=windows&sbp=mediaplayer&ar=media&sba =plugin" filename="" name="WMPlay" showcontrols="0" showdisplay="0" showstatusbar="0" autostart="true"width="640" height="480">

Direct via RTSP (works on preview, does not work in Windows 7 x86, VLC ActiveX will not load):

  <BODY marginwidth="0" marginheight="0" topmargin="0" leftmargin="0">

I cannot get the "Local Video" to work whatsoever with VLC or RTSP streaming either (using the address above). Does anyone know what I can do to solve this?

Thanks very much!

Question information

English Edit question
Xibo Edit question
No assignee Edit question
Solved by:
Mark M
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :

Use the LocalVideo media type (you may need to Enable it) and put in your
RTSP stream URL

Revision history for this message
Mark M (q-mark-p) said :

Hi Alex,

Thanks very much for the reply - unfortunately, the LocalVideo with RTSP did not work for either.

I did, however, manage to get it working with VLC by doing the following on my viewing PC (for anyone else who is having issues):

1) Clean install of Windows 7 x86 (x64 works as well)
2) Ensure Windows is up to date
4) Open up Windows Media Player, use recommended settings
5) Install the latest VLC media player from VideoLAN.org
6) Open up Internet Explorer, go to Internet Options > Advanced > Security > Check "Allow active content to run from My Computer*"
7) Used the following snippet in Xibo, under Embedded HTML, for my camera (you can search up your IP camera to get the correct substream info - my camera is a Hikvision DS-2CD2032 camera):

<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" width="640" height="480" id="vlc" events="True">
<param name="src" value="rtsp://admin:admin@">
<param name="showdisplay" value="True">
<param name="autoloop" value="True">
<param name="autoplay" value="True"><embed height="480" width="640" type="application/x-vlc-plugin" id="vlc" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" autoplay="yes" target="rtsp://admin:admin@"></object>
<embed height="480" width="640" type="application/x-vlc-plugin" id="vlc" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" autoplay="yes" target="rtsp://admin:12345@">

Xibo is a wonderful product - thanks again, Alex!

Revision history for this message
Dan Garner (dangarner) said :

Xibo uses Windows Media Player behind the scenes - so if you had managed to get your stream working in WMP, then it should have played in the Local Video module.

It may have been that WMP couldn't play the rtsp stream for some reason.

Anyway, glad you have it working!