No sound in cli mpv/mplayer

hi, just did a clean install because i wanted to try out gnome again.

sound and video works well in all gui apps
but not when launching via terminal
for example mpv /usr/share/sounds/freedesktop/stereo/complete.oga
or mplayer /usr/share/sounds/freedesktop/stereo/complete.oga
heres the output

mpv /usr/share/sounds/freedesktop/stereo/complete.oga
 (+) Audio --aid=1 (vorbis 2ch 44100Hz)
AO: [pipewire] 44100Hz stereo 2ch floatp
A: 00:00:00 / 00:00:01 (70%)

this just goes on forever until i kill it, no sound, ghost mpv entries are left in te system monitor

and mplayer

mplayer /usr/share/sounds/freedesktop/stereo/complete.oga
MPlayer SVN-r38412 (C) 2000-2023 MPlayer Team
226 audio & 469 video codecs
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing /usr/share/sounds/freedesktop/stereo/complete.oga.
libavformat version 60.3.100 (external)
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0
Load subtitles in /usr/share/sounds/freedesktop/stereo/
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 60.3.100 (external)
AUDIO: 44100 Hz, 2 ch, floatle, 192.0 kbit/6.80% (ratio: 24000->352800)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
AO: [alsa] 44100Hz 2ch floatle (4 bytes per sample)
Video: no video
Starting playback...
A:   1.1 (01.0) of 1.1 (01.0) ??,?% 

Exiting... (End of file)

just for the record, volume is turned up in the gnome settings gui
i know nothing about pipewire vs pulseaudio etc, i just installed with the defaults in the cassini nova installer

Volume works in mpv-git or wait for the release of mpv that’s in testing.

Can’t you just rename the files as *.ogg from *.oga?

Example command:
mv <filename>.oga <filename>.ogg

If it doesn’t work this way, you could use a converter…

Maybe this helps. :v:


mpv same issue, oga, ogg ,wav, mp3
mplayer works with mp3 though

VLC surely works with ogg-files. Mplayer is said to do so, too, afaik.