Skip to content
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

Jellyfin MPV-Shim flaypack doesn't support passthrough multichannel audio over HDMI #371

Open
chp-1960 opened this issue Mar 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@chp-1960
Copy link

chp-1960 commented Mar 17, 2024

Describe the bug
Jellyfin MPV-Shim flatpack doesn't support passthrough multichannel audio over HDMI with integrated MPV.
The tests were made with the following materials:

Sound cards tested :

  • HDMI to SPDIF splitter or/and
  • External USB sound card with analog and SPDIF out/in
  • AC3 and DTS test videos.
  • Amplifier : Onkyo
  • Tested with ALSA, Pulse and Pipewire

Nota : Regular mpv and vlc are working as expected (SPDIF passthrough works).

In Jellyfin MPV-Shim, both sound cards have the same behavior : No SPDIF passthrough. If passthrough is forced, in home/user/.var/app/com.github.iwalton3.jellyfin-mpv-shim/config/jellyfin-mpv-shim/mpv.conf the embedded MPV never open.

However, it work in stereo (prologic at best) if no sound card is selected in the mpv.conf or if it's empty.

To Reproduce
I tried to modify the file mpv.conf located in : home/user/.var/app/com.github.iwalton3.jellyfin-mpv-shim/config/jellyfin-mpv-shim/ to use the exact same parameters as the regular mpv but without success. At best I can have stereo (prologic) sound.
If I set the same sound card as the "regular" mpv, the "embeded flatpack mpv" don't open at all.

Expected behavior
All AC3, DTS, EAC3, ... multichannel audio should go to the Amp/Receiver in "spdif passthrough".

Screenshots
not applicable.
Here is my common settings for both "regular" mpv and for the "embedded flatpack" MPV :

mpv.conf :
audio-device='alsa/hdmi:CARD=Generic,DEV=0'
audio-channels=5.1,stereo # audio configuration with fall back option
af=surround:chl_out=5.1 # audio filter for mixing to surround (5.1)
audio-spdif=ac3,dts,eac3 # audio passthrough on HDMI or SPDIF

Desktop (please complete the following information):

  • OS: Kubuntu 22.04 LTS
  • Browser : Firefox

Error Messages
Where and which logs show the mpv results and capabilities?

@chp-1960 chp-1960 added the bug Something isn't working label Mar 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant