Details
-
Bug
-
Resolution: Cannot Reproduce
-
P3: Somewhat important
-
None
-
5.15.0
Description
When camera streaming starts, it takes much longer in Qt creator
than when the application is launched from Finder.
And the application shows the following output.
Failed to start viewfinder m_surface, format: QVideoSurfaceFormat(Format_UYVY, QSize(1280, 720), viewport=QRect(0,0 1280x720), pixelAspectRatio=QSize(1, 1), handleType=NoHandle, yCbCrColorSpace=YCbCr_Undefined) handleType = QVariant(QAbstractVideoBuffer::HandleType, ) pixelFormat = QVariant(QVideoFrame::PixelFormat, ) frameSize = QVariant(QSize, QSize(1280, 720)) frameWidth = QVariant(int, 1280) viewport = QVariant(QRect, QRect(0,0 1280x720)) scanLineDirection = QVariant(QVideoSurfaceFormat::Direction, ) frameRate = QVariant(double, 0) pixelAspectRatio = QVariant(QSize, QSize(1, 1)) sizeHint = QVariant(QSize, QSize(1280, 720)) yCbCrColorSpace = QVariant(QVideoSurfaceFormat::YCbCrColorSpace, ) mirrored = QVariant(bool, false)
How to reproduce
1. Use the attached example (Qtbug86005.zip)
2. Click "Stream" to start camera streaming
Expected behavior
The viewfinder is shown instantly
Actual behavior
It takes more than 5 seconds