Get frame rates list and pixel format from capture device? (WPF MediaKit)

343 Views Asked by At
  1. I can get a list of resolutions supported by the capture device (from VideoInfoHeader and BmiHeader). But I can not figure out how to get a list of frame rates.
  2. Similarly, I'm looking for how to set a pixel format (for example uyvy422).

Is it possible to set this up using WPF-MediaKit?

Edit: I found that the pixel format I need is MediaSubType.UYVY (corresponding to uyvy422). But so far I do not know how to set it for the capture device.

0

There are 0 best solutions below