Page 1 of 1

raw streaming format

Posted: Mon Jan 23, 2006 7:27 pm
by maciekc
Hello.

Can you write some description about this streaming format?

I see that every frame is began with a header:
--ZoneMinderFrame
Content-Length: 304128
Content-Type: image/x-rgb

And then we have frame
So the first byte is first pixel red colour
second green, third blue, and 4-6 second pixel and so on?
Am I right?

Does anyone know a simple way to display this in x window?

Posted: Mon Jan 23, 2006 7:57 pm
by cordel

Posted: Mon Jan 23, 2006 10:23 pm
by jameswilson
Sorry Phil i bet you wished this was never added! lol

Posted: Tue Jan 24, 2006 9:14 am
by maciekc
jameswilson wrote:Sorry Phil i bet you wished this was never added! lol
I just wanted to help...
Sorry that I've asked without reading old posts.
ps. Good luck James with your zm4linux:)

Posted: Tue Jan 24, 2006 8:47 pm
by jameswilson
i know mate, its just that Phil suggested this as a help for me on zm4ms and its caused a few support issues as its not designed for mainstream use. I wasnt getting at you im sorry if it was taken that way.

Phil
Whats the best way to get the images via raw, i assume i replace single in the url with raw? and everything else remains the same or are there new options now?

James

Posted: Tue Jan 24, 2006 9:32 pm
by jameswilson
ok i have got a stream but cant use it as yet. Phil can you send me (or anyone) a single image in this format and i will try to get it inot the windows and the linux viewer?

Tahnks

Oh and if anyone has an Idiots guide to seplling it would help too!!

Posted: Tue Jan 24, 2006 10:22 pm
by zoneminder
I will try and catch one to mail to you.

Posted: Tue Jan 24, 2006 10:49 pm
by jameswilson
thanks mate