PDA

View Full Version : QImageEncoderSettings on Windows not working



FelixB
19th August 2016, 14:06
Hello,

I'm still working on my camera application. I tried to set image encoder settings (codec, resolution) but it does not work. I set these settings to my QCameraImageCapture (setEncodingSettings), but when I request the settings afterwards, they have still the default values. I debugged into the qt code and found the problem:



// DSCameraService
encoderControl*=*qobject_cast<QImageEncoderControl**>(service->requestControl(QImageEncoderControl_iid)); // returns null
Is it really not possible to change the encoder settings under windows with DirectShow?

thanks!
Felix