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

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.2.4, 6.4.1, 6.5.0
    • None
    • Windows

    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. main.qml
          1 kB
        2. 2023-01-25 23-34-19.mkv
          8.64 MB

        Activity

          People

            artemiy Artem Dyomin
            jmtorres Jesús Torres
            Votes:
            3 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated: