Thank you all for the hints! I hit that bug in SFOS 4.3 at Jolla C and managed to fix it.
The solution that worked was to remove all gstreamer1.18.5- (obviously broken) packages with zypper and install gstreamer1.18.4-*.*
All fiddling with mpg123 and libmpg123 was useless unntil I downgraded gstreamer. The “version --dup” command does nothing in this case. The “gst-inspect-1.0 pulseaudio” shows the root of this problem.
BEFORE:
[root@Sailfish nemo]# gst-inspect-1.0 pulseaudio
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:58.017: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstfaac.so': libfaac.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:58.027: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstde265.so': libde265.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:58.248: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstmpg123.so': /usr/lib/gstreamer-1.0/libgstmpg123.so: undefined symbol: mpg123_param2
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:58.278: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstfdkaac.so': libfdk-aac.so.2: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:58.538: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstx265.so': libx265.so.199: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:59.837: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstmms.so': libmms.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:59.842: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstmplex.so': libmjpegutils-2.1.so.0: cannot open shared object file: No such file or directory
(gst-plugin-scanner:9832): GStreamer-WARNING **: 13:11:59.972: Failed to load plugin '/usr/lib/gstreamer-1.0/libgstmpeg2enc.so': libmjpegutils-2.1.so.0: cannot open shared object file: No such file or directory
Plugin Details:
Name pulseaudio
Description PulseAudio plugin library
Filename /usr/lib/gstreamer-1.0/libgstpulseaudio.so
Version 1.18.5
License LGPL
Source module gst-plugins-good
Source release date 2021-09-08
Binary package SailfishOS GStreamer package plugins (good set) for JollaPhone and X and XA2
Origin URL https://openrepos.net/content/lpr/gstreamer-1185-jollaphone-x-xa2
pulsedeviceprovider: PulseAudio Device Provider
pulsesrc: PulseAudio Audio Source
pulsesink: PulseAudio Audio Sink
3 features:
+-- 2 elements
+-- 1 device providers
AFTER:
# gst-inspect-1.0 pulseaudio
Plugin Details:
Name pulseaudio
Description PulseAudio plugin library
Filename /usr/lib/gstreamer-1.0/libgstpulseaudio.so
Version 1.18.4
License LGPL
Source module gst-plugins-good
Source release date 2021-03-15
Binary package SailfishOS GStreamer package plugins (good set)
Origin URL http://sailfishos.org/
pulsedeviceprovider: PulseAudio Device Provider
pulsesrc: PulseAudio Audio Source
pulsesink: PulseAudio Audio Sink
3 features:
+-- 2 elements
+-- 1 device providers
The exact commands I used were:
# zypper refresh
# zypper install gstreamer1.0-tools
(choose 1 to downgrade of gstreamer1.0-1.18.5-3.armv7hl to gstreamer1.0-1.18.4+git1-1.5.3.jolla.armv7hl )
# zypper install gstreamer1.0-plugins-base-apps
(choose 1 to downgrade of gstreamer1.0-plugins-base-1.18.5-3.armv7hl to gstreamer1.0-plugins-base-1.18.4+git2-1.6.1.jolla.armv7hl)
# gst-inspect-1.0 pulseaudio (to see that mp3 plugin is not available)
# zypper install --oldpackage gstreamer1.0-plugins-good-1.18.4+git1-1.5.1.jolla.armv7hl
# zypper install --oldpackage gstreamer1.0-plugins-bad-1.18.4+git1-1.5.1.jolla.armv7hl
# zypper install gstreamer1.0-droid-tools (optional, I think)
# gst-inspect-1.0 pulseaudio (now all should be fine)
# reboot