15. June 2012
17. April 2011
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:firstname.lastname@example.org: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.
26. February 2011
Video recording from my talk about development of applications for Google Android is available at mojandroid.sk.
This video is available thanks to Fero Chovaňák.