Continuous RAW streaming

Support and queries relating to all previous versions of ZoneMinder
Locked
notwinkie
Posts: 3
Joined: Sun Oct 12, 2008 2:33 pm
Location: UK

Continuous RAW streaming

Post by notwinkie »

Hi,
I've been using zoneminder for a while, but one of the problems I've encountered is that using zms to convert to JPEG/MJPEG seems to be very CPU heavy. Reading the source it's obvious that it also has a RAW option which will obviously use a lot less CPU.

However, this RAW stream seems to pass a single frame and then exit, obviously making 5+ requests per second is going to lead to some undesirable activity, and so I am wondering what changes need to be made to enable continuous RAW streaming? Assuming I know the size of the image, the colour format and bit depth, I should be able to handle this on a remote machine.

The reason I ask is that I am trying to offload much of the encoding. I eventually will be running 6-10 cameras at quite a high framerate (15-30) off this machine, and the alarm check alone will probably come close to maxing out the CPU, being able to stream raw data to another machine and do some complex multiplexing+encoding on that machine will make my life a lot simpler.

I noticed there was some mention of raw stream headers in one of the files (lost it for now!) but I cannot see any obvious way to activate this. Any help would be appreciated! Otherwise I guess I will learn how to use SHM :)

Thanks!
Locked