Closed michaelkrieger closed 2 years ago
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
Bumping in hopes that this reopens. Would eliminate the need for external players entirely for me.
The issue is more on server side than on the client side. Basically, Kodi works because it implements a multichannel AAC to AC3 transcoding ("Enable Dolby Digital (AC3) transcoding: On") so it is effectively AC3 that is being passed through.
It is the jellyfin server that should properly differenciate stereo AAC from multichannel AAC. Right know it seems the server only looks at the codec which is insufficient. If jellyfin would somehow be aware of the multichannel AAC, then it could take care of the transcoding to AC3.
Someone has been working on a server fix with chromecast in mind: #6043
I'm not sure if my fix will have any effect here, since I wasn't able to reproduce the issue. I was running the app through an emulator, so I don't know if that's part of why I couldn't reproduce it, but I played a number of files with 5.1 AAC LC audio, and their audio was all transcoded to AC3 5.1. Could you provide a transcoding log from when you try to play the file?
We can't provide a transcoding log since there is no transcoding occuring which is precisely the issue.
I'm not sure how the emulator behaves but if it worked I assume it actually reports 2 channels AAC which would indicate that the server side is actually fine (you tried your fix or the current release?). Unless transcoding occured for another reason.
Then the question would be why it is not the case on actual devices. I suspect getMaxInputChannelCount() returns more than 2 channels since the device will actually be able to playback multi AAC but will downmix to be able to output it properly (i.e. playback capabilities vs actual output/passthrough capabilities). Many devices can't output multi PCM. They can only do 2.0 PCM and passthrough AC3, DTS, etc.
If that's the case, I would suggest to literally hardcode AAC to be limited to 2 channels so that the server can transcode. This wouldn't be an issue since the app only relies on passthrough (no multi PCM) with both Exoplayer and libVLC and multi AAC cannot be passed through anyways.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments. If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label. This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
Still relevant. Two channel audio through eARC to the receiver whereas Kodi will pump out 5.1
Having the same issue :( Hoping this can get prioritized
Same issue here. Works perfectly with the suggested Kodi settings posted.
This issue has gone 120 days without comment. To avoid abandoned issues, it will be closed in 21 days if there are no new comments.
If you're the original submitter of this issue, please comment confirming if this issue still affects you in the latest release or master branch, or close the issue if it has been fixed. If you're another user also affected by this bug, please comment confirming so. Either action will remove the stale label.
This bot exists to prevent issues from becoming stale and forgotten. Jellyfin is always moving forward, and bugs are often fixed as side effects of other changes. We therefore ask that bug report authors remain vigilant about their issues to ensure they are closed if fixed, or re-confirmed - perhaps with fresh logs or reproduction examples - regularly. If you have any questions you can reach us on Matrix or Social Media.
Still a issue today. No transcoding happening when it should transcode to ac3 multichannel. Only thing making it hard to switch from plex.
Same issue here. AAC multichannel doesn't work...
I'm also still getting this - even with my hdmi going via avr Unless I turn off refresh rate switching - it now seems to be opening an lpcm 5.1 output with that turned off
Nvidia shield running shield OS 9.1.1
It still doesn't work on Mi Box TV (build PI.3933), regardless of whether refresh rate switching is turned on or off...
Still an issue!
Doesn't Work on Both Mi Box TV and Bravia
Still an issue for me as well!
Still an issue for me
Just this won't stale again: Still an issue with Jellyfin 10.8.10.
I am currently have this issue. All files with AAC 5.1 come through as 2,0. Currently resorting to manually reencoding to AC3. Android 9 on Sony AndroidTV Marrantz 7703 preamp/processor
To avoid this issue going stale again, as i still have this issue, I am once again commenting.
I'm getting different results, with multichannel PCM being output, NOT stereo:
https://github.com/jellyfin/jellyfin-androidtv/issues/1753#issuecomment-1853148550
AAC LC formatted audio always outputs 2.0ch PCM 48kHz irrespective of what passthrough settings are selected on Android TV. DTS/AC3 correctly plays 5.1 audio through Jellyfin No transcoding is occurring as per Jellyfin's logs.
Possible solutions:
Checks
Media Info of the file
Logs
FFmpeg Logs No transcoding is taking place on Jellyfin
System (please complete the following information):
Additional context Both Kodi and Jellyfin correctly plays DTS audio via EARC over HDMI. Kodi correctly plays AAC audio with the following settings (the important ones that I needed to get it working are the two with asterisks by them)
Can this be forced server-side on Jellyfin to transcode to DTS? Can a change be made in the Jellyfin app to mimic what Kodi is doing?