Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

online camera


  • Please log in to reply

#1
jilshi

jilshi

    New Member

  • Member
  • Pip
  • 3 posts
i plan to add online camera to my website.
in website, it should be able to display live image that capture by camera.

previously i used axis camera which was an old camera. below are the following code i used.

function video() {
document.write("<OBJECT ID=\"AxisCamControl\" CLASSID=\"CLSID:917623D1-D8E5-11D2-BE8B-00104B06BDE3\" WIDTH=\"400\" HEIGHT=\"290\" CODEBASE=\"/activex/AxisCamControl.cab#Version=1,0,2,15\">");
document.write("<PARAM NAME=DisplaySoundPanel VALUE=0>");
document.write("<PARAM NAME=URL VALUE=\"http://192.168.1.95/...resolution=640x 480\">");
document.write("</OBJECT>");
}


it works fine and able to work in my website.

** Recently i bought new camera brand Philips but do not how to write code so that enable to use in my web site.

is there any coding that can help me to attach my live camera to website??
  • 0

Advertisements


#2
ditto

ditto

    - i pwn n00bs -

  • Member
  • PipPipPipPip
  • 1,260 posts
http://192.168.1.95/axis-cgi/mjpg/video.cgi?camera=&resolution=640x 480

im guessing its something in there..

most likely need to change it to the new directory,

http://192.168.1.95/phillips/.... but you may need to open a port. Check the camera manual for like "online sharing" "web sharing", something like that.
  • 0

#3
Tim Wellman

Tim Wellman

    Member

  • Member
  • PipPip
  • 80 posts
function video() {
document.write("<OBJECT ID=\"AxisCamControl\" CLASSID=\"CLSID:917623D1-D8E5-11D2-BE8B-00104B06BDE3\" WIDTH=\"400\" HEIGHT=\"290\" CODEBASE=\"/activex/AxisCamControl.cab#Version=1,0,2,15\">");
document.write("<PARAM NAME=DisplaySoundPanel VALUE=0>");
document.write("<PARAM NAME=URL VALUE=\"http://192.168.1.95/...resolution=640x 480\">");
document.write("</OBJECT>");
}

is calling specific activex controls for the Axis cam... the 192.168... is a local ip (on your computer), so I assume you're serving the cam from your computer... I'm guessing the Axis script probably looks for a camera id tag, so it will only work with Axis brand cameras...

You might look at the documents that came with the new cam, most newer cameras come with java based software for doing webcam

There is also 3rd party software, such as Active Webcam (at a very reasonable 29 dollars US) that is easy to use and I believe even sets up it's own http server so people can connect directly to your computer without using other server software

But, to answer your question, the above code won't work with the Philips probably because the activex cab file is looking only for Axis brand cameras... you might have a java based webcam solution that came with the Philips camera... otherwise, you'll need to use camera-independent 3rd party software, such as Active Webcam, or there is also an activex software package, http://www.vintasoft.com/ , that works with any twain compliant camera, and it's cheaper than the Active Webcam... it does more but is harder to set up than Active Webcam
  • 0

#4
jilshi

jilshi

    New Member

  • Topic Starter
  • Member
  • Pip
  • 3 posts
thank for everybody's suggestion.

i plan to buy new camera and ask the vendor about java aplication. maybe he is able to help me.
  • 0

#5
LukaBuka

LukaBuka

    New Member

  • Member
  • Pip
  • 6 posts

There is also 3rd party software, such as Active Webcam (at a very reasonable 29 dollars US) that is easy to use and I believe even sets up it's own http server so people can connect directly to your computer without using other server software


I bought Active WebCam (PYsoft's) recently - works like a charm. And you can buy it for less than 29 bucks if you do some price comparison first (my favorites are PriceGrabber.Com, Froogle.Com and Deprice.Com). Got mine at 15% Off from Deprice, but I don't know if the link is still valid by the time somebody reads this. here it is anyway
http://www.deprice.c...ctivewebcam.htm
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP