Using YUV video format instead of MJPEG

Dec 16, 2008 at 3:16 PM
I have a camera that produces YUV video format.  Doug's example application uses MJPEG.  In WinCE50, how can I use the incoming video stream in a picture box?  Or are there other ways to display the video in WinCE?  It is unclear how to proceed.  This camera does not adhear to the Video standard, so I have many other small problems to resolve.  The big question is how to display the video.  Any help would be greatly appreciated.
Jun 24, 2009 at 4:07 PM

I have been doing something similar and have been slowly making progress. You need to do the YUV conversion your self. Each pixel is represented by 2 bytes, Y0 U0 Y1 V0. MSDN has the conversion information that you will need.  Once it is converted you can use it to create a bitmap object. Another problem that I ran into when attempting this was that the UVC prob/commit process always failed. This is because the driver will try to negotiate over the compression rate. If you modify the driver to only negotiate of the format and frame index then it should work.