Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Different behaviour of QT6 when changing camera resolution on Windows/Linux
Forum Updated to NodeBB v4.3 + New Features

Different behaviour of QT6 when changing camera resolution on Windows/Linux

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 497 Views 2 Watching
  • 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.
  • Y Offline
    Y Offline
    yalee
    wrote on last edited by
    #1

    Hi,
    Im able to change camera resolution dynamically on QT6 but the behavior is different on WIndows and Linux, below is the detail

    Windows

    • After instantiating QCamera with some default resolution

    • Calling setCameraFormat to set for new resolution

    • I will need to call Camera stop and start in order for it to take effect.

    Linux (On Unbuntu 20.04)

    • After instantiating QCamera with some default resolution

    • All i need is calling setCameraFormat to set for new resolution and it will take effect.

    What is the proper/unified workflow when you want to change camera resolution dynamically (eg, after QCamera is already instantiated)? thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which version of Qt 6 would that be ?

      Since 6.5, the default has changed to the new ffmpeg backend. Before that, it was the native backend which could have different behavior on some details.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • Y Offline
        Y Offline
        yalee
        wrote on last edited by
        #3

        sorry for the late response, this was tested on both 6.4.3 and 6.5.1 and its the same for both version.

        SGaistS 1 Reply Last reply
        0
        • Y yalee

          sorry for the late response, this was tested on both 6.4.3 and 6.5.1 and its the same for both version.

          SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Sounds like either you found an inconsistent behaviour or the documentation is missing information.

          I would suggest to check the bug report system to see if it's something known and if not, please open an issue about it.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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