This project is read-only.
Project Description
A MJPEG stream decoder for Windows 8.1 and Windows Phone 8.1

This project provides a MJPEGDecoder class which targets universal apps for Windows Store 8.1 and Windows Phone 8.1. It is a derived work from another MJPEG Decoder project on CodePlex, but which unfortunately lacks support for the latest 8.1 Windows.Web.Http approach to create and run a HttpClient object.

Starting with version 1.1.0 the decoder supports 2 mechanisms to extract an image frame from the input stream:
  • Extraction based on the Content-Length header in the MJPEG boundary section. This is the most efficient way of dealing with MJPEG as it only requires 2 read requests on the input stream for each JPEG packet. Consequently it has the potential to offer considerably higher fps figures compared with the 2nd mechanism.
  • Extraction based on detecting the next boundary section, followed by JPEG lead-in bytes and then retreiving chunks of image data until the next boundary marker is detected. This involves lots of input-output on the input stream layer (because of the relatively small chunk buffers) and therefore doesn't give the highest possible fps.

You can find an extensive tutorial here.

Last edited Feb 23, 2015 at 8:53 AM by JosHuybrighs, version 8