10-bit RGB With SampleGrabber

Jun 5, 2013 at 6:10 PM
Hey I've been tinkering with this for a couple days and I'm having trouble grabbing a sample frame with a camera that uses 10-bit RGB instead of RGB24. The application works fine with a webcam using RGB24, but if I set the MediaSubType of the samplegrabber to anything other than null the NewVideoSample event never fires, and if I set it to null then the frame is hopelessly scrambled and apparently truncated somewhere upstream.

Any help would be appreciated! This is a great little library, thanks for creating it.