On 2/16/22 15:29, Rich Shepard wrote: > ========================================================================== > Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III > AUDIO: 44100 Hz, 2 ch, s16le, 32.0 kbit/2.27% (ratio: 4000->176400) > Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, > III) > ========================================================================== > No such audio driver 'arts' > [AO ESD] latency: [server: 0.29s, net: 0.00s] (adjust 0.29s) > AO: [esd] 44100Hz 2ch s16le (2 bytes per sample) > Video: no video > Starting playback... > A: 2.0 (02.0) of 30.0 (30.0) 0.1% 2% > Audio device got stuck! Rich,
The output is telling you what the problem is. Check $HOME/.mplayer/config for dangling configuration settings. If using gmplayer (the GUI), check $HOME/.mplayer/gui.conf. Check also global system defaults in /etc/mplayer/mplayer.conf Here, $ mplayer -ao help MPlayer 20210418-10.3.0 (C) 2000-2021 MPlayer Team Available audio output drivers: alsa ALSA-0.9.x-1.x audio output esd EsounD audio output pulse PulseAudio audio output sdl SDLlib audio output openal OpenAL audio output mpegpes DVB audio output v4l2 V4L2 MPEG Audio Decoder output null Null audio output pcm RAW PCM/WAVE file writer audio output No arts. The other one mplayer tries next is esd (EsounD or Enlightened Sound Daemon). Slackware hasn't had arts (from KDE 3.x) for ages. esd won't work (by default) unless you are running KDE 5. Also, older mplayer gets confused by pulse. Try playing your file with: $ mplayer -ao alsa file.mp3 or $ mplayer -ao pulse file.mp3 The default Slackware mplayer install uses ALSA by default, unless specifically told otherwise. On my systems (15.0, same as for 14.2 with your libavformat) $ mplayer "Cream - Sunshine Of Your Love.mp3" MPlayer 20210418-10.3.0 (C) 2000-2021 MPlayer Team Playing Cream - Sunshine Of Your Love.mp3. libavformat version 58.76.100 (external) Audio only file format detected. Clip info: Title: Sunshine of Your Love Artist: Cream Album: Year: Comment: Genre: Unknown Load subtitles in ./ ========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [alsa] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 16.1 (16.1) of 252.0 (04:12.0) 0.2% and $ mplayer -ao pulse "Cream - Sunshine Of Your Love.mp3" MPlayer 20210418-10.3.0 (C) 2000-2021 MPlayer Team Playing Cream - Sunshine Of Your Love.mp3. libavformat version 58.76.100 (external) Audio only file format detected. Clip info: Title: Sunshine of Your Love Artist: Cream Album: Year: Comment: Genre: Unknown Load subtitles in ./ ========================================================================== Opening audio decoder: [mpg123] MPEG 1.0/2.0/2.5 layers I, II, III AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400) Selected audio codec: [mpg123] afm: mpg123 (MPEG 1.0/2.0/2.5 layers I, II, III) ========================================================================== AO: [pulse] 44100Hz 2ch s16le (2 bytes per sample) Video: no video Starting playback... A: 46.1 (46.0) of 252.0 (04:12.0) 0.2% You also need to remember that every USB audio device is seen by ALSA and PULSEAUDIO as a new sound card. Pulse is stupid (a bit less so in Slack 15.0), loses track of the defaults, mis-detects USB and is terrible at jack sensing. unplug/replug sometimes fixes. Audacious is a bit smarter. Go to menu Output -> Audio Settings Choose Output plugin = ALSA Output then click settings to set the correct PCM and mixer devices. "aplay -L" can be tricky to interpret with multiple cards, mics. Thus, with pulse, pretty much only "speaker-test -Dplug:pulse -c2 -twav" will work. You'll then set the default with pavucontrol gui (an brainless zombie Slack 14.2) to set the default...assuming /etc/asound.conf wasn't changed. Slackware 15.0 is better and even better when you dump pulse for pipewire. -Ed
