Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Access secondary video stream from camera (IR)
Qt 6.12 LTS is out! See what's new in the release blog

Access secondary video stream from camera (IR)

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 2 Posters 1.1k 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.
  • C Offline
    C Offline
    Cyrille de Brebisson
    wrote on last edited by
    #1

    Hello,

    I have a camera which has both RGB and IR sensors.

    I can use a QCameraDevice to access/display the RGB video stream from my camera.

    BUT, I also need to access the IR stream, which appears to be setup as a secondary video stream on the same USB device. How do I do this with QCameraDevice?

    I can see the IR stream using a SW called potPlayer where the configuration shows like this (Device selects the webcam and "type" the sub stream):
    2b661f63-052a-48b0-b7ae-8d745c84e6eb-image.png

    Thanks,
    Cyrille

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

      Hi,

      Do you have several devices listed by QMediaDevices::videoInputs ?

      I would guess no but it's not clear from your description.

      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
      • C Offline
        C Offline
        Cyrille de Brebisson
        wrote on last edited by
        #3

        Hello,

        The camera appears as one single QMediaDevice.
        In the screen shot that I shared (from PotPlayer), you can see that I selected my camera as a "device", which would be a media device. But that said media device then shows "2 types" (which are here denoted "capture" and "capture 1".... they correspond to the 2 sensors of the camera and the 2 video streams.

        Cyrille

        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
        • Unsolved