What protocol/standard to use for streaming images from embedded devices
<p>I am looking for a streaming library/protocol that can be used on embedded devices with limited processing power and memory. In my search quickly ran into the rtsp standard and in specific I came across this <a href="https://github.com/ykst/librtsp" rel="nofollow">https://github.com/ykst/librtsp</a> which looks promising. Are there any other libraries that could be recommended?</p>

<p>In general I have a feed of bitmap images (bayer or rgb). I want to turn this feed into a stream-able broadcast that could be viewed with standard media player. Let's say I want to target VLC Media player. Although it would be nice to be compliant with a (lossless-) compression scheme I would prefer not spending any processing on image conversions (Bayer->YUV). </p>

<p>With this in mind I am reading up more on h.264/x264 in specific about NAL units (<a href="http://yumichan.net/video-processing/video-compression/introduction-to-h264-nal-unit/" rel="nofollow">http://yumichan.net/video-processing/video-compression/introduction-to-h264-nal-unit/</a>) if this is something that can be achieved with that standard. But I am not familiar with enough with the material to interpret the information. So far from what I have been reading I the simplest would probably be to encode series of a IDR picture frame analogous to key-frames. But I suspect even IDR picture frames are created in block and do not just reference the entire bitmap (like a uncompressed avi could).</p>

<p>So in general:</p>

<p>What are some libraries I could/should look into in respect to my use-case? Are there better protocols besides rtsp that would be better/simpler to get started with? Am I on the right track with the h.264 encoding? If I am, can somebody give me a small outline of what i basically should be doing to convert my image to the respective NAL units?</p>