Question

I'm trying to change video capture resolution in VfW (Video for Windows), but I couldn't find any useful structure or method. It seems the only way to change video setting is using CAPTUREPARMS structure. But It doesn't have any field to set video capture resolution.

Any advice will be helpful. Thanks.

Was it helpful?

Solution

Resolution is changed through Format Dialog associated with capture device. You are supposed to pop up format dialog with WM_CAP_DLG_VIDEOFORMAT then user might change the resolution interactively using choices provided by the driver, then you obtain new settings via CAPSTATUS structure.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top