[MPlayer-users] cannot open /dev/dsp Fedora/RaspiOS64 bit

Matus UHLAR - fantomas uhlar at fantomas.sk
Tue Mar 7 17:50:38 EET 2023


>On 06.03.23 20:09, Antonio Olivares wrote:
>>mplayer does not play music files as it mentions cannot open /dev/dsp.  it was working before. 
>>
>>[olivares at fedora mas_de_lo_que_merecias]$ mplayer 06_el_m_grande.ogg
>>MPlayer SVN-r38408-12 (C) 2000-2023 MPlayer Team
>
>>[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
>>[AO SDL] Samplerate: 44100Hz Channels: Stereo Format floatle
>>[AO SDL] Unsupported audio format: 0x1d.
>>AO: [sdl] 44100Hz 2ch s16le (2 bytes per sample)
>
>>on another file mp4/webm it reports same message but can hear sound.
>
>>[AO OSS] audio_setup: Can't open audio device /dev/dsp: No such file or directory
>>[AO SDL] Samplerate: 44100Hz Channels: Stereo Format floatle
>>[AO SDL] Unsupported audio format: 0x1d.
>>AO: [sdl] 44100Hz 2ch s16le (2 bytes per sample)

>On Tuesday, March 7, 2023 at 03:41:24 AM CST, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote:
>audio output OSS or SDL?
>
>from "olivares at fedora" I assume you use linux. have you tried e.g. alsa
>output?
>
>mplayer -ao alsa
>
>if it's not available, try:
>mplayer -ao list

On 07.03.23 14:14, Antonio Olivares wrote:
>Output works for mp4, mp3 files.  Just ogg vorbis files have this problem.  
> Alsa is enabled, oss is enabled SDL is not available.  Playing via hdmi in 
> case it is important.  If playing a youtube video the message /dev/dsp is 
> displayed but sound does work. 

your example shows that mplayer tries OSS output which is not available and 
then reverts to SDL. Maybe your SDL does not support OGG files.

have you tried to play the file using:

mplayer -ao alsa 06_el_m_grande.ogg


-- 
Matus UHLAR - fantomas, uhlar at fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
Atheism is a non-prophet organization.


More information about the MPlayer-users mailing list