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. How to play -ve resolutions using Qcamera
Qt 6.11 is out! See what's new in the release blog

How to play -ve resolutions using Qcamera

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 2 Posters 908 Views 1 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.
  • S Offline
    S Offline
    sankar-110
    wrote on last edited by
    #1

    My video device has a resolution of ( 1920 x -1080p ).
    How do I play it from QT camera Application (QCamera class)?

    Qt Camera Application actually plays it but the preview is not available.
    How do I preview in QT for a resolution of ( 1920 x -1080p ) using camera example.

    If this can't be done by camera example, what else would be the ideal way?

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

      Hi,

      What video device are you talking about ?
      On what OS ?
      Which version of Qt ?
      Do you get any message on the console when running the camera example ?

      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
      • S Offline
        S Offline
        sankar-110
        wrote on last edited by
        #3

        @SGaist
        Thanks for the reply!

        My device is the Media driver (Directshow) where I am simulating data.
        OS : Windows 10
        QT Version : 5.9.2

        I get the following messages for the both the resolutions (1920 x 1080) and (1920 x -1080)
        "Failed to get the video control"
        "Failed to find the video proc amp"

        But, when the resolution is (1920 x 1080) my data is streaming and also a preview is available in the QT camera example.

        when the resolution is (1920 x -1080) my data is streaming but there is no preview available in the QT camera example.
        When I select the device in the camera example it starts playing but there is no preview of the data.

        I hope you get my problem statement.

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

          I didn't realise: -1080p ? What that's minus sign doing there ?

          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