Unsolved QtMultimedia examples crash
-
Running the Media Player and the QML Media Player examples on an Ubuntu 20.04 machine, they crash whenever I open an .mp4 video file (tried different videos). The debug does not help because it just highlight a segmentation fault in some assembler code.
I have another machine with Ubuntu 20.04 and there I can open the very same video files with both C++ and QML Media Player examples.
I bet I'm missing some packages on the first machine... but how to find which?
By the way, I can play those videos using other applications, like vlc.Anyway, here the relevant packages I can think about:
$ dpkg -l | grep egl ii libegl-dev:amd64 1.3.2-1 amd64 Vendor neutral GL dispatch library -- EGL development files ii libegl-mesa0:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the EGL API -- Mesa vendor library ii libegl1:amd64 1.3.2-1 amd64 Vendor neutral GL dispatch library -- EGL support ii libegl1-mesa:amd64 21.0.3-0ubuntu0.3 amd64 transitional dummy package ii libegl1-mesa-dev:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the EGL API -- development files ii libwayland-egl1:amd64 1.18.0-2~exp1.1 amd64 wayland compositor infrastructure - EGL library $ dpkg -l | grep gles ii libgles-dev:amd64 1.3.2-1 amd64 Vendor neutral GL dispatch library -- GLES development files ii libgles1:amd64 1.3.2-1 amd64 Vendor neutral GL dispatch library -- GLESv1 support ii libgles2:amd64 1.3.2-1 amd64 Vendor neutral GL dispatch library -- GLESv2 support $ dpkg -l | grep mesa ii libegl-mesa0:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the EGL API -- Mesa vendor library ii libegl1-mesa:amd64 21.0.3-0ubuntu0.3 amd64 transitional dummy package ii libegl1-mesa-dev:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the EGL API -- development files ii libgl1-mesa-dri:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the OpenGL API -- DRI modules ii libglapi-mesa:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the GL API -- shared library ii libglu1-mesa:amd64 9.0.1-1build1 amd64 Mesa OpenGL utility library (GLU) ii libglx-mesa0:amd64 21.0.3-0ubuntu0.3 amd64 free implementation of the OpenGL API -- GLX vendor library ii mesa-va-drivers:amd64 21.0.3-0ubuntu0.3 amd64 Mesa VA-API video acceleration drivers ii mesa-vdpau-drivers:amd64 21.0.3-0ubuntu0.3 amd64 Mesa VDPAU video acceleration drivers ii mesa-vulkan-drivers:amd64 21.0.1-2 amd64 Mesa Vulkan graphics drivers $ dpkg -l | grep '(VA)' ii libva-drm2:amd64 2.10.0-1 amd64 Video Acceleration (VA) API for Linux -- DRM runtime ii libva-wayland2:amd64 2.10.0-1 amd64 Video Acceleration (VA) API for Linux -- Wayland runtime ii libva-x11-2:amd64 2.10.0-1 amd64 Video Acceleration (VA) API for Linux -- X11 runtime ii libva2:amd64 2.10.0-1 amd64 Video Acceleration (VA) API for Linux -- runtime ii va-driver-all:amd64 2.10.0-1 amd64 Video Acceleration (VA) API -- driver metapackage ii vainfo 2.10.0+ds1-1 amd64 Video Acceleration (VA) API for Linux -- info program $ dpkg -l | grep gstreamer ii gir1.2-gstreamer-1.0:amd64 1.18.4-1 amd64 GObject introspection data for the GStreamer library ii gstreamer1.0-alsa:amd64 1.18.4-1 amd64 GStreamer plugin for ALSA ii gstreamer1.0-clutter-3.0:amd64 3.0.27-2 amd64 Clutter PLugin for GStreamer 1.0 ii gstreamer1.0-gl:amd64 1.18.4-1 amd64 GStreamer plugins for GL ii gstreamer1.0-gtk3:amd64 1.18.4-1ubuntu1 amd64 GStreamer plugin for GTK+3 ii gstreamer1.0-libav:amd64 1.18.4-1 amd64 ffmpeg plugin for GStreamer ii gstreamer1.0-packagekit 1.2.2-2ubuntu1 amd64 GStreamer plugin to install codecs using PackageKit ii gstreamer1.0-pipewire:amd64 0.3.24-3 amd64 GStreamer 1.0 plugin for the PipeWire multimedia server ii gstreamer1.0-plugins-base:amd64 1.18.4-1 amd64 GStreamer plugins from the "base" set ii gstreamer1.0-plugins-base-apps 1.18.4-1 amd64 GStreamer helper programs from the "base" set ii gstreamer1.0-plugins-good:amd64 1.18.4-1ubuntu1 amd64 GStreamer plugins from the "good" set ii gstreamer1.0-plugins-ugly:amd64 1.18.4-1 amd64 GStreamer plugins from the "ugly" set ii gstreamer1.0-pulseaudio:amd64 1.18.4-1ubuntu1 amd64 GStreamer plugin for PulseAudio (transitional package) ii gstreamer1.0-tools 1.18.4-1 amd64 Tools for use with GStreamer ii gstreamer1.0-vaapi:amd64 1.18.4-1 amd64 VA-API plugins for GStreamer ii gstreamer1.0-x:amd64 1.18.4-1 amd64 GStreamer plugins for X11 and Pango ii libgstreamer-gl1.0-0:amd64 1.18.4-1 amd64 GStreamer GL libraries ii libgstreamer-plugins-bad1.0-0:amd64 1.18.4-1ubuntu1 amd64 GStreamer libraries from the "bad" set ii libgstreamer-plugins-base1.0-0:amd64 1.18.4-1 amd64 GStreamer libraries from the "base" set ii libgstreamer-plugins-good1.0-0:amd64 1.18.4-1ubuntu1 amd64 GStreamer development files for libraries from the "good" set ii libgstreamer1.0-0:amd64 1.18.4-1 amd64 Core GStreamer libraries and elements
-
@Mark81 What version of Qt do you use?
-
This post is deleted! -
@eyllanesc 6.2.0
-
What compiler on these 2 machines?
There were some issues when using some MinGW versions with Qt6 QtMM... Dunno if this got fixed -
$ gcc --version gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0