-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Hi,
I would also be really interested in how to do this, since I see the
same error. So did anyone succeed in using the camera with a viewfinder
in QML? Or is this just not supported at the moment? Any comments from
Jolla on this?
Regards
Stefan Brand
Am 25.01.2014 21:22, schrieb Marcel:
Hi,
how can I access the viewfinder of the camera in Qt on SailfishOS?
If I try it in QML like this:
Camera {
id: qmlCamera
}
VideoOutput {
source: camera
focus: visible
}
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. Is there really no
possibility
to access the viewfinder in Qt? Then how is the camera app doing that?
Greets,
Marcel
_______________________________________________
SailfishOS.org Devel mailing list
-----BEGIN PGP SIGNATURE-----
Version: OpenPGP.js v.1.20131017
Comment: http://openpgpjs.org
wkYEAREIABAFAlLuptUJEEaIfXQX7obRAABSPwCggiulaqRQ3pUIWb1KNGGZ
DZ/xbBUAn143muIsrc0lYCFsoGRgvoQX/3so
=IV7g
-----END PGP SIGNATURE-----
_______________________________________________
SailfishOS.org Devel mailing list