Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Failed to start video surface due to main thread blocked



  • Hi again,
    I am trying to display video on my Linux embedded ARM target system (Beaglebone like) using qmediaplayer.
    After loading all libraries include gstreamer and qt plugins, I get the message:

    Failed to start video surface due to main thread blocked.
    Failed to start video surface due to main thread blocked.
    Failed to start video surface due to main thread blocked.

    I have found this link to QT-BUG without real solution.

    Any idea,
    Best Regards,
    IL



  • Anyone?
    please.


  • Moderators

    Hi, Tim Day suggested a workaround in the QTBUG you found: adding a brief "splash-screen" delay to the application

    Does this work for you?



  • @JKSH Hi,
    And thanks for reply.
    Yes, I try this one but it dose not make any different.
    But there is another thing that bother me now even more, as I mention above, I am working on Linux embedded ARM target system (Beaglebone like), I have compiled gst libs for QT and also the gst-play-1.0 and more tools inorder to analyze my target. When I run gst-play-1.0 /<video-file-path-and-name> on my target, it running OK without any error but there is nothing on screen.

    I also found QTBUG-47284 which could be the reason for my problem, that there is no support for linuxFB when using gstreamer and/or qtmultimedia. (made only for xcb)

    Can someone elaborate this issue please?
    Best regards,
    IL


Log in to reply