FYI After updates around end of March 2023, mplayer stopped working (no sound, but no error either). (I invoke it as mplayer -nolirc GIT/gnome-pomodoro/data/sounds/bell.ogg -ao pulse, but mplayer -nolirc GIT/gnome-pomodoro/data/sounds/bell.ogg -ao alsa is quiet, too.)
I guess the problem comes from the mplayer update (rather than libraries/kernel), the current 38412-1. (The same problem with any of my current kernels: 6.1.23-1 LTS, 6.2.10-1, 6.3.0rc5-1.)
(The sound file didn’t change, and it keeps playing with smplayer or mpv.)
uname -a
Linux spectre 6.3.0-1-MANJARO #1 SMP PREEMPT_DYNAMIC Mon Apr 3 10:46:56 UTC 2023 x86_64 GNU/Linux
# but the sound doesn't come out, regardless of the kernel, see all three kernel versions above.
mplayer --help
...
MPlayer SVN-r38412 (C) 2000-2023 MPlayer Team
226 audio & 469 video codecs
I did Add/Remove Software > mplayer > “Reinstall”, still the same.
Unlikely to be related, but I’ve just noticed that my “Settings” application > About > GNOME Version is “Not Available” (but it does show that I’m on X11):
My overall installation IS OLD (almost 4 years), but up-to-date and pretty standard.
Sorry. I guess that topic is locked for TL2+
The gist is that some non-free codecs were pulled from the upstream mesa packages, so our repo packages followed suit … theres an additional repo for people who want the (un)patched versions back.
The repo and instructions are here https://nonfree.eu/
I suppose you could similarly try to configure settings in smplayer to de-or-re-activate hardware acceleration while using the mplayer backend.
Mplayer appears to work from terminal responses but there is nothing audible and audio stream is not shown in pavucontrol
If mplayer command is replaced with paplay – paplay ~/Downloads/bell.ogg – sound plays correctly
If the ogg file is reencoded to another file format, mplayer can play sound correctly: mplayer -nolirc ~/Downloads/bell.wav -ao pulse mplayer -nolirc ~/Downloads/bell.mp3 -ao pulse
so the issue appears to be specific to mplayer decoding ogg-vorbis