最初由 laZIBOy 发布
Why do you need to get that infomation?
You can basically configure the capture device by using Video For Windows API to use what ever format you want as long as it supports them.
Normally it has YUV2,YV12,RGB16,RGB24, etc.
Also, most of the webcam doesn't have compression inside the cam itself.
But you might configure the software compressor(Video Codec) available in Windows to get compressed data automatically.