QMediaPlayer on Ubuntu 16.04 GStreamer error
-
Hello,
I've been trying to create a videoplayer for my app, but I'm having trouble with the QMediaPlayer.
I set the QT_DEBUG_PLUGINS environment variable to 1, and the log I got after calling my application is this one:
QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms" ... QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqeglfs.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqeglfs.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "eglfs" ] }, "className": "QEglFSIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("eglfs") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqlinuxfb.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqlinuxfb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "linuxfb" ] }, "className": "QLinuxFbIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("linuxfb") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqminimal.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqminimal.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimal" ] }, "className": "QMinimalIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("minimal") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqminimalegl.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqminimalegl.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "minimalegl" ] }, "className": "QMinimalEglIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("minimalegl") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqoffscreen.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqoffscreen.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "offscreen" ] }, "className": "QOffscreenIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("offscreen") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqxcb.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqxcb.so, metadata= { "IID": "org.qt-project.Qt.QPA.QPlatformIntegrationFactoryInterface.5.3", "MetaData": { "Keys": [ "xcb" ] }, "className": "QXcbIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("xcb") QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/platforms" ... loaded library "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforms/libqxcb.so" loaded library "Xcursor" QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/xcbglintegrations" ... QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/xcbglintegrations/libqxcb-egl-integration.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/xcbglintegrations/libqxcb-egl-integration.so, metadata= { "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5", "MetaData": { "Keys": [ "xcb_egl" ] }, "className": "QXcbEglIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("xcb_egl") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/xcbglintegrations/libqxcb-glx-integration.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/xcbglintegrations/libqxcb-glx-integration.so, metadata= { "IID": "org.qt-project.Qt.QPA.Xcb.QXcbGlIntegrationFactoryInterface.5.5", "MetaData": { "Keys": [ "xcb_glx" ] }, "className": "QXcbGlxIntegrationPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("xcb_glx") QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/xcbglintegrations" ... loaded library "/home/ubuntuk/Qt/5.7/gcc_64/plugins/xcbglintegrations/libqxcb-glx-integration.so" QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platformthemes" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/platformthemes" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforminputcontexts" ... QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforminputcontexts/libcomposeplatforminputcontextplugin.so, metadata= { "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1", "MetaData": { "Keys": [ "compose", "xim" ] }, "className": "QComposePlatformInputContextPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("compose", "xim") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so, metadata= { "IID": "org.qt-project.Qt.QPlatformInputContextFactoryInterface.5.1", "MetaData": { "Keys": [ "ibus" ] }, "className": "QIbusPlatformInputContextPlugin", "debug": false, "version": 329472 } Got keys from plugin meta data ("ibus") QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/platforminputcontexts" ... loaded library "/home/ubuntuk/Qt/5.7/gcc_64/plugins/platforminputcontexts/libibusplatforminputcontextplugin.so" QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/styles" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/styles" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/accessible" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/accessible" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice" ... QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/libgstaudiodecoder.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/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": 329472 } Got keys from plugin meta data ("gstreameraudiodecode") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/libgstcamerabin.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/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": 329472 } Got keys from plugin meta data ("gstreamercamerabin") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/libgstmediacapture.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/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": 329472 } Got keys from plugin meta data ("gstreamermediacapture") QFactoryLoader::QFactoryLoader() looking at "/home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/libgstmediaplayer.so" Found metadata in lib /home/ubuntuk/Qt/5.7/gcc_64/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": 329472 } Got keys from plugin meta data ("gstreamermediaplayer") QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/mediaservice" ... loaded library "/home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/libgstmediaplayer.so" QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/resourcepolicy" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/resourcepolicy" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/Qt/5.7/gcc_64/plugins/accessiblebridge" ... QFactoryLoader::QFactoryLoader() checking directory path "/home/ubuntuk/workspaces/build-RPIStreamer-Desktop_Qt_5_7_0_GCC_64bit-Debug/accessiblebridge" ... Warning: "No decoder available for type 'video/x-h264, stream-format=(string)avc, alignment=(string)au, level=(string)3, profile=(string)high, codec_data=(buffer)0164001effe1001e6764001eacd980a02ff97ff019501941000003000100000300320f162d9a01000668e978b2c8b0, width=(int)640, height=(int)360, framerate=(fraction)25/1, pixel-aspect-ratio=(fraction)641/640'." Warning: "No decoder available for type 'audio/mpeg, mpegversion=(int)4, framed=(boolean)true, stream-format=(string)raw, level=(string)1, base-profile=(string)lc, profile=(string)lc, codec_data=(buffer)138856e5a54800, rate=(int)22050, channels=(int)1'." Error: "Your GStreamer installation is missing a plug-in."
The error is clear, a problem with GStreamer but I tried several times to install/uninstall packages and couldn't make it work.
For what I've seen, in theory I should have GStreamer0.10 installed with all its plugins, but I've installed all the dev and plugin packages and I still get the same error (although before I had another one which I was able to overcome!).
I can't find a solution for it, maybe someone here can help me (older posts didn't work either :/ ).
The ubuntu version is 16.04 and running in a x64 machine. My QT version is the 5.7.
Thanks!
-
Hi and welcome to devnet,
If you call
ldd
on the GStreamer plugin, what do you get ? -
Thanks for the reply, I get this output:
$ ldd ./RPIStreamer linux-vdso.so.1 => (0x00007fff9d122000) libQt5MultimediaWidgets.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5MultimediaWidgets.so.5 (0x00007f07c4ed0000) libQt5Multimedia.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5Multimedia.so.5 (0x00007f07c4bc4000) libQt5Widgets.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5Widgets.so.5 (0x00007f07c4374000) libQt5Core.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5Core.so.5 (0x00007f07c3c59000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f07c38bd000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f07c36a6000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f07c32dd000) libQt5Gui.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5Gui.so.5 (0x00007f07c2b35000) libQt5Network.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5Network.so.5 (0x00007f07c27d6000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f07c25b9000) libQt5OpenGL.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libQt5OpenGL.so.5 (0x00007f07c2362000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007f07c20f0000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f07c1de7000) libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007f07c1b97000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007f07c197c000) libicui18n.so.56 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libicui18n.so.56 (0x00007f07c14e2000) libicuuc.so.56 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libicuuc.so.56 (0x00007f07c1129000) libicudata.so.56 => /home/ubuntuk/Qt/5.7/gcc_64/lib/libicudata.so.56 (0x00007f07bf746000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f07bf542000) libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007f07bf33f000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f07bf137000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007f07bee26000) /lib64/ld-linux-x86-64.so.2 (0x00005639c2707000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007f07bebfc000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007f07be9f9000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007f07be7f5000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007f07be5ee000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007f07be3eb000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007f07be1bc000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007f07bdfaa000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007f07bdda7000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007f07bdba0000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007f07bd99e000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f07bd664000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007f07bd44a000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007f07bd245000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007f07bd023000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007f07bce1c000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007f07bcc0d000) libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007f07bca01000) libpulsecommon-8.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x00007f07bc786000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007f07bc53a000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007f07bc2c9000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007f07bc0c5000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007f07bbebe000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007f07bbe39000) libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007f07bbc2f000) libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007f07bb9c5000) libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007f07bb7bf000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007f07bb59c000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007f07bb37a000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007f07bb099000) libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007f07bae7f000) libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007f07bac0a000) libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007f07ba961000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007f07ba745000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007f07ba531000) libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007f07ba328000) libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007f07ba0fb000)
Is it this what you wanted me to do? I don't know how to call it on the GStreamer plugin if it's not that.
-
$ ldd /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/libgstmediaplayer.so linux-vdso.so.1 => (0x00007ffce57a4000) libqgsttools_p.so.1 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libqgsttools_p.so.1 (0x00007fadddaaf000) libgstaudio-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstaudio-0.10.so.0 (0x00007faddd85a000) libgstinterfaces-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstinterfaces-0.10.so.0 (0x00007faddd647000) libgstvideo-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstvideo-0.10.so.0 (0x00007faddd42a000) libgstpbutils-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstpbutils-0.10.so.0 (0x00007faddd206000) libgstapp-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstapp-0.10.so.0 (0x00007faddcff8000) libgstbase-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstbase-0.10.so.0 (0x00007faddcd9e000) libgstreamer-0.10.so.0 => /usr/lib/x86_64-linux-gnu/libgstreamer-0.10.so.0 (0x00007faddcaaf000) libgobject-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0 (0x00007faddc85b000) libgmodule-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0 (0x00007faddc657000) libgthread-2.0.so.0 => /usr/lib/x86_64-linux-gnu/libgthread-2.0.so.0 (0x00007faddc455000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007faddc24c000) libglib-2.0.so.0 => /lib/x86_64-linux-gnu/libglib-2.0.so.0 (0x00007faddbf3b000) libxml2.so.2 => /usr/lib/x86_64-linux-gnu/libxml2.so.2 (0x00007faddbb81000) libQt5MultimediaWidgets.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5MultimediaWidgets.so.5 (0x00007faddb962000) libQt5Multimedia.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5Multimedia.so.5 (0x00007faddb656000) libQt5Widgets.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5Widgets.so.5 (0x00007faddae07000) libQt5Gui.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5Gui.so.5 (0x00007fadda65e000) libQt5Network.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5Network.so.5 (0x00007fadda300000) libQt5Core.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5Core.so.5 (0x00007fadd9be5000) libGL.so.1 => /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1 (0x00007fadd9973000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fadd9756000) libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fadd93d4000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fadd90ca000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fadd8eb4000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fadd8aeb000) libasound.so.2 => /usr/lib/x86_64-linux-gnu/libasound.so.2 (0x00007fadd87ea000) liborc-0.4.so.0 => /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x00007fadd856a000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fadd8365000) libffi.so.6 => /usr/lib/x86_64-linux-gnu/libffi.so.6 (0x00007fadd815d000) libpcre.so.3 => /lib/x86_64-linux-gnu/libpcre.so.3 (0x00007fadd7eec000) libicuuc.so.55 => /usr/lib/x86_64-linux-gnu/libicuuc.so.55 (0x00007fadd7b58000) libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fadd793e000) liblzma.so.5 => /lib/x86_64-linux-gnu/liblzma.so.5 (0x00007fadd771b000) libQt5OpenGL.so.5 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libQt5OpenGL.so.5 (0x00007fadd74c4000) libpulse.so.0 => /usr/lib/x86_64-linux-gnu/libpulse.so.0 (0x00007fadd7273000) libicui18n.so.56 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libicui18n.so.56 (0x00007fadd6dd9000) libicuuc.so.56 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libicuuc.so.56 (0x00007fadd6a20000) libicudata.so.56 => /home/ubuntuk/Qt/5.7/gcc_64/plugins/mediaservice/../../lib/libicudata.so.56 (0x00007fadd503d000) /lib64/ld-linux-x86-64.so.2 (0x0000562d917dc000) libexpat.so.1 => /lib/x86_64-linux-gnu/libexpat.so.1 (0x00007fadd4e13000) libxcb-dri3.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0 (0x00007fadd4c10000) libxcb-present.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-present.so.0 (0x00007fadd4a0d000) libxcb-sync.so.1 => /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1 (0x00007fadd4806000) libxshmfence.so.1 => /usr/lib/x86_64-linux-gnu/libxshmfence.so.1 (0x00007fadd4602000) libglapi.so.0 => /usr/lib/x86_64-linux-gnu/libglapi.so.0 (0x00007fadd43d4000) libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007fadd41c2000) libXdamage.so.1 => /usr/lib/x86_64-linux-gnu/libXdamage.so.1 (0x00007fadd3fbe000) libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007fadd3db8000) libX11-xcb.so.1 => /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1 (0x00007fadd3bb6000) libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007fadd387b000) libxcb-glx.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0 (0x00007fadd3662000) libxcb-dri2.so.0 => /usr/lib/x86_64-linux-gnu/libxcb-dri2.so.0 (0x00007fadd345d000) libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007fadd323a000) libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007fadd3034000) libdrm.so.2 => /usr/lib/x86_64-linux-gnu/libdrm.so.2 (0x00007fadd2e25000) libicudata.so.55 => /usr/lib/x86_64-linux-gnu/libicudata.so.55 (0x00007fadd136d000) libjson-c.so.2 => /lib/x86_64-linux-gnu/libjson-c.so.2 (0x00007fadd1161000) libpulsecommon-8.0.so => /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-8.0.so (0x00007fadd0ee6000) libdbus-1.so.3 => /lib/x86_64-linux-gnu/libdbus-1.so.3 (0x00007fadd0c9a000) libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007fadd0a95000) libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007fadd088f000) libsystemd.so.0 => /lib/x86_64-linux-gnu/libsystemd.so.0 (0x00007fadd080a000) libwrap.so.0 => /lib/x86_64-linux-gnu/libwrap.so.0 (0x00007fadd05ff000) libsndfile.so.1 => /usr/lib/x86_64-linux-gnu/libsndfile.so.1 (0x00007fadd0396000) libasyncns.so.0 => /usr/lib/x86_64-linux-gnu/libasyncns.so.0 (0x00007fadd0190000) libselinux.so.1 => /lib/x86_64-linux-gnu/libselinux.so.1 (0x00007fadcff6d000) libgcrypt.so.20 => /lib/x86_64-linux-gnu/libgcrypt.so.20 (0x00007fadcfc8c000) libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007fadcfa73000) libFLAC.so.8 => /usr/lib/x86_64-linux-gnu/libFLAC.so.8 (0x00007fadcf7fd000) libvorbisenc.so.2 => /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2 (0x00007fadcf554000) libresolv.so.2 => /lib/x86_64-linux-gnu/libresolv.so.2 (0x00007fadcf339000) libgpg-error.so.0 => /lib/x86_64-linux-gnu/libgpg-error.so.0 (0x00007fadcf124000) libogg.so.0 => /usr/lib/x86_64-linux-gnu/libogg.so.0 (0x00007fadcef1b000) libvorbis.so.0 => /usr/lib/x86_64-linux-gnu/libvorbis.so.0 (0x00007fadcecef000)
Is: linux-vdso.so.1 the problem?
thanks for the time!
-
Which gstreamer plugin package do you have installed ?
-
-
Solved, gstreamer-0.10-ffmpeg was missing.
sudo add-apt-repository ppa:mc3man/gstffmpeg-keep sudo apt-get update sudo apt-get install gstreamer0.10-ffmpeg
UPDATE:
Not really solved, using this plugin breaks GStreamer:
$ export GST_DEBUG=2 $ ./RPIStreamer 0:00:01.232878440 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type iods 0:00:01.233010807 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type avc1 0:00:01.233055875 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type avcC 0:00:01.233095592 29169 0x7f0414007320 WARN qtdemux qtdemux_types.c:191:qtdemux_type_get: unknown QuickTime node type btrt 0:00:01.235499777 29169 0x7f0414007320 WARN qtdemux qtdemux.c:6006:qtdemux_parse_segments:<qtdemux0> streaming; discarding edit list segments 0:00:01.235563181 29169 0x7f0414007320 WARN qtdemux qtdemux.c:7044:qtdemux_parse_trak:<qtdemux0> unknown version 00000000 0:00:01.236318578 29169 0x7f0414007320 WARN qtdemux qtdemux.c:6006:qtdemux_parse_segments:<qtdemux0> streaming; discarding edit list segments 0:00:01.264479125 29169 0x7f0414007680 WARN playsinkconvertbin gstplaysinkconvertbin.c:481:gst_play_sink_convert_bin_cache_converter_caps:<GstPlaySinkAudioConvert@0x7f03f801a050> No conversion elements 0:00:01.290541635 29169 0x7f04140071e0 WARN ffmpeg gstffmpegdec.c:2299:gst_ffmpegdec_frame:<ffdec_h2640> ffdec_h264: decoding error (len: -1, have_data: 0) 0:00:01.297533958 29169 0xba4d40 WARN basesrc gstbasesrc.c:2625:gst_base_src_loop:<source> error: Internal data flow error. 0:00:01.297562286 29169 0xba4d40 WARN basesrc gstbasesrc.c:2625:gst_base_src_loop:<source> error: streaming task paused, reason not-negotiated (-4) Error: "Internal data flow error."