Stefan Monnier wrote: 
> > Does mplayer give any more interesting errors? 
> 
> Oh, I didn't notice it at first, but now that you ask, yes it does:
> after something like a timeout period it says:
> 
>     AO: [pulse] Init failed: Timeout
>     Failed to initialize audio driver 'pulse'
> 
> And lo and behold if I start it with `mplayer -ao none <FILE>`, the
> video plays just fine (whether Theora, MPEG2, or H.264).
> 
> So maybe I was barking up the wrong tree and the problem was on the
> audio side all this time.

Well, yes and no. I think we've established that there's no
hardware support for decoding anything except MPEG2, but also
that the machine is capable of doing most decoding in software.

Sound problems are... excessive amounts of fun. 

> This machine is running Debian testing,
> which seems to have selected Pipewire for me.
> 
>     % ps auxw|grep pipewire
>     monnier   1810  0.0  0.1  46096  9396 ?        Ssl  jan18   0:00 
> /usr/bin/pipewire
>     monnier   1813  0.0  0.0  34436  6412 ?        Ssl  jan18   0:00 
> /usr/bin/pipewire -c filter-chain.conf
>     monnier   1818  0.0  0.1  41540 10460 ?        Ssl  jan18   0:00 
> /usr/bin/pipewire-pulse
>     monnier   7472  0.0  0.0   8276  2304 pts/6    SN+  16:40   0:00 grep 
> pipewire

OK. First diagnostic: `pactl info`.

On my bookworm desktop, I get this:

$ pactl info
Server String: /run/user/1042/pulse/native
Library Protocol Version: 35
Server Protocol Version: 35
Is Local: yes
Client Index: 13692
Tile Size: 65472
User Name: dsr
Host Name: spike
Server Name: PulseAudio (on PipeWire 0.3.65)
Server Version: 15.0.0
Default Sample Specification: float32le 2ch 48000Hz
Default Channel Map: front-left,front-right
Default Sink: PulseEffects_apps
Default Source: 
alsa_input.usb-Blue_Microphones_Yeti_Stereo_Microphone_REV8-00.analog-stereo

Which says the things I expect: pulseaudio's interface is being
supplied by pipewire, it's configured for 2 channel stereo,
there's a USB microphone available and the output is being
filtered through PulseEffects (which is doing equalization for
me.)




-dsr-

Reply via email to