The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: RE: Speech & HA


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Network video server for cameras


  • Subject: Re: Network video server for cameras
  • From: Ian Oliver <lists@xxxxxxxxxxxxx>
  • Date: Thu, 16 Feb 2006 12:49:44 GMT

In article <43BD9DD8.4070902@xxxxxxx>, Jim Noble wrote:
> > *I need some more cameras and will probably look at getting one
of
these at
> > some point.
> > I also found a link which deatils how the 9100+ can operate with
that
ZM.
> >
>
> Be aware that Zoneminder currently only works with still image inputs
> (ie frame by frame). Although I believe Phil is working on support for
> input from a video source (Phil...?)

I've now got a 9100A Plus and have been playing with it. Detailed
information below on what I worked out regards streaming multiple channels
of video from it.

I don't know whether to write my own code or try something like Zone
Minder.  I tried installing Zone Minder on Ubuntu 5.10 but know nothing
about mysql and the commands in the manual to configure it don't work.
Guess I might try the ZM forums.

But can ZM cope with a stream as described below?

Ian
-------------------

You use -

http://camurl/SetChannel.cgi?Channel=
To set the channel (0-3)
If you want round robin, then you use 262+code as the channel, where code
is the 4-bit binary for the combination of inputs.

http://camurl/ChangeResolution.cgi?ResType=
0 - 176*144, 1 - 352*288, 2 - 320*240, 3 - 640*480
4 - 128*96, 5 - 160*120, 6 - 704*576, 6 - 1280*960
7 - 1280*1024

http://camurl/ChangeCompressRatio.cgi?Ratio=
0=low, 1=high, 2=medium, 3=clarity, 4=motion

http://camrul/GetData.cgi?Status=1
This gets you a stream of jpeg images. At the start of each is this header
-
"--WINBONDBOUDARYcontent image/jpeg" (46 bytes)

The Jpeg tags at the start look like -
FF D8 FF E2 00 06 43 F4 5F 60 FF E7 00 04 03 00
The FFD8 is "Start of image" (panic if not there!)
The FFE2 is an extended tag, 6 bytes total, value 43 F4 5F 60 (1140088672
decimal), which is Thu, 16 Feb 2006 11:17:52 GMT
The FFE7 is another extended tag, four bytes total, and the 1st byte
tells us channel number.

In round-robin mode, you get a jpeg stills from all the cameras in the one
stream. You use the channel ID byte to let you split them.






UKHA_D Main Index | UKHA_D Thread Index | UKHA_D Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.