Thanks Jason for your reply,

I am not sure I understand. For many years now we just provide a 32 and a 64 build without having ever taken care of gstreamer (or even know about it, to be honest, it just worked). We do not play music, just some "ding" and some rings. Those builds were working flawlessly on all linux distribs I have heard of.

Now I see that if I build a Ubuntu 16.04 VM machine from scratch and run the app through Creator (so no deployment issues there), no sound and those messages in the console, and some users are reporting systematic crashes on other recent distro, with the same builds. These very same builds are running fine on older distros, like Ubuntu 14.04 for instance.

Should I configure something at Qt level about gstreamer? Or do you mean I should ask users to do some clever tuning on their machine?

I saw that in qt5.5 documentation:

GStreamer 1.0 support. Note that the default is still 0.10. 1.0 support can be enabled by configuring Qt with '-gstreamer 1.0'.

Does it means I should have 4 builds instead of 2, two being built against a manually-compiled qt?

A bit confused here I admit :) Probably I am missing something obvious, sorry for that if this is the case.

Philippe

Le 14-11-2016 19:25, Jason H a écrit :
Have you ensured that the gstreamer configuration is valid?
Is it localized to one machine, or many machines on one distro, or all machines?

I'm willing to bet the distro doesn't configure gstreamer properly.
(But that's just a guess)

Sent: Monday, November 14, 2016 at 1:08 AM
From: maitai <mai...@virtual-winds.org>
To: Interest@qt-project.org
Subject: [Interest] QMultimedia crashes or doesn't work on recent linux releases

Hello,

Since Ubuntu 16.04, my qt (qt5.7 official release/QWidget-based)
application cannot play a sound (no crash, but no sound). The very same
app works fine with Ubuntu 14.04. I get that kind of messages in the
console when trying to play a sound (.mp3 file) with QMultimedia:

Warning: "No decoder available for type 'audio/mpeg, mpegversion=(int)1, mpegaudioversion=(int)1, layer=(int)3, rate=(int)44100, channels=(int)2,
parsed=(boolean)true'."

or (depending on the machine)

defaultServiceProvider::requestService(): no service found for -
"org.qt-project.qt.mediaplayer"

Even worst, I have a user running latest linux Manjaro 64bits who is
reporting a crash each time a sound is played (i.e. the app works fine
until it tries to play a sound). It crashes with this message:

symbol lookup error: (...)/mediaservice/libgstmediaplayer.so: undefined
symbol: gst_video_connector_get_type

He is also saying that the same app build is running fine on an older
Manjaro machine.

I ended up for the time being by removing all sounds on all linux
platforms, which is a bit sad as you can imagine.

I believe it's gstreamer related, but before I start digging, may be
someone has some clues about that?

Any help welcomed
Philippe Lelong
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to