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. Camera viewfinder fails to load in Lubuntu 14.04
Forum Updated to NodeBB v4.3 + New Features

Camera viewfinder fails to load in Lubuntu 14.04

Scheduled Pinned Locked Moved General and Desktop
5 Posts 2 Posters 1.4k Views 1 Watching
  • 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.
  • U Offline
    U Offline
    uranusjr
    wrote on last edited by
    #1

    Hi,

    I’m trying to use the camera viewfinder on Linux. The compilation works fine, but when I try to launch the program all I get is a black screen, with the following in stderr:

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

    I tried both the Qt 5.2.1 from APT and 5.3.0 from the official online installer. Same result. I tried to install some stuff that seems related (libqt5multimedia5-plugins, for example), but nothing yields success. Is there something that I should install/compile to make this work?

    Thanks.

    p.s. For what it’s worth, the same application works perfectly on my OS X machine with Homebrew Qt.

    1 Reply Last reply
    0
    • S Offline
      S Offline
      stuartx
      wrote on last edited by
      #2

      uranusjr, I get the same problem when running the camera example. Do you have a solution for this problem? Thanks.

      1 Reply Last reply
      0
      • U Offline
        U Offline
        uranusjr
        wrote on last edited by
        #3

        I ended up switching to another Linux distribution (Linux Mint Qiana, for the record), and after installing libqtmultimedia5-plugins everything works fine.

        Since Mint Qiana and Lubuntu 14.04 are both based on Ubuntu 14.04, I suspect Lubuntu has some plugin and/or codec dependency missing somewhere out of the box. But I really can’t tell what. Sorry. :(

        1 Reply Last reply
        0
        • S Offline
          S Offline
          stuartx
          wrote on last edited by
          #4

          How to install libqtmultimedia5-plugins? How can I tell if it is installed on my box? I cannot find it in Qt maintainence tool. Thanks.

          1 Reply Last reply
          0
          • U Offline
            U Offline
            uranusjr
            wrote on last edited by
            #5

            I used the Qt distribution provided by APT. If you use Ubuntu (or its derivatives like Mint), you can install Qt libraries with

            @
            sudo apt-get install qt5-default libqt5multimediawidgets5 libqt5multimedia5-plugins
            @

            You may or may not need more packages; these work for me. Also note that the package name in my previous post is wrong. Sorry.

            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