Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Missing GStreamer package



  • Hello!

    I am using with Qt5.9 with Ubuntu 14.04 (VM ware).

    I try to use a Logitech C270 usb webcam.
    When I try to compile I am getting the following output:

    Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.6.
    Please install the 'bad' GStreamer plugin package.
    

    In meanwhile I installed a lot of gstreamer packages...
    Does anybody know which gstreamer package is exactly the one I have to install, to get my application working?

    Regards,
    MHermann


  • Qt Champions 2019

    @MHermann The error message already suggests which package to install.
    On Ubuntu 16.04 it is gstreamer1.0-plugins-bad. I think on 14.04 it will be version 0.10.
    You can find out the name using

    apt-cache search gstreamer | grep bad
    


  • @jsulm :

    The output of

    apt-cache search gstreamer | grep bad
    

    was

    gstreamer0.10-plugins-bad-multiverse - GStreamer plugins from the "bad" set (Multiverse Variant)
    gstreamer0.10-plugins-bad-multiverse-dbg - GStreamer plugins from the "bad" set (Multiverse Variant)
    gstreamer0.10-plugins-bad - GStreamer plugins from the "bad" set
    gstreamer0.10-plugins-bad-dbg - GStreamer plugins from the "bad" set (debug symbols)
    gstreamer0.10-plugins-bad-doc - GStreamer documentation for plugins from the "bad" set
    gstreamer1.0-plugins-bad - GStreamer plugins from the "bad" set
    gstreamer1.0-plugins-bad-dbg - GStreamer plugins from the "bad" set (debug symbols)
    gstreamer1.0-plugins-bad-doc - GStreamer documentation for plugins from the "bad" set
    gstreamer1.0-plugins-bad-faad - GStreamer faad plugin from the "bad" set
    gstreamer1.0-plugins-bad-videoparsers - GStreamer videoparsers plugin from the "bad" set
    libgstreamer-plugins-bad0.10-0 - GStreamer shared libraries from the "bad" set
    libgstreamer-plugins-bad0.10-dev - GStreamer development files for libraries from the "bad" set
    libgstreamer-plugins-bad1.0-0 - GStreamer development files for libraries from the "bad" set
    libgstreamer-plugins-bad1.0-dev - GStreamer development files for libraries from the "bad" set
    

    Then I installed all the packages.

    sudo apt-get install libgstreamer-plugins-bad*
    sudo apt-get install gstreamer0.10-plugins-*
    sudo apt-get install gstreamer1.0-plugins-*
    

    But I still get the same error messages than before.
    Any more ideas?



  • I checked what packages are installed at the moment.
    Maybe there is something wrong?

    The output of

    apt list --installed | grep gstreamer
    

    is

    gir1.2-gstreamer-0.10/trusty,now 0.10.36-1.2ubuntu3 amd64 [installed,automatic]
    gir1.2-gstreamer-1.0/trusty,now 1.6.3-1 amd64 [installed,automatic]
    gstreamer0.10-alsa/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 amd64 [installed,automatic]
    gstreamer0.10-doc/trusty,now 0.10.36-1.2ubuntu3 all [installed,automatic]
    gstreamer0.10-plugins-bad/trusty-updates,trusty-security,now 0.10.23-7.2ubuntu1.3 amd64 [installed]
    gstreamer0.10-plugins-bad-dbg/trusty-updates,trusty-security,now 0.10.23-7.2ubuntu1.3 amd64 [installed]
    gstreamer0.10-plugins-bad-doc/trusty-updates,trusty-security,now 0.10.23-7.2ubuntu1.3 all [installed]
    gstreamer0.10-plugins-bad-multiverse/trusty,now 0.10.21-1ubuntu3 amd64 [installed]
    gstreamer0.10-plugins-bad-multiverse-dbg/trusty,now 0.10.21-1ubuntu3 amd64 [installed]
    gstreamer0.10-plugins-base/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 amd64 [installed]
    gstreamer0.10-plugins-base-apps/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 amd64 [installed]
    gstreamer0.10-plugins-base-dbg/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 amd64 [installed]
    gstreamer0.10-plugins-base-doc/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 all [installed]
    gstreamer0.10-tools/trusty,now 0.10.36-1.2ubuntu3 amd64 [installed,automatic]
    gstreamer0.10-x/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 amd64 [installed,automatic]
    gstreamer1.0-alsa/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-clutter/trusty,now 2.0.8-1build1 amd64 [installed]
    gstreamer1.0-crystalhd/trusty,now 1:0.0~git20110715.fdd2f19-9ubuntu1 amd64 [installed]
    gstreamer1.0-doc/trusty,now 1.6.3-1 all [installed]
    gstreamer1.0-fluendo-mp3/trusty,now 0.10.23.debian-3 amd64 [installed]
    gstreamer1.0-gnonlin/trusty,now 1.2.0-1 amd64 [installed]
    gstreamer1.0-gnonlin-dbg/trusty,now 1.2.0-1 amd64 [installed]
    gstreamer1.0-gnonlin-doc/trusty,now 1.2.0-1 all [installed]
    gstreamer1.0-libav/trusty-updates,now 1.2.4-1~ubuntu1 amd64 [installed]
    gstreamer1.0-libav-dbg/trusty-updates,now 1.2.4-1~ubuntu1 amd64 [installed]
    gstreamer1.0-nice/trusty,now 0.1.4-1 amd64 [installed]
    gstreamer1.0-plugins-bad-doc/trusty-updates,trusty-security,now 1.2.4-1~ubuntu1.1 all [installed]
    gstreamer1.0-plugins-base/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-plugins-base-apps/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-plugins-base-dbg/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-plugins-base-doc/trusty,now 1.6.3-0 all [installed]
    gstreamer1.0-plugins-good/trusty,now 1.6.3-0 amd64 [installed,automatic]
    gstreamer1.0-plugins-good-doc/trusty,now 1.6.3-0 all [installed]
    gstreamer1.0-plugins-ugly/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-plugins-ugly-dbg/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-plugins-ugly-doc/trusty,now 1.6.3-0 all [installed]
    gstreamer1.0-pulseaudio/trusty,now 1.6.3-0 amd64 [installed]
    gstreamer1.0-tools/trusty,now 1.6.3-1 amd64 [installed]
    gstreamer1.0-vaapi/trusty,now 0.5.7-0ubuntu4 amd64 [installed]
    gstreamer1.0-vaapi-doc/trusty,now 0.5.7-0ubuntu4 all [installed]
    gstreamer1.0-x/trusty,now 1.6.3-0 amd64 [installed]
    libgstreamer-plugins-bad0.10-0/trusty-updates,trusty-security,now 0.10.23-7.2ubuntu1.3 amd64 [installed,automatic]
    libgstreamer-plugins-base0.10-0/trusty-updates,trusty-security,now 0.10.36-1.1ubuntu2.1 amd64 [installed,automatic]
    libgstreamer-plugins-base1.0-0/trusty,now 1.6.3-0 amd64 [installed]
    libgstreamer-plugins-good1.0-0/trusty,now 1.6.3-0 amd64 [installed,automatic]
    libgstreamer-vaapi1.0-0/trusty,now 0.5.7-0ubuntu4 amd64 [installed,automatic]
    libgstreamer0.10-0/trusty,now 0.10.36-1.2ubuntu3 amd64 [installed,automatic]
    libgstreamer0.10-dev/trusty,now 0.10.36-1.2ubuntu3 amd64 [installed,automatic]
    libgstreamer1.0-0/trusty,now 1.6.3-1 amd64 [installed]
    libgstreamer1.0-0-dbg/trusty,now 1.6.3-1 amd64 [installed]
    libgstreamer1.0-dev/trusty,now 1.6.3-1 amd64 [installed]
    libreoffice-avmedia-backend-gstreamer/trusty-updates,trusty-security,now 1:4.2.8-0ubuntu5.2 amd64 [installed,automatic]
    phonon-backend-gstreamer/trusty-updates,now 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 [installed,automatic]
    phonon-backend-gstreamer-common/trusty-updates,now 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 [installed,automatic]
    phonon-backend-gstreamer-dbg/trusty-updates,now 4:4.7.80-0ubuntu2~ubuntu14.04 amd64 [installed,automatic]
    phonon-backend-gstreamer1.0/trusty-updates,now 4:4.7.80-0ubuntu2~ubuntu14.04 all [installed]
    phonon-backend-gstreamer1.0-common/trusty-updates,now 4:4.7.80-0ubuntu2~ubuntu14.04 all [installed]
    phonon-backend-gstreamer1.0-dbg/trusty-updates,now 4:4.7.80-0ubuntu2~ubuntu14.04 all [installed]
    

    I tried to remove all GStreamer packages.
    But that is not possible. Some of the packages can't be removed because of unmet dependencies.


  • Qt Champions 2019

    @MHermann You can try to install all "ugly" plug-ins as well :-)
    It is sometimes hard to find out which exact GStreamer package is missing.


Log in to reply