[SailfishDevel] How to access the viewfinder of the QCamera?

Ove Kåven ovek at arcticnet.no
Mon Feb 3 00:00:25 UTC 2014


Den 25. jan. 2014 21:22, skrev Marcel:
> Or if I use C++ implementing an own QAbstractVideoSurface as viewfinder for a
> QCamera object (which would be my prefered way as I want to precess the image
> data) I get the following error:
>
> [W] CameraBinSession::processBusMessage:912 - CameraBin error: "No common
> caps"
>
> After some digging in the gstreamer debug log it seems that the camera source
> is just supporting the data format video/x-android-buffer and there is no
> equivalent QVideoFrame::PixelFormat for this.

Have you tried making gstreamer use "droidcamsrc" instead of "camerabin2"?



More information about the Devel mailing list