Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. Qt 6
  4. QtMultimedia - UI Freezes after 6.4.0 update.

QtMultimedia - UI Freezes after 6.4.0 update.

Scheduled Pinned Locked Moved Unsolved Qt 6
qtmultimediaqt6.4.0qt6videoplayback
18 Posts 3 Posters 2.4k Views
  • 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.
  • L Offline
    L Offline
    Lucas Simoes
    wrote on 11 Oct 2022, 14:48 last edited by
    #8

    @SGaist, I was able to make the workaround possible. The video is rewinding normally, but I needed to convert my mpeg1/2 video to mp4|avi, using MPG it crashes.

    Thank you.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 11 Oct 2022, 18:35 last edited by
      #9

      Which platform are you on ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      L 1 Reply Last reply 13 Oct 2022, 14:24
      0
      • S SGaist
        11 Oct 2022, 18:35

        Which platform are you on ?

        L Offline
        L Offline
        Lucas Simoes
        wrote on 13 Oct 2022, 14:24 last edited by
        #10

        @SGaist
        Linux OpenSuse 15.4 kernel 5.14.21
        KDE: 5.90 / Plasma: 5.24.4

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 13 Oct 2022, 19:21 last edited by
          #11

          Do you have the same issue if you play the video with gstreamer directly ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          L 2 Replies Last reply 14 Oct 2022, 16:36
          0
          • S SGaist
            13 Oct 2022, 19:21

            Do you have the same issue if you play the video with gstreamer directly ?

            L Offline
            L Offline
            Lucas Simoes
            wrote on 14 Oct 2022, 16:36 last edited by
            #12

            No, only in my code.

            1 Reply Last reply
            0
            • S SGaist
              13 Oct 2022, 19:21

              Do you have the same issue if you play the video with gstreamer directly ?

              L Offline
              L Offline
              Lucas Simoes
              wrote on 14 Oct 2022, 17:37 last edited by Lucas Simoes
              #13

              @SGaist I Forgot to mention... the entire UI freezes but the video still running normally.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 14 Oct 2022, 18:36 last edited by
                #14

                Then it's something you should report.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                1
                • S Offline
                  S Offline
                  Sam Aaron
                  wrote on 18 Oct 2022, 10:43 last edited by Sam Aaron
                  #15

                  Just to add that I have noticed similar behaviour with Sonic Pi (https://github.com/sonic-pi-net/sonic-pi).

                  After upgrading Qt to 6.4, the app freezes at some point. It appears non-deterministic - sometimes after minutes, another time after an hour or so.

                  Downgrading to Qt 6.3.2 didn't fix the issue either - my guess is that whatever is causing the issue is new to 6.3.2 and 6.4.

                  Downgrading to Qt 6.2.4 does appear to have fixed the issue. I've had the GUI running overnight and all morning and no freezing so far.

                  I should also note that I've been working on Sonic Pi from the very first Qt 5.x releases for 10 years now and this has been the first time I've seen such freezing.

                  S 1 Reply Last reply 18 Oct 2022, 21:04
                  1
                  • L Offline
                    L Offline
                    Lucas Simoes
                    wrote on 18 Oct 2022, 14:41 last edited by
                    #16

                    Update:

                    Unfortunately, I couldn't fix the freeze by using Qt 6.4, but that workaround worked with Qt 6.3.2 and 2.4.0.

                    About the rewind problem, I was finally able to run without crashes. So, the final solution for me:

                    Fedora 36 (KDE Plasma 5.25.5) - kernel 5.19.15
                    Gstreamer backend 1.20.3
                    Qt 6.3.2 (plus qtmultimedia workaround)

                    And I forgot to mention, the freeze also appears in Qt 6.3.2 if using Wayland as window manager.

                    1 Reply Last reply
                    0
                    • S Offline
                      S Offline
                      SGaist
                      Lifetime Qt Champion
                      wrote on 18 Oct 2022, 15:18 last edited by
                      #17

                      So I insist: open a bug report :-) Both of you have solid evidence that something is amiss so don't hesitate.

                      Interested in AI ? www.idiap.ch
                      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                      1 Reply Last reply
                      1
                      • S Sam Aaron
                        18 Oct 2022, 10:43

                        Just to add that I have noticed similar behaviour with Sonic Pi (https://github.com/sonic-pi-net/sonic-pi).

                        After upgrading Qt to 6.4, the app freezes at some point. It appears non-deterministic - sometimes after minutes, another time after an hour or so.

                        Downgrading to Qt 6.3.2 didn't fix the issue either - my guess is that whatever is causing the issue is new to 6.3.2 and 6.4.

                        Downgrading to Qt 6.2.4 does appear to have fixed the issue. I've had the GUI running overnight and all morning and no freezing so far.

                        I should also note that I've been working on Sonic Pi from the very first Qt 5.x releases for 10 years now and this has been the first time I've seen such freezing.

                        S Offline
                        S Offline
                        Sam Aaron
                        wrote on 18 Oct 2022, 21:04 last edited by
                        #18

                        @Sam-Aaron said in QtMultimedia - UI Freezes after 6.4.0 update.:

                        Downgrading to Qt 6.2.4 does appear to have fixed the issue. I've had the GUI running overnight and all morning and no freezing so far.

                        Unfortunately (for me) this assertion was wrong and I got a freeze with a Qt 6.2.4 build. Apologies for the red herring - my issue is likely unrelated.

                        1 Reply Last reply
                        0

                        17/18

                        18 Oct 2022, 15:18

                        • Login

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