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. Can I use an external camera with Qt Multimedia?
Forum Update on Monday, May 27th 2025

Can I use an external camera with Qt Multimedia?

Scheduled Pinned Locked Moved General and Desktop
4 Posts 3 Posters 1.5k 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.
  • I Offline
    I Offline
    iBelieve
    wrote on last edited by
    #1

    I have a Canon EOS Rebel Xsi camera that I can connect to my computer via a USB cable. Other software, such as iStopMotion, allows me to use it like a webcam with a live preview.

    Is there any way I can do the same and access it via Qt Multimedia? I've tried it and it doesn't show up in the list of available input sources in QVideoDeviceSelectorControl.

    1 Reply Last reply
    0
    • JKSHJ Offline
      JKSHJ Offline
      JKSH
      Moderators
      wrote on last edited by
      #2

      Hi, and welcome to the Qt Dev Net!

      I don't know how iStopMotion does it, but Qt talks to cameras through your operating system. If you can get your OS to present your Canon as an webcam to all software (e.g. Skype, or Google Chat) -- not just iStopMotion -- then you should be able to access it through Qt.

      However, if other software can't see the Canon, that means iStopMotion is using specialized Canon drivers to talk to the camera directly. It doesn't tell your OS that there's a camera attached, thus your OS can't tell Qt about that camera either.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

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

        Hi,

        To add to JKSH and IIRC, Canon EOS line (maybe not all) uses "PTP":http://en.wikipedia.org/wiki/Picture_Transfer_Protocol to talk with their camera, and AFAIK, Qt Multimedia doesn't have a backend for that yet (patches welcome :))

        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
        • I Offline
          I Offline
          iBelieve
          wrote on last edited by
          #4

          Thanks guys for your answers. It is nice knowing why my camera doesn't work.

          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