Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Hazy camera video on Android

Hazy camera video on Android

Scheduled Pinned Locked Moved Solved Mobile and Embedded
cameraandroid
2 Posts 1 Posters 709 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AkshayFP
    wrote on last edited by
    #1

    I tried running the declarative-camera project on Android and I get it to work but the camera video is hazy. Screenshot below:

    Screenshot from 2022-02-17 12-23-53.png

    And I keep getting this warnings:

    W larative_camer: [SurfaceTexture-0-7528-1] bindTextureImage: clearing GL error: 0x500
    

    How should I make the video output clearer?

    A 1 Reply Last reply
    0
    • A AkshayFP

      I tried running the declarative-camera project on Android and I get it to work but the camera video is hazy. Screenshot below:

      Screenshot from 2022-02-17 12-23-53.png

      And I keep getting this warnings:

      W larative_camer: [SurfaceTexture-0-7528-1] bindTextureImage: clearing GL error: 0x500
      

      How should I make the video output clearer?

      A Offline
      A Offline
      AkshayFP
      wrote on last edited by
      #2

      Never mind. I had to set the surface format version to 3.0 in main, at the top.

      int main(int argc, char *argv[])
      {
          QSurfaceFormat f;
          f.setVersion(3,0);
      
          QGuiApplication app(argc, argv);
      
          //...
      }
      
      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved