Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-109213

Video flickering when there is a ParticleSystem component or playing some animation at same time

    XMLWordPrintable

Details

    • Windows
    • baf899700 (dev), ec331bffc (6.6), b977cfb44 (6.5), 3363496a7 (dev), a3bf450b2 (6.7), 4043d7ebc (6.6), 582bf926b (tqtc/lts-6.5), 10ba74ebc (dev), a25b5eafc (6.7), fd893ee8d (6.6), ca9a5fb53 (tqtc/lts-6.5)

    Description

      When I run a simple Quick application with the next code in the main QML file:

       

      import QtQuick
      import QtQuick.Controls
      import QtQuick.Particles
      import QtMultimedia
      
      ApplicationWindow {
          visible: true
          width: 800
          weight: 600
      
          VideoOutput {
              id: videoOutput
              anchors.fill: parent
          }
      
          MediaPlayer {
              id: mediaPlayer
              videoOutput: videoOutput source: "file:///C:/film_leader.mp4"
          
              Component.onCompleted: {
                 mediaPlayer.play()
              }
          }
      
          ParticleSystem {
              id: particleSystem
          }
      }
      

      The video is played, but with some kind of flickering. No matter if I use other videos, and it happens in different computers.  The video looks fine when I run the app in a computer which I have connected using RDP (that is, using de Microsoft Remote Display Adapter) but it looks weird when I saw it locally.

      I tried setting some Qt::ApplicationAttribute without success.

       

      The only solution is to comment the ParticleSystem component.

      The same problems appear when I try to use animations. The video output flickers during the animation playback, when I trigger any animation.

       

      Attachments

        1. 2023-01-25 23-34-19.mkv
          8.64 MB
        2. main.qml
          1 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              padubsky Pavel Dubsky
              jmtorres Jesús Torres
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: