Bosch Dinion IP NWC-0495 Security Camera

Questions? Suggestions? Need help? Talk about anything related to Yawcam...
Post Reply
Lutiana
Posts: 5
Joined: Thu Mar 18, 2010 7:09 pm

Bosch Dinion IP NWC-0495 Security Camera

Post by Lutiana »

Hi all!

I am trying to get YAWCAM to work with my Bosch Dinion NWC-0495 Camera. It is on my network and I have managed to work out that the MJPEG stream URL is:

Code: Select all

http://10.x.x.x/MJPEG.html
If I punch this into a browser the stream comes up without any problems, but when I try to use this in YAWCAM all I get is an error message saying "Could not connect to the device!"

I have no need or desire to make the camera feed available from outside of my network, I just want to be able to monitor it from the various workstations we have in the office. The camera is setup to monitor the back door so we can see who is standing there when the bell rings.

I have no idea why this is not working. Any suggestions?

EDIT: The URL Above is a page that uses Java to stream the pictures, so I amd wondering if their is a way to work out how to get the actual MJPEG stream from the camera. There are next to no resources on the web for this camera, whenever I google it all I get are sales brochures and next to no tech info.
bben95
Moderator
Posts: 39
Joined: Thu Feb 04, 2010 2:40 pm

Post by bben95 »

I think it gives you an error because the page is html. You probable need to find the java applet and link to that, or a .mjpeg file
Lutiana
Posts: 5
Joined: Thu Mar 18, 2010 7:09 pm

Post by Lutiana »

Thanks for the advice bben. I am not sure how to do this.

Here is the source of that HTML file

Code: Select all

<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="main.css">
<script type="text/javascript" LANGUAGE="JavaScript">var Dual=false;</SCRIPT>
<script type="text/javascript" LANGUAGE="JavaScript" src="config.js"></SCRIPT>
</head>
<body class="iframe_body" >
<table  border=0 width="100%" height="100% "border="0" cellspacing="0" cellpadding="0" align="center">
  <tr> 
    <td>    				        	
    <script type="text/javascript" LANGUAGE="JavaScript">
     	<!--
     		var port=window.location.port;
		if(port=='')port=80;		
     		var AvailWidth=document.body.offsetWidth;
     		var AvailHeight=document.body.offsetHeight;     		
     		var obj="<APPLET NAME='push' CODEBASE='.' Archive='Push.jar' CODE='ServPush.class'  width="+AvailWidth+" height="+AvailHeight+" MAYSCRIPT=true><PARAM NAME='width' value="+AvailWidth+"><PARAM NAME='height' value="+AvailHeight+"><PARAM NAME='port' value='"+port+"'></APPLET>";
     		document.write(obj);
     	//-->
		</script>		        	    				      		    	
    </td>

  </tr>  
</table>
</body>
</html>
Does this tell anyone anything?

Thanks again
bben95
Moderator
Posts: 39
Joined: Thu Feb 04, 2010 2:40 pm

Post by bben95 »

I can't tell what the problem is from that.
If you could set up the camera so it can be seen from outside the network then send me the address, I can have a look for you. If you don't want it to be seen publicly, you can email me: [email address removed]
Or maybe I could find the correct address for you if you send me config.js as it mentions that file in the code you already posted.
I think that config.js would be at camerasip:80/config.js

But if you just want to monitor the camera from on the network, why do you need to use yawcam? It is a ip camera so you should just be able to see it in a web browser.
Lutiana
Posts: 5
Joined: Thu Mar 18, 2010 7:09 pm

Post by Lutiana »

Code: Select all


