Solved - TrendNET TV-IP252P settings

Forum for questions and support relating to the 1.24.x releases only.
Locked
martinezjr
Posts: 6
Joined: Wed Apr 20, 2011 3:48 pm

Solved - TrendNET TV-IP252P settings

Post by martinezjr »

I am lost. Really lost. I have been over this site a hundred times, and I can not make this camera(s) work. What am I doing wrong?

Computer:

Code: Select all

System hostname:bccamera(10.100.177.27/25)
Operating system:Redhat Linux Fedora 13
Time on system:Thu Apr 21 11:19:31 2011
Kernel and CPU:Linux 2.6.34.7-66.fc13.i686.PAE on i686
Processor information:Intel(R) Pentium(R) 4 CPU 2.80GHz, 1 cores
Real memory:1.96 GB total, 203.20 MB used
Camera: TrendNET TV-IP252P (x2 with more to come)

Code: Select all

root@bccamera /]# zmu -m 7 -q -v
Monitor 7(Monitor-7)
Id : 7
Name : Monitor-7
Type : Remote
Protocol : http
Host : admin:admin@10.100.177.52
Port : 80
Path : /cgi/mjpg/mjpg.cgi
Width : 320
Height : 240
Colours : 3
Event Prefix : Event-
Label Format : %N - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Stream Replay Buffer : 1000
Alarm Frame Count : 1
Section Length : 600
Maximum FPS : 20.00
Alarm Maximum FPS : 20.00
Reference Blend %ge : 7
Track Motion : 0
Function: 2 - Monitor Only
Zones : 1
  Id : 7
  Label : All
  Type: 1 - Active
  Shape : 4 points
    0: 0,0
    1: 319,0
    2: 319,239
    3: 0,239
  Alarm RGB : ff0000
  Check Method: 3 - Blobs
  Min Pixel Threshold : 25
  Max Pixel Threshold : 0
  Min Alarm Pixels : 2304
  Max Alarm Pixels : 57600
  Filter Box : 3,3
  Min Filter Pixels : 2304
  Max Filter Pixels : 57600
  Min Blob Pixels : 1536
  Max Blob Pixels : 0
  Min Blobs : 1
  Max Blobs : 0
PS: I also have some TrendNET IP410W, that based on other posts will work, but I don't know how to make them work.
Last edited by martinezjr on Wed May 04, 2011 3:40 pm, edited 1 time in total.
martinezjr
Posts: 6
Joined: Wed Apr 20, 2011 3:48 pm

Re: TrendNET TV-IP252P settings

Post by martinezjr »

Update: I searched for more answers and still no luck, but did find that most people install from source and not via their system package manager. So, downloaded source, configured, check, make install, not check

Code: Select all

[root@bccamera ZoneMinder-1.24.2]# make install
Making install in src
make[1]: Entering directory `/home/martinezlocal/Downloads/ZoneMinder-1.24.2/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I..  -I/usr/include -I/usr/include -Wall -Wno-sign-compare -fno-inline -I/usr/include  -frepo -g -O2 -MT zmc.o -MD -MP -MF ".deps/zmc.Tpo" -c -o zmc.o zmc.cpp; \
	then mv -f ".deps/zmc.Tpo" ".deps/zmc.Po"; else rm -f ".deps/zmc.Tpo"; exit 1; fi
In file included from zm_mpeg.h:23,
                 from zm_stream.h:27,
                 from zm_event.h:39,
                 from zm_zone.h:27,
                 from zm_monitor.h:26,
                 from zmc.cpp:28:
zm_ffmpeg.h:33:2: error: #error "No location for avutils.h found"
zm_ffmpeg.h:40:2: error: #error "No location for avcodec.h found"
zm_ffmpeg.h:47:2: error: #error "No location for avformat.h found"
zm_ffmpeg.h:55:2: error: #error "No location for swscale.h found"
In file included from zm_stream.h:27,
                 from zm_event.h:39,
                 from zm_zone.h:27,
                 from zm_monitor.h:26,
                 from zmc.cpp:28:
zm_mpeg.h:43: error: use of enum ‘PixelFormat’ without previous declaration
zm_mpeg.h:44: error: ISO C++ forbids declaration of ‘AVOutputFormat’ with no type
zm_mpeg.h:44: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:45: error: ISO C++ forbids declaration of ‘AVFormatContext’ with no type
zm_mpeg.h:45: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:46: error: ISO C++ forbids declaration of ‘AVStream’ with no type
zm_mpeg.h:46: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:47: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:47: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:48: error: ISO C++ forbids declaration of ‘AVFrame’ with no type
zm_mpeg.h:48: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:49: error: ISO C++ forbids declaration of ‘uint8_t’ with no type
zm_mpeg.h:49: error: expected ‘;’ before ‘*’ token
zm_mpeg.h:65: error: ‘uint8_t’ has not been declared
make[1]: *** [zmc.o] Error 1
make[1]: Leaving directory `/home/martinezlocal/Downloads/ZoneMinder-1.24.2/src'
make: *** [install-recursive] Error 1
Could anybody help me with this?
martinezjr
Posts: 6
Joined: Wed Apr 20, 2011 3:48 pm

Re: TrendNET TV-IP252P settings

Post by martinezjr »

