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. MediaPlayer example: Error: "Internal data flow error."
QtWS25 Last Chance

MediaPlayer example: Error: "Internal data flow error."

Scheduled Pinned Locked Moved Unsolved General and Desktop
7 Posts 2 Posters 2.8k 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.
  • T Offline
    T Offline
    Teem
    wrote on last edited by
    #1

    I have fresh ubuntu 14.04 installation with QT 5.5 on it. I try to launch media player video example and play mpeg2 video. When I try to press play I get Error: "Internal data flow error." application output.

    I am able to play this video with Totem player, just in case.

    Can anyone suggest what's wrong?
    Thanks,
    Tim

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Teem
      wrote on last edited by
      #2

      Please, can anyone assist or at least give a direction to dig in?

      I spent week arlready trying to get it running.
      Here is similar thread: which has completley same problem. Difference is only that im running ubuntu.

      I

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        GStreamer is the starting point to look at which version you have, can you read your video if you use it directly ?

        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
        • T Offline
          T Offline
          Teem
          wrote on last edited by
          #4

          Thanks for replying.

          I can run video with ubunutu videos application.
          I tried to install gstreamer0.1 and gstreamer1.0. This is my first project under linux, so I am very newb in it.

          Here is dpkg -l | grep gstreamer
          ii gir1.2-gstreamer-0.10 0.10.36-1.2ubuntu3 amd64 Description: GObject introspection data for the GStreamer library
          ii gir1.2-gstreamer-1.0 1.2.4-0ubuntu1 amd64 Description: GObject introspection data for the GStreamer library
          ii gstreamer-tools 0.10.36-1.2ubuntu3 amd64 Tools for use with GStreamer
          ii gstreamer0.10-alsa:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugin for ALSA
          ii gstreamer0.10-ffmpeg:amd64 0.10.13-5ubuntu1~trusty2 amd64 FFmpeg plugin for GStreamer
          ii gstreamer0.10-ffmpeg-dbg:amd64 0.10.13-5ubuntu1~trusty2 amd64 FFmpeg plugin for GStreamer (debug symbols)
          ii gstreamer0.10-fluendo-mp3:amd64 0.10.23.debian-3 amd64 Fluendo mp3 decoder GStreamer 0.10 plugin
          ii gstreamer0.10-gconf:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugin for getting the sink/source information from GConf
          ii gstreamer0.10-nice:amd64 0.1.4-1 amd64 ICE library (GStreamer 0.10 plugin)
          ii gstreamer0.10-packagekit 0.8.12-1ubuntu5 amd64 GStreamer plugin to install codecs using PackageKit
          ii gstreamer0.10-plugins-bad:amd64 0.10.23-7.2ubuntu1.1 amd64 GStreamer plugins from the "bad" set
          ii gstreamer0.10-plugins-bad-multiverse 0.10.21-1ubuntu3 amd64 GStreamer plugins from the "bad" set (Multiverse Variant)
          ii gstreamer0.10-plugins-base:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugins from the "base" set
          ii gstreamer0.10-plugins-base-apps 0.10.36-1.1ubuntu2 amd64 GStreamer helper programs from the "base" set
          ii gstreamer0.10-plugins-base-dbg:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugins from the "base" set
          ii gstreamer0.10-plugins-good:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugins from the "good" set
          ii gstreamer0.10-plugins-good-dbg:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugins from the "good" set
          ii gstreamer0.10-plugins-ugly:amd64 0.10.19-2ubuntu5 amd64 GStreamer plugins from the "ugly" set
          ii gstreamer0.10-plugins-ugly-dbg:amd64 0.10.19-2ubuntu5 amd64 GStreamer plugins from the "ugly" set (debug symbols)
          ii gstreamer0.10-pulseaudio:amd64 0.10.31-3+nmu1ubuntu5 amd64 GStreamer plugin for PulseAudio
          ii gstreamer0.10-qapt 2.1.70-0ubuntu4.2 amd64 GStreamer plugin to install codecs using QApt
          ii gstreamer0.10-tools 0.10.36-1.2ubuntu3 amd64 Tools for use with GStreamer
          ii gstreamer0.10-x:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer plugins for X11 and Pango
          ii gstreamer1.0-alsa:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugin for ALSA
          ii gstreamer1.0-clutter 2.0.8-1build1 amd64 Clutter PLugin for GStreamer 1.0
          ii gstreamer1.0-fluendo-mp3:amd64 0.10.23.debian-3 amd64 Fluendo mp3 decoder GStreamer 1.0 plugin
          ii gstreamer1.0-libav:amd64 1.2.4-1~ubuntu1 amd64 libav plugin for GStreamer
          ii gstreamer1.0-nice:amd64 0.1.4-1 amd64 ICE library (GStreamer plugin)
          ii gstreamer1.0-plugins-bad:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugins from the "bad" set
          ii gstreamer1.0-plugins-bad-faad:amd64 1.2.4-1~ubuntu1 amd64 GStreamer faad plugin from the "bad" set
          ii gstreamer1.0-plugins-bad-videoparsers:amd64 1.2.4-1~ubuntu1 amd64 GStreamer videoparsers plugin from the "bad" set
          ii gstreamer1.0-plugins-base:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugins from the "base" set
          ii gstreamer1.0-plugins-base-apps 1.2.4-1~ubuntu1 amd64 GStreamer helper programs from the "base" set
          ii gstreamer1.0-plugins-good:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugins from the "good" set
          ii gstreamer1.0-plugins-ugly:amd64 1.2.3-2build1 amd64 GStreamer plugins from the "ugly" set
          ii gstreamer1.0-pulseaudio:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugin for PulseAudio
          ii gstreamer1.0-tools 1.2.4-0ubuntu1 amd64 Tools for use with GStreamer
          ii gstreamer1.0-x:amd64 1.2.4-1~ubuntu1 amd64 GStreamer plugins for X11 and Pango
          ii libgstreamer-plugins-bad0.10-0:amd64 0.10.23-7.2ubuntu1.1 amd64 GStreamer shared libraries from the "bad" set
          ii libgstreamer-plugins-bad0.10-dev 0.10.23-7.2ubuntu1.1 amd64 GStreamer development files for libraries from the "bad" set
          ii libgstreamer-plugins-bad1.0-0:amd64 1.2.4-1~ubuntu1 amd64 GStreamer development files for libraries from the "bad" set
          ii libgstreamer-plugins-base0.10-0:amd64 0.10.36-1.1ubuntu2 amd64 GStreamer libraries from the "base" set
          ii libgstreamer-plugins-base1.0-0:amd64 1.2.4-1~ubuntu1 amd64 GStreamer libraries from the "base" set
          ii libgstreamer-plugins-good1.0-0:amd64 1.2.4-1~ubuntu1 amd64 GStreamer development files for libraries from the "good" set
          ii libgstreamer-plugins-good1.0-dev 1.2.4-1~ubuntu1 amd64 GStreamer development files for libraries from the "good" set
          ii libgstreamer0.10-0:amd64 0.10.36-1.2ubuntu3 amd64 Core GStreamer libraries and elements
          ii libgstreamer0.10-0-dbg:amd64 0.10.36-1.2ubuntu3 amd64 Core GStreamer libraries and elements
          ii libgstreamer0.10-dev 0.10.36-1.2ubuntu3 amd64 GStreamer core development files
          ii libgstreamer1.0-0:amd64 1.2.4-0ubuntu1 amd64 Core GStreamer libraries and elements
          ii libgstreamer1.0-dev 1.2.4-0ubuntu1 amd64 GStreamer core development files
          ii libreoffice-avmedia-backend-gstreamer 1:4.2.8-0ubuntu3 amd64 GStreamer backend for LibreOffice
          ii phonon-backend-gstreamer:amd64 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 Phonon GStreamer 1.0.x backend
          ii phonon-backend-gstreamer-common:amd64 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 Phonon GStreamer 1.0.x backend icons
          ii phonon-backend-gstreamer1.0 4:4.7.80-0ubuntu2~ubuntu14.04 all transitional package

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            That doesn't mean they use the same setup as Qt does to read media files. That's why I suggested to test gstreamer directly on the command line.

            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
            • T Offline
              T Offline
              Teem
              wrote on last edited by Teem
              #6

              I tried to use command line and could play video with running:

              gst-launch filesrc location=/PATH/FILENAME.ts ! decodebin2 name=dec ! queue ! ffmpegcolorspace ! autovideosink dec. ! queue ! audioconvert ! audioresample ! autoaudiosink

              Is this a proof that gstreamer working properly? I am not very good with linux, so I was just googling for examples of launching mpeg2 from command line

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #7

                I'm having a doubt whether 5.5 uses the 1.0 or 0.1 version of GStreamer for its plugin by default.

                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
                1

                • Login

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