NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) v
« Previous 1 … 72 73 74 75 76 … 125 Next »
SecurityCam plugin

 
  • 0 Vote(s) - 0 Average
SecurityCam plugin
bneuman
Offline

Junior Member

Posts: 43
Threads: 8
Joined: Oct 2005
#1
2005-11-03, 09:49 PM
jorm,

Ok, everything is installed. The camera has a built in server. Needs no connection to a PC. It has a fixed IP address.

So now what? How can I help?

Bill
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#2
2005-11-03, 09:56 PM
open up webcams.xml in the gbpvr directory

<camera name="Office" url="http:\\ip\image.jpg"/>

change ip to your cameras ip address or name.
Can you access an image like
http:\\ip\image.jpg from your browser.

You might need to change the image name. I dont have an ip camera so am not exactly sure how they work. Smile

Let me know if you can see it.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
bneuman
Offline

Junior Member

Posts: 43
Threads: 8
Joined: Oct 2005
#3
2005-11-04, 03:08 AM
jorm Wrote:Can you access an image like
http:\\ip\image.jpg from your browser.

You might need to change the image name. I dont have an ip camera so am not exactly sure how they work. Smile

Let me know if you can see it.

Unfortunately I can't access an image this way. Punch in IP address in the browser brings up, http://XXX.XXX.X.XX/view/index.shtml. The built in server creates a web page with some javascript code to generate the images. heres the code:

<SCRIPT LANGUAGE="JavaScript">
<!--//hide script
if ((navigator.appName == "Microsoft Internet Explorer")&&(navigator.platform != "MacPPC")&&(navigator.platform != "Mac68k"))
{
document.write("<OBJECT ID=\"CamImage\" WIDTH=\"320\" HEIGHT=\"240\" ");
document.write("CLASSID=CLSID:917623D1-D8E5-11D2-BE8B-00104B06BDE3 CODEBASE=\"/activex/AxisCamControl.ocx#Version=1,0,1,34\">");
document.write("<PARAM NAME=\"URL\" VALUE=\"/cgi-bin/fullsize.jpg");

document.write("?motion=1\">");

document.write(" <FONT style=\"font-family:arial, helvetica; font-size:13px;\"><BR><B>Axis ActiveX Camera Control</B><BR>");
document.write("The AXIS ActiveX Camera Control, which enables you to view live image streams in Microsoft Internet Explorer, could not be registered on your computer.<BR>");
document.write("</OBJECT>");
}
else
{
theDate = new Date();
var output = "<img SRC=\"/cgi-bin/fullsize.jpg?";

output += "motion=1&dummy=";

output += theDate.getTime()
output += "\" ALT=\"Press Reload if no image is displayed\">";
document.write(output);
}
//end hide --></SCRIPT>

Another way would be to run an ftp server and have the camera send image to ftp server. Then I guess the image could be used.

Bill
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#4
2005-11-04, 03:19 PM
Looking at the html it looks like it is loading the following file.

http://XXX.XXX.X.XX/view/cgi-bin/fullsize.jpg

That doesn't work?
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
bneuman
Offline

Junior Member

Posts: 43
Threads: 8
Joined: Oct 2005
#5
2005-11-04, 04:15 PM
Yeah I tried that and it did display the image but when I tried it 2 mins later it was the same image. Tried it again a few minsutes later and it was the original pic. I was kind of tired and maybe got mixed up. I know I didn't see any image through securitycam thou....

I'll play more when I get home....

Bill
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#6
2005-11-04, 04:49 PM
paste the following in notepad and save it as something.html

<html>

<script>
theDate = new Date();
var output = "/cgi-bin/fullsize.jpg?";

output += "motion=1&dummy=";

output += theDate.getTime()

document.write(output);
</script>
</html>


then click on it. It will generate a path add the ip in the front and see if you see it update. Then I can update the code accordingly.
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
bneuman
Offline

Junior Member

Posts: 43
Threads: 8
Joined: Oct 2005
#7
2005-11-04, 09:49 PM
Well I clicked on html file 4 different times I and got this:

/cgi-bin/fullsize.jpg?motion=1&dummy=1131140701546
/cgi-bin/fullsize.jpg?motion=1&dummy=1131140792703
/cgi-bin/fullsize.jpg?motion=1&dummy=1131140826890
/cgi-bin/fullsize.jpg?motion=1&dummy=1131140868015

so it looks like its updating.

Bill
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#8
2005-11-04, 10:29 PM
My html is just calculating it like they do. Take the output and make something like below. Try this in ie, is the pic updating.


http://XXX.XXX.X.XX/view/cgi-bin/fullsiz...1140701546

or
http://XXX.XXX.X.XX/cgi-bin/fullsize.jpg...1140701546
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
bneuman
Offline

Junior Member

Posts: 43
Threads: 8
Joined: Oct 2005
#9
2005-11-04, 10:41 PM
Ok this works...

http://192.168.0.12/cgi-bin/fullsize.jpg...1140701546
jorm
Offline

Posting Freak

Posts: 2,014
Threads: 109
Joined: Aug 2004
#10
2005-11-06, 01:13 PM
ok I will modify the code to include the ticks
WinXP Home
3 X MVPs
Hauppauge 250 MCE
Hauppauge 150
P-4 2.4 GHz / 768 megs Ram
610 Gigs Of Media Storage
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  BBC Iplayer Downloader Plugin - Beta + Support smiler 420 162,079 2012-01-20, 12:15 PM
Last Post: martint123
  Un-installation of the Weather plugin rkircher 1 14,046 2011-05-20, 08:40 PM
Last Post: scb147
  software recorder, any plugin like it for npvr? chesterusob 2 14,839 2011-04-11, 07:28 AM
Last Post: chesterusob
  Caller ID Plugin elbryyan 3 15,040 2011-02-23, 01:17 AM
Last Post: smajor
  Newest IMon display-hardware finally gets Plugin-mode back mila06 1 5,125 2011-01-01, 05:37 PM
Last Post: kindt nick
  Freazing up trying to watch live TV or access System plugin dspdrew 2 3,584 2010-11-03, 07:52 AM
Last Post: johnsonx42
  Music plugin support thread MixMan 103 41,398 2010-08-31, 09:46 PM
Last Post: povarotti
  New Videos Library Plugin jasonbs10 202 68,267 2010-08-22, 01:38 PM
Last Post: 7ore
  videos library plugin crashes pvrx2 on fanart... cs4 no crash and no fan art why??. tvshowman 2 4,155 2010-04-01, 09:59 PM
Last Post: tvshowman
  Program Plugin not launching MS Games jw100 0 2,760 2010-04-01, 05:53 PM
Last Post: jw100

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode