Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QML + webcam (frame grabber)?
Forum Updated to NodeBB v4.3 + New Features

QML + webcam (frame grabber)?

Scheduled Pinned Locked Moved QML and Qt Quick
3 Posts 3 Posters 4.1k 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.
  • A Offline
    A Offline
    Aleskey78
    wrote on last edited by
    #1

    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
    0
    • T Offline
      T Offline
      tomma
      wrote on last edited by
      #2

      How about QCamera from mobility and show it in QVideoWidget?

      1 Reply Last reply
      0
      • S Offline
        S Offline
        shullw
        wrote on last edited by
        #3

        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
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved