Qt Forum

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

    Update: Forum Guidelines & Code of Conduct

    QMultiMedia not playing properly / not playing at all

    General and Desktop
    7
    7
    4097
    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.
    • E
      ehoberg last edited by

      Hello,

      I`m facing some difficulties with the multimedia library. I plan to use the QGraphicsVideoItem in a project however, i needed to do some performance tests first. The first step was too see if the example projects functioned properly however i haven't managed to get them to work properly.

      the videowidget example project produces the following error:

      When attempting to play an .mp4 movie

      • Error: "Gstreamer encountered a general stream error"

      When attempting to play an .avi movie

      • Error: "Internal data stream error."

      The screen stays black.

      When attempting the same thing at the videographicsitem example project the result is different:
      When loading the movie the following error appears:

      • Failed to start video surface

      However, the movie does start and functions properly.
      I`m guessing it has something to do with the gsteamer libraries but i'm not sure. Does anyone know what/where to look for ?

      Some additional information:

      • When i execute gst-launch playbin uri=file:///some movie it plays the movie
      • Running OpenSUSE 12.3 in a virtual machine (host windows 7)
      1 Reply Last reply Reply Quote 1
      • ylopes
        ylopes last edited by

        Make sure you have all GStreamer 0.10 plugins installed. That is: gstreamer-plugins-good, gstreamer-plugins-ugly, gstreamer-plugins-bad and gstreamer-plugins-ffmpeg.

        1 Reply Last reply Reply Quote 0
        • M
          mehrdadsilver last edited by

          and i think you must install ffmepg in OpeenSuse.

          Mehrdad Abdolghafari, Be silver

          1 Reply Last reply Reply Quote 0
          • H
            hisoft last edited by

            Hi,

            I'm experiencing the same error : all my movies (.mpg, .mpeg, .avi, .wmv, etc.) play well with gst-lauch but i get the "internal data error" message. I have installed all necessary gstreamer plugins.
            Why "videowidget" example doesn't work ?

            I'm using Qt 5.2 with Qt Creator 3.0.

            Thanks.

            1 Reply Last reply Reply Quote 0
            • M
              ManjuQt last edited by

              Any solution for this? I'm facing the same issue with the Raspberry pi.

              1 Reply Last reply Reply Quote 0
              • Diamond Platypus
                Diamond Platypus last edited by

                I'm currently facing the exact same problem, and it's quite strange since i can use either totem, gnome-open, gst-launch playbin "myvideo.mp4", but the problem appears when i try to launch it with qt and i get this: "Gstreamer encountered a general stream error" with a .mp4

                1 Reply Last reply Reply Quote 2
                • RiteshPanchal
                  RiteshPanchal last edited by

                  Have anyone found solution?

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