Qt 5.6.1 from online installer and GStreamer on (K)Ubuntu 16.10 - MediaPlayer sound issue



  • Hi all,

    I seem to always hit sound issues on Linux when upgrading distributions - no news there I guess :D

    However this time the problem seems a bit more Qt specific. I'm using Qt 5.6.1 from the online installers. And sound has worked on Kubuntu 15.10 and 16.04 so far.

    I'm using the MediaPlayer QML component imported from QtMultimedia 5.4 to play back an mp3 file.

    But I'm getting this error:

    GStreamer-CRITICAL **: gst_object_ref_sink: assertion 'GST_IS_OBJECT (object)' failed
    

    This is what I can find of gstreamer related packages installed:

    dpkg -l | grep gstreamer
    
    ii  gir1.2-gstreamer-1.0                            1.8.3-1                                     amd64        GObject introspection data for the GStreamer library
    ii  gstreamer-qapt                                  3.0.2-0ubuntu3                              amd64        GStreamer plugin to install codecs using QApt
    ii  gstreamer0.10-ffmpeg:amd64                      0.10.13-5ubuntu1~vivid                      amd64        FFmpeg plugin for GStreamer
    ii  gstreamer0.10-fluendo-mp3:amd64                 0.10.29.debian-1ubuntu1                     amd64        Fluendo mp3 decoder GStreamer 0.10 plugin
    rc  gstreamer0.10-plugins-good:amd64                0.10.31-3+nmu4ubuntu2~gcc5.1                amd64        GStreamer plugins from the "good" set
    ii  gstreamer1.0-libav:amd64                        1.8.3-1                                     amd64        libav plugin for GStreamer
    ii  gstreamer1.0-nice:amd64                         0.1.13-2                                    amd64        ICE library (GStreamer plugin)
    ii  gstreamer1.0-plugins-bad:amd64                  1.8.3-1ubuntu1.1                            amd64        GStreamer plugins from the "bad" set
    ii  gstreamer1.0-plugins-bad-faad:amd64             1.8.3-1ubuntu1.1                            amd64        GStreamer faad plugin from the "bad" set
    ii  gstreamer1.0-plugins-bad-videoparsers:amd64     1.8.3-1ubuntu1.1                            amd64        GStreamer videoparsers plugin from the "bad" set
    ii  gstreamer1.0-plugins-base:amd64                 1.8.3-1ubuntu1                              amd64        GStreamer plugins from the "base" set
    ii  gstreamer1.0-plugins-good:amd64                 1.8.3-1ubuntu1                              amd64        GStreamer plugins from the "good" set
    ii  gstreamer1.0-plugins-ugly:amd64                 1.8.3-1ubuntu1                              amd64        GStreamer plugins from the "ugly" set
    ii  gstreamer1.0-plugins-ugly-amr:amd64             1.8.3-1ubuntu1                              amd64        GStreamer plugins from the "ugly" set
    ii  gstreamer1.0-pulseaudio:amd64                   1.8.3-1ubuntu1                              amd64        GStreamer plugin for PulseAudio
    ii  gstreamer1.0-x:amd64                            1.8.3-1ubuntu1                              amd64        GStreamer plugins for X11 and Pango
    ii  libgstreamer-plugins-bad1.0-0:amd64             1.8.3-1ubuntu1.1                            amd64        GStreamer development files for libraries from the "bad" set
    ii  libgstreamer-plugins-base0.10-0:amd64           0.10.36-2                                   amd64        GStreamer libraries from the "base" set
    rc  libgstreamer-plugins-base0.10-0:i386            0.10.36-2                                   i386         GStreamer libraries from the "base" set
    ii  libgstreamer-plugins-base1.0-0:amd64            1.8.3-1ubuntu1                              amd64        GStreamer libraries from the "base" set
    ii  libgstreamer-plugins-base1.0-dev                1.8.3-1ubuntu1                              amd64        GStreamer development files for libraries from the "base" set
    ii  libgstreamer-plugins-good1.0-0:amd64            1.8.3-1ubuntu1                              amd64        GStreamer development files for libraries from the "good" set
    ii  libgstreamer0.10-0:amd64                        0.10.36-1.5ubuntu1                          amd64        Core GStreamer libraries and elements
    rc  libgstreamer0.10-0:i386                         0.10.36-1.2ubuntu3                          i386         Core GStreamer libraries and elements
    ii  libgstreamer1.0-0:amd64                         1.8.3-1                                     amd64        Core GStreamer libraries and elements
    ii  libgstreamer1.0-dev                             1.8.3-1                                     amd64        GStreamer core development files
    ii  libqtgstreamer-1.0-0:amd64                      1.2.0-4                                     amd64        C++ bindings library for GStreamer with a Qt-style API
    ii  libqtgstreamerui-1.0-0:amd64                    1.2.0-4                                     amd64        QtGStreamerUi library
    ii  libreoffice-avmedia-backend-gstreamer           1:5.2.2-0ubuntu2                            amd64        GStreamer backend for LibreOffice
    ii  phonon-backend-gstreamer:amd64                  4:4.8.2-0ubuntu2                            amd64        Phonon GStreamer 1.0 backend
    ii  phonon-backend-gstreamer-common:amd64           4:4.8.2-0ubuntu2                            amd64        Phonon GStreamer 1.0.x backend icons
    ii  phonon4qt5-backend-gstreamer:amd64              4:4.8.2-0ubuntu2                            amd64        Phonon Qt5 GStreamer 1.0 backend
    ii  qtgstreamer-declarative:amd64                   1.2.0-4                                     amd64        QML plugins from QtGStreamer
    

    How can I get the mp3 to play again?

    Thanks for your help



Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.