How to store video stream from Airlive camera

Airlive OD-325HD is quite good outdoor camera with night vision. This feature is quite useful when you need to monitor shop or outdoor areas.

OD-325HD camera is able to send video stream and images via TCP/IP.

How to dump image from the camera?

Wget can do all the magic.

wget "http://192.168.1.1/image.cgi?resolution=1280x1024" \
 --user=username\
 --password=somepass

What about video stream?

In this case we will need mencoder. This tool is able to read RTSP stream and store it into the file. I was playing with parameters until I found configuration for OD-325HD.

Note for Debian users: I suggest to use version from debian-multimedia.org. You can add following line into /etc/apt/sources.list:

deb http://www.debian-multimedia.org/ stable main

You can dump stream using following command:

mencoder  -v rtsp://username:somepass@192.168.1.1:554/video.mp4 \
 -rtsp-stream-over-tcp \
 -oac copy -ovc lavc -lavcopts vcodec=mpeg4 -o dump.avi

VLC plays stored video without problem. Note: Windows Media Player has some problems with playing this kind of data.

I found a lot of useful information at Covex page.

No votes yet.
Please wait...

Leave a comment

17. April 2011 at 9:32 - Graphics (Tags: , , , , , , , , , , ). Both comments and pings are currently closed.

Comments are closed.