Where can i find out more about this format so i can get zm4ms to support it
Cheers
Raw streaming
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
Raw streaming
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
The format is presented using the mime type 'image/x-rgb' and basically is just a series of bytes representing each pixel in the image as an rgb value. So for a 320x240 image there will be 320x240x3 bytes in order as r1g1b1r2g2b2... etc going in rows top to bottom and from the left to right. There is no format header.
Essentially it's what you'd get if you decompressed a jpeg should also pretty much be ready to map onto a screen.
Phil
Essentially it's what you'd get if you decompressed a jpeg should also pretty much be ready to map onto a screen.
Phil
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
i think the problem is taht i need to know the size of image if using raw due to its streaming type. Once i have a running 1.22 i will give it a try or can you email me a sample file
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
it proabably will, In zm4ms .net does all the work all i do is tell it where to gety the images from. If it has no wxhxd then it will fail. Also if it conatianed this info it means i wouldnt need to store it my end in the app as it it could pick it up from the server.
James
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
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
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
-
- Posts: 5111
- Joined: Wed Jun 08, 2005 8:07 pm
- Location: Midlands UK
yes please but i havnt tried it yet. Im assuming i will have to grab the raw file and then tell the picturebox when to start a new line for the image to be built up. If i can get this from zms then it will be more flexible. Thats assuming i can do it at all mate.
James
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
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