Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Call for Presentations - Qt World Summit

    QML + webcam (frame grabber)?

    QML and Qt Quick
    3
    3
    3839
    Loading More Posts
    • 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.
    • A
      Aleskey78 last edited by

      Hi!

      What is the best approach to show live video from a webcam or any other video source, e.g.: frame grabber?
      I’ve tried using Image + custom QDeclarativeImageProvider, but without success.
      Inherit form QDeclarativeItem and draw frames in a paint event? Update it on timer?
      Some better solutions?

      It is a desktop application.

      Thanks.

      1 Reply Last reply Reply Quote 0
      • T
        tomma last edited by

        How about QCamera from mobility and show it in QVideoWidget?

        1 Reply Last reply Reply Quote 0
        • S
          shullw last edited by

          I have not messed with a webcam in ages so please excuse me if this sounds ridiculous. If the webcam puts stuff in a file you could always just use the the QML Video Element from Qt Mobility to display it. It would be great to link your webcam into it through
          @
          source: "webcam feed.avi"
          @
          Like I said though I don't know how/if this would work. Here is the documentation on the video portion of Qt Mobility. - "QML Video Element":http://doc.qt.nokia.com/qtmobility-1.1.0-beta/qml-video.html

          A QML Purest Point of View!

          1 Reply Last reply Reply Quote 0
          • First post
            Last post