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

QCamera Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.



  • Development platform: Allwinner A40i (arm linux)
    Kernel version: 3.18
    QT version: 5.9.7

    Here are the steps to add:

    1. Add options in configure:-gstreamer 1.0
    2. Cross-compile GStreamer to sysroot

    can see this when execute configure:
    Qt Multimedia:
    ALSA ................................... no
    GStreamer 1.0 .......................... yes
    GStreamer 0.10 ......................... no
    Video for Linux ........................ yes

    Put the compiled QT on the development board, run the camera demo test program, the error report is as follows, what is the reason?

    export QT_DEBUG_PLUGINS=1

    ./camera

    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/root" ...
    QFactoryLoader::QFactoryLoader() looking at "/root/camera"
    "Failed to extract plugin meta data from '/root/camera'"
    not a plugin
    QFactoryLoader::QFactoryLoader() looking at "/root/Identity.pub"
    QElfParser: '/root/Identity.pub' is not an ELF object
    "'/root/Identity.pub' is not an ELF object"
    not a plugin
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/platforms" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/platforms/libqeglfs.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/platforms/libqeglfs.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "eglfs"
    ]
    },
    "className": "QEglFSIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("eglfs")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/platforms/libqminimal.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/platforms/libqminimal.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "minimal"
    ]
    },
    "className": "QMinimalIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("minimal")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/platforms/libqminimalegl.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/platforms/libqminimalegl.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "minimalegl"
    ]
    },
    "className": "QMinimalEglIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("minimalegl")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/platforms/libqoffscreen.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/platforms/libqoffscreen.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "offscreen"
    ]
    },
    "className": "QOffscreenIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("offscreen")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/platforms/libqvnc.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/platforms/libqvnc.so, metadata=
    {
    "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3",
    "MetaData": {
    "Keys": [
    "vnc"
    ]
    },
    "className": "QVncIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("vnc")
    QFactoryLoader::QFactoryLoader() checking directory path "/root/platforms" ...
    loaded library "/usr/local/Qt-5.9.7/plugins/platforms/libqeglfs.so"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/egldeviceintegrations" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/egldeviceintegrations/libqeglfs-emu-integration.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/egldeviceintegrations/libqeglfs-emu-integration.so, metadata=
    {
    "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
    "MetaData": {
    "Keys": [
    "eglfs_emu"
    ]
    },
    "className": "QEglFSEmulatorIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("eglfs_emu")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/egldeviceintegrations/libqeglfs-mali-integration.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/egldeviceintegrations/libqeglfs-mali-integration.so, metadata=
    {
    "IID": "org.qt-project.qt.qpa.egl.QEglFSDeviceIntegrationFactoryInterface.5.5",
    "MetaData": {
    "Keys": [
    "eglfs_mali"
    ]
    },
    "className": "QEglFSMaliIntegrationPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("eglfs_mali")
    QFactoryLoader::QFactoryLoader() checking directory path "/root/egldeviceintegrations" ...
    loaded library "/usr/local/Qt-5.9.7/plugins/egldeviceintegrations/libqeglfs-mali-integration.so"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/imageformats" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqgif.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqgif.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "gif"
    ],
    "MimeTypes": [
    "image/gif"
    ]
    },
    "className": "QGifPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("gif")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqicns.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqicns.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "icns"
    ],
    "MimeTypes": [
    "image/x-icns"
    ]
    },
    "className": "QICNSPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("icns")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqico.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqico.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "ico",
    "cur"
    ],
    "MimeTypes": [
    "image/vnd.microsoft.icon"
    ]
    },
    "className": "QICOPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("ico", "cur")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqjpeg.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqjpeg.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "jpg",
    "jpeg"
    ],
    "MimeTypes": [
    "image/jpeg",
    "image/jpeg"
    ]
    },
    "className": "QJpegPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("jpg", "jpeg")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqsvg.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqsvg.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "svg",
    "svgz"
    ],
    "MimeTypes": [
    "image/svg+xml",
    "image/svg+xml-compressed"
    ]
    },
    "className": "QSvgPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("svg", "svgz")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqtga.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqtga.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "tga"
    ],
    "MimeTypes": [
    "image/x-tga"
    ]
    },
    "className": "QTgaPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("tga")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqtiff.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqtiff.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "tiff",
    "tif"
    ],
    "MimeTypes": [
    "image/tiff",
    "image/tiff"
    ]
    },
    "className": "QTiffPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("tiff", "tif")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqwbmp.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqwbmp.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "wbmp"
    ],
    "MimeTypes": [
    "image/vnd.wap.wbmp"
    ]
    },
    "className": "QWbmpPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("wbmp")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/imageformats/libqwebp.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/imageformats/libqwebp.so, metadata=
    {
    "IID": "org.qt-project.Qt.QImageIOHandlerFactoryInterface",
    "MetaData": {
    "Keys": [
    "webp"
    ],
    "MimeTypes": [
    "image/webp"
    ]
    },
    "className": "QWebpPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("webp")
    QFactoryLoader::QFactoryLoader() checking directory path "/root/imageformats" ...
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqgif.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqicns.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqico.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqjpeg.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqsvg.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqtga.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqtiff.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqwbmp.so"
    loaded library "/usr/local/Qt-5.9.7/plugins/imageformats/libqwebp.so"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/generic" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/generic/libqlibinputplugin.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/generic/libqlibinputplugin.so, metadata=
    {
    "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
    "MetaData": {
    "Keys": [
    "libinput"
    ]
    },
    "className": "QLibInputPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("libinput")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/generic/libqtslibplugin.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/generic/libqtslibplugin.so, metadata=
    {
    "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
    "MetaData": {
    "Keys": [
    "Tslib",
    "TslibRaw"
    ]
    },
    "className": "QTsLibPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("tslib", "tslibraw")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/generic/libqtuiotouchplugin.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/generic/libqtuiotouchplugin.so, metadata=
    {
    "IID": "org.qt-project.Qt.QGenericPluginFactoryInterface",
    "MetaData": {
    "Keys": [
    "TuioTouch"
    ]
    },
    "className": "QTuioTouchPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("tuiotouch")
    QFactoryLoader::QFactoryLoader() checking directory path "/root/generic" ...
    loaded library "/usr/local/Qt-5.9.7/plugins/generic/libqtslibplugin.so"
    LINEAR: Couldn't read resolution values
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/styles" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/root/styles" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/root/accessiblebridge" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/iconengines" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/iconengines/libqsvgicon.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/iconengines/libqsvgicon.so, metadata=
    {
    "IID": "org.qt-project.Qt.QIconEngineFactoryInterface",
    "MetaData": {
    "Keys": [
    "svg",
    "svgz",
    "svg.gz"
    ]
    },
    "className": "QSvgIconPlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("svg", "svgz", "svg.gz")
    QFactoryLoader::QFactoryLoader() checking directory path "/root/iconengines" ...
    loaded library "/usr/local/Qt-5.9.7/plugins/iconengines/libqsvgicon.so"
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/mediaservice" ...
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/mediaservice/libgstaudiodecoder.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/mediaservice/libgstaudiodecoder.so, metadata=
    {
    "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
    "MetaData": {
    "Keys": [
    "gstreameraudiodecode"
    ],
    "Services": [
    "org.qt-project.qt.audiodecode"
    ]
    },
    "className": "QGstreamerAudioDecoderServicePlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("gstreameraudiodecode")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/mediaservice/libgstcamerabin.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/mediaservice/libgstcamerabin.so, metadata=
    {
    "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
    "MetaData": {
    "Keys": [
    "gstreamercamerabin"
    ],
    "Services": [
    "org.qt-project.qt.camera"
    ]
    },
    "className": "CameraBinServicePlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("gstreamercamerabin")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/mediaservice/libgstmediacapture.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/mediaservice/libgstmediacapture.so, metadata=
    {
    "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
    "MetaData": {
    "Keys": [
    "gstreamermediacapture"
    ],
    "Services": [
    "org.qt-project.qt.audiosource"
    ]
    },
    "className": "QGstreamerCaptureServicePlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("gstreamermediacapture")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/mediaservice/libgstmediaplayer.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/mediaservice/libgstmediaplayer.so, metadata=
    {
    "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
    "MetaData": {
    "Keys": [
    "gstreamermediaplayer"
    ],
    "Services": [
    "org.qt-project.qt.mediaplayer"
    ]
    },
    "className": "QGstreamerPlayerServicePlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("gstreamermediaplayer")
    QFactoryLoader::QFactoryLoader() looking at "/usr/local/Qt-5.9.7/plugins/mediaservice/libqtmedia_audioengine.so"
    Found metadata in lib /usr/local/Qt-5.9.7/plugins/mediaservice/libqtmedia_audioengine.so, metadata=
    {
    "IID": "org.qt-project.qt.mediaserviceproviderfactory/5.0",
    "MetaData": {
    "Keys": [
    "audiocapture"
    ],
    "Services": [
    "org.qt-project.qt.audiosource"
    ]
    },
    "className": "AudioCaptureServicePlugin",
    "debug": false,
    "version": 329991
    }

    Got keys from plugin meta data ("audiocapture")
    QFactoryLoader::QFactoryLoader() checking directory path "/root/mediaservice" ...
    loaded library "/usr/local/Qt-5.9.7/plugins/mediaservice/libgstcamerabin.so"
    Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.
    Please install the 'bad' GStreamer plugin package.
    QFactoryLoader::QFactoryLoader() checking directory path "/usr/local/Qt-5.9.7/plugins/accessible" ...
    QFactoryLoader::QFactoryLoader() checking directory path "/root/accessible" ...


  • Lifetime Qt Champion

    @Jalyn said in QCamera Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.:

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

    So, did you?



  • @jsulm said in QCamera Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.:

    the 'camerabin' plugin is missing for GStreamer

    1. But libgstcamerabin.so already exists in the Qt5.9.7 / plugins/mediaservice;

    2. I've cross-compiled GStreamer-Plugins-bad

    arm-linux-gnueabi-readelf -d camera | grep NEEDED
    0x00000001 (NEEDED) 共享库:[libQt5MultimediaWidgets.so.5]
    0x00000001 (NEEDED) 共享库:[libpulse-mainloop-glib.so.0]
    0x00000001 (NEEDED) 共享库:[libpulse.so.0]
    0x00000001 (NEEDED) 共享库:[libglib-2.0.so.0]
    0x00000001 (NEEDED) 共享库:[libQt5Multimedia.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Widgets.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Gui.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Network.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Core.so.5]
    0x00000001 (NEEDED) 共享库:[libGLESv2.so]
    0x00000001 (NEEDED) 共享库:[libpthread.so.0]
    0x00000001 (NEEDED) 共享库:[libstdc++.so.6]
    0x00000001 (NEEDED) 共享库:[libm.so.6]
    0x00000001 (NEEDED) 共享库:[libgcc_s.so.1]
    0x00000001 (NEEDED) 共享库:[libc.so.6]

    arm-linux-gnueabi-readelf -d libgstcamerabin.so | grep NEEDED

    0x00000001 (NEEDED) 共享库:[libqgsttools_p.so.1]
    0x00000001 (NEEDED) 共享库:[libQt5MultimediaWidgets.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Multimedia.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Widgets.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Gui.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Network.so.5]
    0x00000001 (NEEDED) 共享库:[libQt5Core.so.5]
    0x00000001 (NEEDED) 共享库:[libGLESv2.so]
    0x00000001 (NEEDED) 共享库:[libpthread.so.0]
    0x00000001 (NEEDED) 共享库:[libgstaudio-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgstvideo-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgstpbutils-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgstapp-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgstbase-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgstreamer-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgobject-2.0.so.0]
    0x00000001 (NEEDED) 共享库:[libgstphotography-1.0.so.0]
    0x00000001 (NEEDED) 共享库:[libpulse-mainloop-glib.so.0]
    0x00000001 (NEEDED) 共享库:[libpulse.so.0]
    0x00000001 (NEEDED) 共享库:[libglib-2.0.so.0]
    0x00000001 (NEEDED) 共享库:[libstdc++.so.6]
    0x00000001 (NEEDED) 共享库:[libm.so.6]
    0x00000001 (NEEDED) 共享库:[libgcc_s.so.1]
    0x00000001 (NEEDED) 共享库:[libc.so.6]

    In my development board, I can find the Shared libraries I need to run above;
    Is it because QT 5.9.7 GStreamer does not support GStreamer1.0, or are there any dependencies that need to be installed


  • Lifetime Qt Champion

    @Jalyn said in QCamera Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.:

    Is it because QT 5.9.7 GStreamer does not support GStreamer1.0

    Yes, you need GStreamer 1.1 plug-ins



  • This post is deleted!


  • @jsulm
    I haved use the version of GStreamer is 1.10.4

    http://doc.qt.io/qt-5/linux-requirements.html
    The minimum required version of GStreamer is 0.10.24. The 1.x series is also supported.

    It seems to be ok to use this version;
    I really don't know what to do now;


  • Lifetime Qt Champion

    Hi,

    Version 0.10 and 1.0 are not interchangeable. You should check which one was used when building the GStreamer backend.



  • @SGaist said in QCamera Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.:

    GStreamer backend

    Hi,
    What GStreamer backend version uses is 1.10.4
    1.10.4 is also included on the development board


  • Lifetime Qt Champion

    There's only one backend, you have to select at compile time if you use the new or old version of GStreamer.



  • @Jalyn said in QCamera Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 1.10.:

    Cross-compile GStreamer to sysroot

    And did you copy GStreamer libraries to device as well?

    Whatever GStreamer version you end up using (1.x or 0.1.x) you need the libraries both in the device (at runtime) and in your host (i.e. sysroot folder) at (cross)compile time



  • @SGaist
    So far, I've only used version 0.10, and every time I start the Camera, I get an error:
    Error: cannot create camera service, the 'camerabin' plugin is missing for GStreamer 0.10.
    Please install the 'bad' GStreamer plugin package.
    The following is the library about GSTCREAM on the running device:
    libgstapp-0.10.so libgstnet-0.10.so
    libgstapp-0.10.so.0 libgstnet-0.10.so.0
    libgstapp-0.10.so.0.25.0 libgstnet-0.10.so.0.30.0
    libgstaudio-0.10.so libgstnetbuffer-0.10.so
    libgstaudio-0.10.so.0 libgstnetbuffer-0.10.so.0
    libgstaudio-0.10.so.0.25.0 libgstnetbuffer-0.10.so.0.25.0
    libgstbase-0.10.so libgstpbutils-0.10.so
    libgstbase-0.10.so.0 libgstpbutils-0.10.so.0
    libgstbase-0.10.so.0.30.0 libgstpbutils-0.10.so.0.25.0
    libgstbasecamerabinsrc-0.10.so libgstphotography-0.10.so
    libgstbasecamerabinsrc-0.10.so.23 libgstphotography-0.10.so.23
    libgstbasecamerabinsrc-0.10.so.23.0.0 libgstphotography-0.10.so.23.0.0
    libgstbasevideo-0.10.so libgstreamer-0.10.so
    libgstbasevideo-0.10.so.23 libgstreamer-0.10.so.0
    libgstbasevideo-0.10.so.23.0.0 libgstreamer-0.10.so.0.30.0
    libgstcdda-0.10.so libgstriff-0.10.so
    libgstcdda-0.10.so.0 libgstriff-0.10.so.0
    libgstcdda-0.10.so.0.25.0 libgstriff-0.10.so.0.25.0
    libgstcheck-0.10.so libgstrtp-0.10.so
    libgstcheck-0.10.so.0 libgstrtp-0.10.so.0
    libgstcheck-0.10.so.0.30.0 libgstrtp-0.10.so.0.25.0
    libgstcodecparsers-0.10.so libgstrtsp-0.10.so
    libgstcodecparsers-0.10.so.23 libgstrtsp-0.10.so.0
    libgstcodecparsers-0.10.so.23.0.0 libgstrtsp-0.10.so.0.25.0
    libgstcontroller-0.10.so libgstsdp-0.10.so
    libgstcontroller-0.10.so.0 libgstsdp-0.10.so.0
    libgstcontroller-0.10.so.0.30.0 libgstsdp-0.10.so.0.25.0
    libgstdataprotocol-0.10.so libgstsignalprocessor-0.10.so
    libgstdataprotocol-0.10.so.0 libgstsignalprocessor-0.10.so.23
    libgstdataprotocol-0.10.so.0.30.0 libgstsignalprocessor-0.10.so.23.0.0
    libgstfft-0.10.so libgsttag-0.10.so
    libgstfft-0.10.so.0 libgsttag-0.10.so.0
    libgstfft-0.10.so.0.25.0 libgsttag-0.10.so.0.25.0
    libgstinterfaces-0.10.so libgstvideo-0.10.so
    libgstinterfaces-0.10.so.0 libgstvideo-0.10.so.0
    libgstinterfaces-0.10.so.0.25.0 libgstvideo-0.10.so.0.25.0

    'camerabin' plugin is missing for GStreamer 0.10,What library is it;
    libgstbasecamerabinsrc-0.10.so?


  • Lifetime Qt Champion

    Did you install the plugin packages like suggested in the error message ?


Log in to reply