raw streaming format

Support and queries relating to all previous versions of ZoneMinder
Locked
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

raw streaming format

Post 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?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

Sorry Phil i bet you wished this was never added! lol
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
maciekc
Posts: 150
Joined: Wed Feb 23, 2005 9:21 pm
Location: Czestochowa, POLAND

Post 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:)
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post 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!!
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
User avatar
zoneminder
Site Admin
Posts: 5215
Joined: Wed Jul 09, 2003 2:07 pm
Location: Bristol, UK
Contact:

Post by zoneminder »

I will try and catch one to mail to you.
Phil
jameswilson
Posts: 5111
Joined: Wed Jun 08, 2005 8:07 pm
Location: Midlands UK

Post by jameswilson »

thanks mate
James Wilson

Disclaimer: The above is pure theory and may work on a good day with the wind behind it. etc etc.
http://www.securitywarehouse.co.uk
Locked