Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Unsolved Unable to play videos on Qt 5.14

    General and Desktop
    3
    4
    299
    Loading More Posts
    • 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.
    • R
      RanGalun last edited by aha_1980

      Hello, I'm trying to play videos within qt 5.14, using QMediaPlayer, however I'm encountering the following two errors (multiple times):

      1. QWidget::paintEngine: Should no longer be called

      2. ** CRITICAL **: 17:27:45.769: gst_vaapi_window_reconfigure: assertion 'GST_VAAPI_IS_WINDOW (window)' failed

      I've tried to install gstreamer-1.0 and all of its plugins but it's not working either. As I searched, it looks like it's an open bug (?), but I wonder if there could be any workaround. I'm using ubuntu 19.10, BTW.

      Thanks!

      1 Reply Last reply Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        Hi and welcome to devnet,

        One test to do is build your application with your distribution provided Qt.

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

        R 1 Reply Last reply Reply Quote 0
        • R
          RanGalun @SGaist last edited by

          @SGaist Hi, Thanks for your reply.
          I tried also to play a video with one of Qt Creator's built-in examples (player example), but still, it's not playing the video correctly and give me exactly the same errors. It's just show a black screen and nothing more.
          I can't find my Ubuntu's Qt, do you know maybe where to find it (preferred using Qt creator).
          Thanks again!

          mrjj 1 Reply Last reply Reply Quote 0
          • mrjj
            mrjj Lifetime Qt Champion @RanGalun last edited by mrjj

            @RanGalun
            Hi
            When we say try Ubuntu's Qt we mean
            apt-get install qt5-default
            or similar versus installing a version from Qts site.

            https://stackoverflow.com/questions/48147356/install-qt-on-ubuntu

            1 Reply Last reply Reply Quote 1
            • First post
              Last post