Axis 207 IP Camera Recording

While the Axis 207 IP camera provides MPEG4 video output, the MPEG4 format is a bit obscure, and not handled by many media players. This makes recording the output difficult. Fortunately, VLC is capable of both playing and recording this format.

The following cron line uses VLC to record hourly chunks of video from a Axis 207 camera with IP address 10.0.0.1, and store them in /tmp/Axis207.

0 * * * * /usr/bin/vlc rtsp://10.0.0.1:554/mpeg4/media.amp --rc-fake-tty \
--no-sout-audio --sout file/ps:/tmp/Axis207/$(date +\%a_\%H00).mp4 \
--stop-time 3600 vlc:quit > /dev/null 2>&1

Axis 207 Enable Telnet

The Axis 207 IP camera that I had been using for the snowcam is actually a fully featured Linux system.

To enable console access, you need to use the webinterface to edit the system init table.

http://192.168.1.10/admin-bin/editcgi.cgi?file=/etc/inittab

Replace 192.168.1.10 with the IP address of the camera.

Edit:

# Uncomment the following line to start the telnet server.
# tnet:35:once:/usr/sbin/telnetd

So that it reads:

# Uncomment the following line to start the telnet server.
tnet:35:once:/usr/sbin/telnetd

And reboot. You should now be able to access the system by telnetting to it.

user@host ~
$ telnet 192.168.1.10
Trying 192.168.1.10...
Connected to 192.168.1.10.
Escape character is '^]'.


4.40.3
Linux 2.6.16 on a armv4tl (17:00:35)
axis_camera login: root
Password:

[root@axis_camera /]543# uname -a
Linux axis_camera 2.6.16 #2 Mon Dec 21 15:12:17 CET 2009 armv4tl unknown

[root@axis_camera /]543# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/flash3               6.7M      6.7M         0 100% /
/dev/flash2             640.0k    332.0k    308.0k  52% /mnt/flash
tmpfs                    12.1M    116.0k     12.0M   1% /var
tmpfs                     9.0M    140.0k      8.9M   2% /var/cache/recorder

[root@axis_camera /]543# free
              total         used         free       shared      buffers
  Mem:        24736        15404         9332            0         1484
 Swap:            0            0            0
Total:        24736        15404         9332