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

Antonio Olivares olivares14031 at yahoo.com
Tue Mar 7 20:09:44 EET 2023








On Tuesday, March 7, 2023 at 09:50:49 AM CST, Matus UHLAR - fantomas <uhlar at fantomas.sk> wrote: 





>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.
_______________________________________________
MPlayer-users mailing list
MPlayer-users at mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

I get no such file :(

mplayer .mp3/16gb-card/Music/Los\ Cadetes\ de\ Linares/ogg/chuy_vega/mas_de_lo_que_merecias/06_el_m_grande.ogg -ao alsa
MPlayer SVN-r38408-12 (C) 2000-2023 MPlayer Team

Playing .mp3/16gb-card/Music/Los Cadetes de Linares/ogg/chuy_vega/mas_de_lo_que_merecias/06_el_m_grande.ogg.
libavformat version 60.4.100 (internal)
libavformat file format detected.
[lavf] stream 0: audio (vorbis), -aid 0, el M grande
Load subtitles in .mp3/16gb-card/Music/Los Cadetes de Linares/ogg/chuy_vega/mas_de_lo_que_merecias/
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
libavcodec version 60.4.100 (internal)
AUDIO: 44100 Hz, 2 ch, floatle, 128.0 kbit/4.54% (ratio: 16000->352800)
Selected audio codec: [ffvorbis] afm: ffmpeg (FFmpeg Vorbis)
==========================================================================
No such audio driver 'alsa'
Could not open/initialize audio device -> no sound.
Audio: no sound
Video: no video


Exiting... (End of file)



Best Regards,


Antonio 


More information about the MPlayer-users mailing list