Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QMultiMedia not playing properly / not playing at all

QMultiMedia not playing properly / not playing at all

Scheduled Pinned Locked Moved General and Desktop
7 Posts 7 Posters 4.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.
  • E Offline
    E Offline
    ehoberg
    wrote on last edited by
    #1

    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
    1
    • ylopesY Offline
      ylopesY Offline
      ylopes
      wrote on last edited by
      #2

      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
      0
      • M Offline
        M Offline
        mehrdadsilver
        wrote on last edited by
        #3

        and i think you must install ffmepg in OpeenSuse.

        Mehrdad Abdolghafari, Be silver

        1 Reply Last reply
        0
        • H Offline
          H Offline
          hisoft
          wrote on last edited by
          #4

          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
          0
          • M Offline
            M Offline
            ManjuQt
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0
            • Diamond PlatypusD Offline
              Diamond PlatypusD Offline
              Diamond Platypus
              wrote on last edited by
              #6

              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
              2
              • RiteshPanchalR Offline
                RiteshPanchalR Offline
                RiteshPanchal
                wrote on last edited by
                #7

                Have anyone found solution?

                1 Reply Last reply
                0

                • Login

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