Camera still doesn't work on the phone

Bug #1509256 reported by Chris Coulson
This bug report is a duplicate of:  Bug #1441465: Add Camera implementation for phone. Edit Remove
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Oxide
In Progress
High
Chris Coulson

Bug Description

With the fix for bug 1508972, I still can't use the camera on the phone. When I try to, I see a message like this:

Failed to start viewfinder with format: QVideoSurfaceFormat(Format_RGB32, QSize(960, 540), viewport=QRect(0,0 960x540), pixelAspectRatio=QSize(1, 1), handleType=GLTextureHandle, yCbCrColorSpace=YCbCr_Undefined)
    handleType = QVariant(QAbstractVideoBuffer::HandleType, )
     pixelFormat = QVariant(QVideoFrame::PixelFormat, )
     frameSize = QVariant(QSize, QSize(960, 540))
     frameWidth = QVariant(int, 960)
     viewport = QVariant(QRect, QRect(0,0 960x540))
     scanLineDirection = QVariant(QVideoSurfaceFormat::Direction, )
     frameRate = QVariant(double, 0)
     pixelAspectRatio = QVariant(QSize, QSize(1, 1))
     sizeHint = QVariant(QSize, QSize(960, 540))
     yCbCrColorSpace = QVariant(QVideoSurfaceFormat::YCbCrColorSpace, )

The issue is that we just don't support video frames being delivered via a GL texture (we only support software frames). This requires a fairly significant amount of work in Oxide to be able to share these frames with the GPU service (thread or process).

Also, the QCamera implementation seems to be relying on qtvideo-node to supply its texture which means that it doesn't get a texture unless it's being displayed in the scene graph, which we obviously aren't doing (we need to instantiate the QCamera outside of QML)

Changed in oxide:
importance: Undecided → High
status: New → Triaged
Changed in oxide:
milestone: none → branch-1.12
assignee: nobody → Chris Coulson (chrisccoulson)
Changed in oxide:
status: Triaged → In Progress
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.