[SailfishDevel] How to access the viewfinder of the QCamera?
Stefan Brand
stefan.brand at seiichiro0185.org
Sun Feb 2 20:13:09 UTC 2014
-----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-----
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pubkey.asc
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20140202/c1830533/attachment.asc>
More information about the Devel
mailing list