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

Matus UHLAR - fantomas uhlar at fantomas.sk
Thu Mar 9 10:25:30 EET 2023


>>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. 

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

On 07.03.23 18:09, Antonio Olivares wrote:
>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'

this why I first asked you to try:

mplayer -ao list

to see which audio output modules are available.

you obviously have OSS which is not available on raspi and sdl that seems 
not to support OGG/vorbis files.

Where did you get mplayer? It's strange that is has OSS output compiled in, when it's not 
available on raspi.

However this looks like problem for raspi forums.


-- 
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.
"The box said 'Requires Windows 95 or better', so I bought a Macintosh".


More information about the MPlayer-users mailing list