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. camera types supported by qcamera
Qt 6.11 is out! See what's new in the release blog

camera types supported by qcamera

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 2.4k 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.
  • P Offline
    P Offline
    petergv
    wrote on last edited by petergv
    #1

    hey,
    I am wondering if qcamera is the right class to get access to different usb cameras from an app?
    But what types of cameras are supported by the qcamera class ?
    What does the camera has to offer to be recognized as a qcamera ?
    I am on a Windows System.
    So is this limited to integrated Notebook cameras ?
    Or are all cameras accepted that are linked by USB using the generic USB Driver (UVC: universal Video class driver) ?
    Or do the cameras have to support DirectShow or WIA or whatelse, so they popup as Image capture devices in the device manager?
    And if qcamera is based on DirectShow on Windows, what DirectShow pins/interfaces (capture, preview, still image) are needed to be listed in the qt app as a qcamera ?
    thanks for any info

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

      Hi and welcome to devnet,

      Do you have any special camera in mind that you want to use ?

      IIRC, the Qt Multimedia backend used for the camera on Windows uses DirectShow so camera supported by DirectShow should already be supported by Qt.

      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
      1
      • P Offline
        P Offline
        petergv
        wrote on last edited by petergv
        #3

        Hi,
        no, the other way round.
        I am wondering what types of camera I can use ?
        What exactly is Qt looking for to detect a qcamera ?
        I don't want to try and error each camera type I'd like to use in the future.
        I'd like to know what type of device the camera has to be to be usable in Qt as qcamera.
        So to know what device type or driver type Qt is asking to find attached cameras.

        So Qt is based on DirectShow. Thanks for that info.
        In DirectShow you find three types of Interface "Pins" the devices can offer: capture, preview, still Image.
        Can Qt link to all of these Interface types ? Or does Qt link only to just one of these ?
        What Interface pin is a must for my camera to be usable as qcamera ?
        If it supports only the preview pin, is that enough ?
        Does it have to support the still Image pin ?
        So does qcamera support Video cameras and also still Image cameras ?

        Sorry for that bunch of questions.
        But I am wondering if qcamera is the right class for my app or do I have to use directshow directly ?

        Peter

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

          What will your application do with the cameras ?

          You will likely find all the answers you are looking for reading the corresponding plugin sources.

          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
          2
          • P Offline
            P Offline
            petergv
            wrote on last edited by
            #5

            Hi,
            thanks for that link.
            I will check directly the sources.

            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