Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Qt Multimedia play - BUG: scheduling while atomic: vqueue:src/460/0x00000101

Qt Multimedia play - BUG: scheduling while atomic: vqueue:src/460/0x00000101

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
qt multimedialinuxarmgstreamer video
4 Posts 2 Posters 1.5k 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.
  • S Offline
    S Offline
    Sangramsinh jadhav
    wrote on 23 May 2018, 18:39 last edited by
    #1

    Currently, I am using Qt on Arm embedded systems to run the Qt5.6.0/Examples/Qt-5.6/qtmultimedia/multimedia/video/qmlvideo application. I select the video using "Select File 1" button --> then hit Video --> tap gain to play. After a while I see :

    BUG: scheduling while atomic: vqueue:src/460/0x00000101
    Preemption disabled at:[<80101544>] __do_softirq+0x5c/0x3b4

    However when I use the gstreamer I had faced the Premption issue when I ran the following gstreamer command:

    gst-launch-1.0 -v filesrc location=/home/video/big_buck_bunny_720p_h264.mov typefind=true ! qtdemux !queue max-size-time=0 !vpudec ! videoconvert ! imxipuvideosink framebuffer=/dev/fb3

    BUG: scheduling while atomic: vqueue:src/460/0x00000101
    Preemption disabled at:[<80101544>] __do_softirq+0x5c/0x3b4

    Solution: Was to set queue before & after the decoder as given below. This played without any issues until the end of the video.

    gst-launch-1.0 filesrc location=/opt/apex/video/big_buck_bunny_720p_h264.mov typefind=true ! qtdemux ! queue ! vpudec frame-drop=false ! queue max-size-buffers=3 !imxipuvideosink framebuffer=/dev/fb3

    I mentioned gstreamer as it is being used by Qt to play & control video as the underlying mechanism on linux. Please let me know if I have to modify anything in the Qt Application/or the Qt framework is so to make it work.

    Resources used--->
    Qt version: Qt 5.6.0
    System: Arm linux
    Kernel: 4.8.22-WR9.0.0.7_standard
    Gstreamer: gstreamer 1.0

    1 Reply Last reply
    0
    • S Offline
      S Offline
      SGaist
      Lifetime Qt Champion
      wrote on 23 May 2018, 19:26 last edited by
      #2

      Hi and welcome to devnet,

      You'll likely have to modify the GStreamer backend in QtMultimedia. You can find it under /qtmultimedia/src/plugins/gstreamer/mediaplayer.

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

      S 1 Reply Last reply 24 May 2018, 17:43
      1
      • S SGaist
        23 May 2018, 19:26

        Hi and welcome to devnet,

        You'll likely have to modify the GStreamer backend in QtMultimedia. You can find it under /qtmultimedia/src/plugins/gstreamer/mediaplayer.

        S Offline
        S Offline
        Sangramsinh jadhav
        wrote on 24 May 2018, 17:43 last edited by
        #3

        @SGaist /qtmultimedia/src/plugins/gstreamer/mediaplayer is it a conf file ? I am unable to see any src folder.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SGaist
          Lifetime Qt Champion
          wrote on 24 May 2018, 20:06 last edited by
          #4

          Did you download Qt's sources ?

          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
          0

          1/4

          23 May 2018, 18:39

          • Login

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