-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mpv passthrough with Pipewire: "no target node available", ALSA works #15804
Comments
I'm facing exactly the same issue. And thank you @Tatsh for the trick, using alsa while specifying the device worked very well for me too! Though I also had to specify the option --audio=spdif=ac3 for it to work |
Can you run mpv with the env variable PIPEWIRE_DEBUG=5 and post the output? |
What happens without |
Arguments at top of log. With the arguments: pw-debug.log.gz Without the arguments: pw-no-extra-args-debug.log.gz
Because I've set the HDMI device to default, basically the same thing. |
Can you also enable logs from wireplumber? |
I realised that PulseAudio Volume Control (
I checked to make sure it wasn't my config and the same thing happens with The 'Failed to parse codec profile' message is from Here is the Wireplumber log: wireplumber.log.gz |
This looks better. Could you provide pipewire/mpv/wireplumber logs without pavucontrol/easyeffects running for the command |
And for |
Just for consistency in testing I am using the following commands: To set up and run mpv (after receiver is turned on): clear; wpctl set-log-level D; export PIPEWIRE_DEBUG=5; pw-cli s alsa_card.pci-0000_01_00.1 Profile '{ name = "output:hdmi-surround71" }' && sleep 1 && pw-cli s alsa_output.pci-0000_01_00.1.hdmi-surround71 Props '{ iec958Codecs : [ PCM DTS AC3 EAC3 TrueHD DTS-HD ] }' && systemd-cat -p info -t mpvtesting <<< 'mpv starts here' && mpv --config=no --msg-level=ao/pipewire=trace --audio-spdif=ac3 ~/Downloads/file.mkv &> ~/Downloads/mpv.log; systemd-cat -p info -t mpvtesting <<< 'mpv stops here' To get the journal output: journalctl --output=short-iso-precise -f --user _SYSTEMD_USER_UNIT=wireplumber.service + SYSLOG_IDENTIFIER=mpvtesting > ~/Downloads/wireplumber.log In the journal log above, look for 'mpv starts here' and 'mpv stops here' text to see when mpv starts and stops. |
mpv Information
Other Information
ALSA works after disabling pipewire:
mpv --ao=alsa --audio-channels=5.1,stereo '--audio-device=alsa/hdmi:CARD=NVidia,DEV=1' --audio-exclusive=yes file.mkv
.Reproduction Steps
pw e NODE_ID Props | grep -F Codecs -A 3
mpv --ao=pipewire --audio-channels=5.1,stereo '--audio-device=pipewire/alsa_output.pci-0000_01_00.1.hdmi-surround-extra1' --audio-exclusive=yes --audio-spdif=ac3 file.mkv
Expected Behavior
Video should play. AC3 bitstream should be sent to receiver.
Actual Behavior
The video does not start. Error message:
Log File
output.txt.gz
Sample Files
No response
I carefully read all instruction and confirm that I did the following:
--log-file=output.txt
.The text was updated successfully, but these errors were encountered: