mpv
mpv copied to clipboard
[cosmetic] warning if pipewire not active
Important Information
It throws a warning about pipewire. I don't see this been mentioned anywhere. Even if already fixed, it will be documented in the issues. There's already an other pointless warning from ffmpeg about embedded images, these start to add up.
Provide following Information:
- mpv version 35.1
- Debian 12
- distro package
Reproduction steps
I think it's when it's compiled with both pipewire and pulseaudio, but pipewire is not active.
Expected behavior
it shouldn't say anything. It should gracefully determine that pipewire is not there.
Actual behavior
I think this happens because the conf doesn't exist and the devs missed this case.
[W][00355.592783] pw.conf | [ conf.c: 939 try_load_conf()] can't load config client.conf: No such file or directory
[E][00355.593459] pw.conf | [ conf.c: 963 pw_conf_load_conf_for_context()] can't load default config client.conf: No such file or directory
The problem is less that pipewire is not running but more that the client config is not installed. I'm not sure if there is a way for mpv to avoid this warning or if it's even valid to install libpipewire without the client configs.
I asked the PipeWire devs: https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/3296
you can make it go away with --ao=pulse
or --ao=alsa
More details with -audio-device=help
Ah, the damn thing is still an issue....it garbled the sound ....heck
I have wiped off pipewire and installed pulseaudio and it is still a problem.
Any clue? @Dudemanguy @pirate486743186
Debian 12.5
Debian 12.5
For Debian/Ubuntu, I recommend you install pipewire-audio-client-libraries
, which pulls in client.conf
and client-rt.conf
.
$ sudo apt install pipewire-audio-client-libraries
@unixbhaskar
it garbled the sound
It would be great if you could open a bug report for that.