Anybody please????
metallica1973
Posts: 100
Joined: Sat Aug 23, 2008 8:03 pm

Re: TrendNET TV-IP252P settings

Post by metallica1973 »

Give us specifics on what your issue are. Even though you have one of the supported resolution it still could be the issue. You need to play around with different settings like

352x240
352x288

It say in the specs that these are the supported resolution but from my experience it may require trying different resolution until you get video.

You also may need to configure your SHMMAX and SHMALL after you get video to have some stability.

Code: Select all

Monitor 7(Monitor-7)
Id : 7
Name : Monitor-7
Type : Remote
Protocol : http
Host : admin:admin@10.100.177.52
Port : 80
Path : /cgi/mjpg/mjpg.cgi
Width : 320
Height : 240
Colours : 3
Event Prefix : Event-
Label Format : %N - %y/%m/%d %H:%M:%S
Label Coord : 0,0
Image Buffer Count : 40
Warmup Count : 25
Pre Event Count : 10
Post Event Count : 10
Stream Replay Buffer : 1000
Alarm Frame Count : 1
Section Length : 600
Maximum FPS : 20.00
Alarm Maximum FPS : 20.00
Reference Blend %ge : 7
Track Motion : 0
Function: 2 - Monitor Only
Zones : 1
  Id : 7
  Label : All
  Type: 1 - Active
  Shape : 4 points
    0: 0,0
    1: 319,0
    2: 319,239
    3: 0,239
  Alarm RGB : ff0000
  Check Method: 3 - Blobs
  Min Pixel Threshold : 25
  Max Pixel Threshold : 0
  Min Alarm Pixels : 2304
  Max Alarm Pixels : 57600
  Filter Box : 3,3
  Min Filter Pixels : 2304
  Max Filter Pixels : 57600
  Min Blob Pixels : 1536
  Max Blob Pixels : 0
  Min Blobs : 1
  Max Blobs : 0
	
	
I am looking to purchase these cameras and wanted your feedback when we get this resolved.
martinezjr
Posts: 6
Joined: Wed Apr 20, 2011 3:48 pm

Re: TrendNET TV-IP252P settings

Post by martinezjr »

I have not been able to get these cameras working, but I have been able to use the internal program that came with the cameras to do what I want it to do.

The cameras have an internal webserver that has all the functions that you neeed. I searched on this forum and found a different solution to what I need. I built my own LAMP to host multiple camera (no more that 4 viewing at one time, copied the applet from their home page) and with the internal setting of the camera, I am able to save events to either FTP or Samba share.
metallica1973
Posts: 100
Joined: Sat Aug 23, 2008 8:03 pm

Re: TrendNET TV-IP252P settings

Post by metallica1973 »

Can you tell me everything that you did. I am in the process of purchasing 4 of those cameras and wanted to know what roadblocks I may come up against. All your advice will be appreciated. thanks
martinezjr
Posts: 6
Joined: Wed Apr 20, 2011 3:48 pm

Re: TrendNET TV-IP252P settings

Post by martinezjr »

On a windows machine, I set up a shared folder with only administrator privileges.
On each camera, in order:
1. set up the event server:network storage setting on the camera to that share, with appropriate user/pass and folder
2. set the motion detect settings ( have to use internet exploder for active x)
3. set the event trigger:motion detect to save to the network storage

Then coded for the web page on the LAMP server.
I will be setting up a way for my manager to select which camera(s) he want to view a thru php script, as I will have 20 cameras installed.
Max based on what your LAMP can hold, ex: mine is 4 at a time with 2GB RAM and 2.8Ghz

Code: Select all

<html>
<head>
    <title>test camera applet</title>
</head>
<body>
<!-- repeat this code as many times as needed until desired number of cameras are showing on screen ->
<!-- remember to replace $IPofCamera with actual IP of the camera(s) -->
<object
    classid = "clsid:CAFEEFAC-0015-0000-0012-ABCDEFFEDCBA"
    codebase = "http://java.sun.com/update/1.5.0/jinstall-1_5_0_12-windows-i586.cab#Version=5,0,120,4"
    WIDTH = "640" HEIGHT = "480" NAME = "ucx" >
    <PARAM NAME = CODE VALUE = "ultracam.class" >
    <PARAM NAME = ARCHIVE VALUE = "ultracam.jar" >
    <PARAM NAME = NAME VALUE = "ucx" >
    <param name = "type" value = "application/x-java-applet;jpi-version=1.5.0_12">
    <param name = "scriptable" value = "false">
    <PARAM NAME = "accountcode" VALUE="YWRtaW46YWRtaW4=" />
    <PARAM NAME = "codebase" VALUE="http://".$IPofCamera."/guest" />
    <PARAM NAME = "mode" VALUE="0" />
    <comment>
	<embed
            type = "application/x-java-applet" \
            CODE = "ultracam.class" \
            ARCHIVE = "ultracam.jar" \
            NAME = "ucx" \
            WIDTH = "640" \
            HEIGHT = "480" \
            accountcode ="YWRtaW46YWRtaW4=" / \
            codebase ="http://".$IPofCamera."/guest" / \
            mode ="0" / \
	    scriptable = false
	    pluginspage = "http://java.sun.com/products/plugin/index.html#download">
	    <noembed>            
            </noembed>
	</embed>
    </comment>
</object>

</body>
</html>
Locked