Closed pitsi closed 2 weeks ago
Duplicate of #11790
I did not think the issue would date back to mpv 0.35. On my end, it happened with the upgrade to 0.38, I did not have it before.
---edit
I do not know if it is visible in the debug log, but I do have ao=alsa
in my config since ever.
Probably mpv was compiled without pipewire support before.
EDIT:
I do not know if it is visible in the debug log, but I do have ao=alsa in my config since ever.
In the log you provided there is
[ 0.000][v][cplayer] Setting option 'audio' = 'no' (flags = 12)
so no audio is loaded/used.
In the log you provided there is
[ 0.000][v][cplayer] Setting option 'audio' = 'no' (flags = 12)
so no audio is loaded/used.
But... I do hear audio even with the --no-config option! Here is the proof that I do have alsa as my audio device in my mpv.conf
$ head -5 .config/mpv/mpv.conf
vo=gpu,xv
#vo=xv
hwdec=vaapi
ao=alsa
sub-codepage=iso-8859-7
mpv Information
Other Information
Linux version:
Kernel Version:
Linux (removed) 6.7.12-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1 (2024-04-24) x86_64 GNU/Linux
GPU Model:
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Caicos [Radeon HD 6450/7450/8450 / R5 230 OEM] [1002:6779]
Mesa/GPU Driver Version:
OpenGL version string: 4.5 (Compatibility Profile) Mesa 24.0.8-1
Window Manager and Version:
Openbox 3.6.1
Source mpv:
deb-multimedia.org
Introduced in version:
0.38
Reproduction Steps
On a system without pipewire (it may apply to pulseaudio as well), use mpv to play a file and notice the warnings seen below (they are colored in yellow and red respectively).
I used the --no-config option (which I did not know until a few minutes ago) and the warnings showed up the moment the video started playing. When using my config, the warnings show up when I press "i" (statistics overlay) and only once, no matter how many times I may press it during the playback.
Last but not least, in case it is not mpv's fault but something else, e.g. ffmpeg, I want to add that I am getting the same lines on the terminal when using kodi (21), but they appear there even when the app just launches and does nothing at all. Mpv is built with the libs of ffmpeg 7.0.1, but kodi is built with the libs of ffmpeg 6.1.1.
Expected Behavior
Actual Behavior
Log File
output.txt
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.