Re: cannot open /dev/dsp Fedora/RaspiOS64 bit
Antonio Olivares <[email protected]> Tue, 7 Mar 2023 18:09:44 +0000 (UTC)
| Newsgroups | gmane.comp.video.mplayer.user |
|---|---|
| Message-ID | <[email protected]> |
On Tuesday, March 7, 2023 at 09:50:49 AM CST, Matus UHLAR - fantomas <[email protected]> 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@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 <[email protected]> wrote: >audio output OSS or SDL? > >from "olivares@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, [email protected] ; 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 [email protected] 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 _______________________________________________ MPlayer-users mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users