summaryrefslogtreecommitdiff
path: root/README
blob: 373cb98890ab00f8cd16816dbfed00347ae93360 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
This repository contains some extra examples for 0MQ.

zmq-camera
----------

To build the code you need to have the SDL development libraries
(libsdl1.2-dev in Debian) and the Unicap library from
http://www.unicap-imaging.org/ installed.

The wire format for messages sent from sender to receiver is:
<width, height, frame data>
width:      uint32_t: frame width in pixels (network byte order)
height:     uint32_t: frame height in pixels (network byte order)
frame data: RGB24 frame data (R, G, B: 3 octets per pixel)

TODO:

- figure out why unicap sometimes fails to open the video device
- figure out why ucil_convert_buffer sometimes fails