Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
6.2.2
-
Android version 11 on Galaxy Tab A7 model SM-T500
-
-
2022wk38FOQtforAndroid
Description
using camera example.
If you connect
connect( ui->viewfinder->videoSink(), SIGNAL( videoFrameChanged( const QVideoFrame& ) ), &m_VidGrabber, SLOT( slotVideoFrameChanged( const QVideoFrame& ) ) );
then in slotVideoFrameChanged call frame.toImage you get error
W libcamera_arm64-v8a.so: QImage QVideoFrame::toImage() const : unsupported pixel format "Format_""SamplerExternalOES"
if instead you set your own video sink with
m_captureSession.setVideoSink(&m_VidGrabber);
then frame.toImage() seems to work but is always just full of white color and no image
II am trying to capture frames the video chat module in my application. everything seems to work fine in windows by setting my derived QVideoSink with m_captureSession.setVideoSink