Home / Java Patterns and Pitfalls     frequal.com

Full Access to the Trendnet TV-IP312W and TV-IP312 Cameras

Summary

The Trendnet TV-IP312W and TV-IP312 are night-vision internet cameras that can operate without a computer attached. They contain an embedded web server so you can access and control them from any computer with a web browser. They run a version of GNU/Linux and provide several ways to access the images, video, and audio. This document describes the various ways to access and control these versatile cameras. (Read my consumer-oriented reviewof the TV-IP312W here.)

You can download software for your TV-IP312W here:

Discuss CamViewer and the TV-IP312W on the frequal.com CamViewer forum

Main Access Points

The camera exposes 3 TCP ports:
  • 80: HTTP. Provides web access for viewing and administration
  • 554: RTSP. Provides streaming video and audio
  • 15566: Telnet. Provides a GNU/Linux command prompt with root access.

HTTP Interface

The camera has a web interface that is easily explored with a web browser. Simply point your browser to http://a.b.c.d/ where a.b.c.d is your camera's IP address.

However, there are several undocumented URLs available:

  • http://a.b.c.d/cgi/mjpg/mjpeg.cgi
    • Streaming MJPEG video
  • http://a.b.c.d/cgi/audio/audio.cgi
    • Streaming PCM audio

Hardware/Firmware

The camera appears to be based on 2.4 Linux running on ARM hardware, from the uname -a output:
Linux Webcam1(10.1.1.200) 2.4.19-pl1029 #562 Tue Aug 28 17:08:45 CST 2007 armv4l unknown
32MB of RAM:
        total:    used:    free:  shared: buffers:  cached:
Mem:  31354880 20889600 10465280        0   204800 11759616
Modules loaded:
Module                  Size  Used by    Tainted: P  
rt61                  266848   2
usb-ohci-pci            1540   0 (unused)
usb-ohci               14976   0 [usb-ohci-pci]
crypt                   6824   0 (unused)
plmedia                30448   4
hwmon                   3976   1
msg                     2480   1

Processes

  PID  Uid     VmSize Stat Command
    1 root        364 S   init 
    2 root            SW  [keventd]
    3 root            RWN [ksoftirqd_CPU0]
    4 root            SW  [kswapd]
    5 root            SW  [bdflush]
    6 root            SW  [kupdated]
   10 root            SW  [khubd]
   96 root        412 S   /sbin/hwmon 
   97 root        412 S   /sbin/hwmon 
   98 root        412 S   /sbin/hwmon 
  103 root        412 S   /sbin/hwmon 
  107 root        412 S   /sbin/hwmon 
  206 root        344 S   /sbin/syslogd -C -m 0 
  208 root       1440 S   ./camsvr 
  219 root       1440 S   ./camsvr 
  220 root       1440 S   ./camsvr 
  224 root       1440 S   ./camsvr 
  234 root        472 S   ./httpd 80 
  253 root        296 S   telnetd -p 15566 
  255 root        312 S   /sbin/ipfind 
  260 root        420 S   -ash 

Last modified on 18 Apr 2009 by AO

Copyright © 2016 Andrew Oliver