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 Video onPositionChanged raises to rarely
Forum Updated to NodeBB v4.3 + New Features

QML Video onPositionChanged raises to rarely

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

    Hi Guys,

    I noticed that the onPositionChanged event of QML video element raises only round about one time per second. Is there any possibility to do this much ofter, maybe by using an other event or a workaround?

    The ideal solution for me would be to have a event that raises with every new frame.

    Thanks

    Eddi0406

    1 Reply Last reply
    0
    • E Offline
      E Offline
      Eddi0406
      wrote on last edited by
      #2

      I found a simple solution: integration of a simple timer, that raises every 50ms. Maybe this helps someone in the future.

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

        Video element has a property notifyInterval which determines how often the events should be trigerred. Default value is set to 1000 milliseconds.

        Refer:
        https://doc.qt.io/qt-5/qml-qtmultimedia-video.html#notifyInterval-prop

        Kudos

        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