Author Topic: java trendnet as generic ip camera (and gsd) problem  (Read 7533 times)

domotiqa.com

  • Guru
  • ****
  • Posts: 206
    • View Profile
    • home automation
java trendnet as generic ip camera (and gsd) problem
« on: September 13, 2007, 11:42:34 am »
Hello every body,

I've got some problem to setup my trendnet ip camera !
My process on working install, and access trough the firefox browser is working (http://192.168.100.20/image.jgp give jpeg image):

1/ go to wizard and scamera security device
2/ select generic ip camera template
3/ put the ip: 192.168.100.20 in ip, put the right mac address x:x:x:x:x
4/ put for image path /image.jpg (also try full path http://192.168.100.20/image.jgp)
5/ then try regen orbiter (no image) also in admin website, the view security camera give no preview data...)

So
A/ is there any person who have a trick
B/ how to create a personnal template (I create one called ip100w as java script but can't figure out where to change the code and parameters for putting ip, and java script).
C/ I tried to modify the GSD ruby code of this device, but I can't not find the real code (for example I don't need all the parameter of the getVideo Frame... I prefer also use the java applet to control it more precisly. If I make a modification of the getVideo function is it localy or global ?

Thanks for any help.
« Last Edit: September 17, 2007, 07:57:19 pm by gilles.cresci »
http://www.domotiqa.com - home automation

sfpeter

  • Making baby steps
  • Posts: 3
    • View Profile
Re: trendnet as generic ip camera (and gsd) problem
« Reply #1 on: September 15, 2007, 10:09:55 am »
not sure what your problem is exactly... I have a Trendnet IP camera which I got to work with ZoneMinder, but I haven't tried to get it running with LinuxMCE yet. You might want to try the
http://x.x.x.x/VIDEO.CGI
or
http://x.x.x.x/MJPEG.CGI
urls though, as they will actually return a video stream - the image.jpg url you tried returns only a single image. I have the Trendnet TV-IP400W and reverse engineered much of the control protocol (mostly for pan/tilt/zoom control from ZoneMinder or other applications). Check out my blog, there may be info there that will help you get it running.

http://www.sfpeter.com/2007/08/14/controlling-the-trendnet-tv-ip400w-camera-with-zoneminder/
http://www.sfpeter.com/2007/08/20/19/

good luck

domotiqa.com

  • Guru
  • ****
  • Posts: 206
    • View Profile
    • home automation
Re: trendnet as generic ip camera (and gsd) problem
« Reply #2 on: September 17, 2007, 06:40:58 pm »
thank you for your help, in fact, I already try this way with no result. I though it was the ip that was making problem... but I fixed it but same problem. NO screenshot available.
Is there a way of making a java ip camera working ?? Was is the process for these applet for example:

camera ip:
192.168.100.20

applet:
<APPLET name="cvcs" CODEBASE="http://192.168.1.20:80/" CODE="xplug.class" WIDTH=160 HEIGHT=112>
            <param name="RemotePort" value=80>
            <param name="Timeout" value=5000>
            <param name="RotateAngle" value=0>
            <param name="PreviewFrameRate" value=2>
            <param name="DeviceSerialNo" value="">
</APPLET>

thank you (another solution was to use the http://192.168.100.20/IMAGE.JPEG or http://192.168.100.20/VIDEO.JPEG without any result)
http://www.domotiqa.com - home automation