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. To capture image from video frame qml(Qt -5)
Forum Updated to NodeBB v4.3 + New Features

To capture image from video frame qml(Qt -5)

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 Posters 2.7k 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.
  • B Offline
    B Offline
    bts-007
    wrote on last edited by
    #1

    Hai,
    I am using video element from QtMultimedia(qml) to play video. How it is possible to capture a image from video frame in qml. Thank you

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alek Śmierciak
      wrote on last edited by
      #2

      Hello,

      the only QtMultimedia element that has screen capturing capabilities on its own is CameraCapture, related to camera functionality. Perhaps capturing an image from C++ side is possible through "QGraphicsScene::render":http://qt-project.org/doc/qt-5.0/qtwidgets/qgraphicsscene.html#render or "QGraphicsView::render":http://qt-project.org/doc/qt-5.0/qtwidgets/qgraphicsview.html#render, but I am not sure.

      See also "this thread":http://qt-project.org/forums/viewthread/27117 with its "QQuickView::grabWindow":http://qt-project.org/doc/qt-5.0/qtquick/qquickwindow.html#grabWindow recommendation.

      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