var LA=1;
var HI='f0000d42';
var SW='58500200';
var HWTyp=0;
var HDD=1;
var Relay=1;
var ViProc='b0c20004';
var DinionFamilyID=6145;
var AlarmIn=1;
var Partions=0;
var DecoderMPEG2=0;
var Unit='vip_x';
function getLang(){return LA;}
function getHWID(){return HI;}
var VideoIn=1;
var Audio=0;
var tabMPEG4 = 2;
var tabMPEG2 = 0;
var tabJPEG  = 1;
function GetEncoderNumber(Type, Line, Instance)
{
if(Type==4)
{
return GetMPEG4EncoderNumber(Line, Instance);
}
if(Type==8)
{
return GetMPEG2EncoderNumber(Line, Instance);
}
return -1;
}
function GetMPEG2EncoderNumber(Line, Instance)
{
return -1;
}

function GetMPEG4EncoderNumber(Line, Instance)
{
	aLines = new Array(VideoIn);
	aLines[0] = new Array( 1, 2);
	if(Line < 1 || Line > aLines.length)
	{
		return -1;
	}
	if(Instance < 1 || Instance > aLines[0].length)
	{
		return -1;
	}
	return aLines[Line-1][Instance-1];
}


function GetViprocID(Line)
{
	return 'b0c20004';
}

Viewing the camera from in the browser is not as easy as it sounds, there is an ActiveX software that needs to be installed that does not play well with IE8, then I have to get Java running. Its a pain, and is surprisingly unreliable.

If I can get a simple external app to just connect to the camera and show it to me I would be very happy.

YAWCam does give me a bunch of extra features that I may or may not use.
bben95
Moderator
Posts: 39
Joined: Thu Feb 04, 2010 2:40 pm

Post by bben95 »

Sorry, I can't see the address in that javascript, but I could probably find it if you opened it up temporarily. I would also recommend that you try cameraip/push.jar in yawcam and see if that works.
Lutiana
Posts: 5
Joined: Thu Mar 18, 2010 7:09 pm

Post by Lutiana »

I have opened it up temporarily, took a little tweaking and a camera reset.

Code: Select all

http://66.92.183.125:82/
*sigh* cameraip/push.jar did not work either.
bben95
Moderator
Posts: 39
Joined: Thu Feb 04, 2010 2:40 pm

Post by bben95 »

Sorry, I am completely stuck. You might want to close the camera up now, I have finished looking at it but can't find anything, sorry.
Lutiana
Posts: 5
Joined: Thu Mar 18, 2010 7:09 pm

Post by Lutiana »

Well thanks for looking, at least I don't feel so bad about not getting it to work.

It is very frustrating how little usable information there is on the net about this camera. Its such a pity since it really is a pretty decent one.
malun
Site Admin
Posts: 1589
Joined: Sun Jan 04, 2004 1:29 pm

Post by malun »

Generally you need to point Yawcam directly to the mjpeg stream.
This usually is an address that end with video.cgi or camera.mjpeg.

You find the manual for your device here:
http://www.webcam-production.com/pdf/en ... 495_ig.pdf

Look at the image in chapter 6.1. Click on the m-jpeg tab and then right click on the image stream and choose "properties" or "image properties" to see what the url is to the actual mjpeg stream.

/malun
bben95
Moderator
Posts: 39
Joined: Thu Feb 04, 2010 2:40 pm

Post by bben95 »

jacobkrony wrote:The Bosch NWC-0495 Network Camera Dinion is a compact camera with automatic IP day / night switching capabilities, the analog video output for integration into existing CCTV systems.Dinion XF Day / Night IP cameras are modern, hybrid systems that support the direct legacy analog output, as well as modern network delivery.
I don't know why you're giving us a description of the camera...
bben95
Moderator
Posts: 39
Joined: Thu Feb 04, 2010 2:40 pm

Post by bben95 »

I just had a look at the code again. Did you try to access "Push.jar"?
z3r0c00l12
Moderator
Posts: 1210
Joined: Wed Jan 14, 2009 3:50 am

Post by z3r0c00l12 »

jacobkrony wrote:The Bosch NWC-0495 Network Camera Dinion is a compact camera with automatic IP day / night switching capabilities, the analog video output for integration into existing CCTV systems.Dinion XF Day / Night IP cameras are modern, hybrid systems that support the direct legacy analog output, as well as modern network delivery.
He's spamming disregard him.
Post Reply