Tool for generating commands for web requests in different technologies.
6. July 2019
Web request command line generator
17. April 2011
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.