ubuntu-webapps-bugs team mailing list archive
-
ubuntu-webapps-bugs team
-
Mailing list archive
-
Message #03565
[Bug 1509256] [NEW] Camera still doesn't work on the phone
Public bug reported:
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)
** Affects: oxide
Importance: High
Status: Triaged
** Changed in: oxide
Importance: Undecided => High
** Changed in: oxide
Status: New => Triaged
--
You received this bug notification because you are a member of Ubuntu
WebApps bug tracking, which is subscribed to Oxide.
https://bugs.launchpad.net/bugs/1509256
Title:
Camera still doesn't work on the phone
Status in Oxide:
Triaged
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/oxide/+bug/1509256/+subscriptions