jellyfin-androidtv icon indicating copy to clipboard operation
jellyfin-androidtv copied to clipboard

Add a fallback to AC3/EAC3 option

Open BJET67 opened this issue 1 year ago • 6 comments

Describe the feature you'd like

Some audio codecs such as TrueHD and DTS dont always play correctly so I think the easiest way to get bitstream surround sound is to request a AC3 or EAC3 transcode from the server instead of an AAC or any other codec.

From what I believe bitstreaming AC3 or EAC3 is the only way to get surround over optical so this would be a great addition

BJET67 avatar Jul 02 '23 19:07 BJET67

Would also get around the problem of my TV automatically downmixing AAC surround to stereo instead of passing it through

mparley avatar Jul 11 '23 04:07 mparley

@mparley Same issue on mine, the only surround sound that makes it through a HDMI ARC connection on my Android TV is either AC3 or EAC3. It supports AAC but it will play as PCM 2.0 instead of 5.1. The pull request above adds preferences to change this, basically disable all but AC3 and EAC3 in the settings and select EAC3 as the preferred transcode codec. That will change any AAC or TrueHD or other audio into EAC3 from the server side.

t0mas avatar Oct 09 '23 12:10 t0mas

This would be great for me. I recently changed to a Sony TV running Google TV and am running into the issue of AAC surround sound not working (playing only as stereo). AC3 surround sound works just fine. I could re-encode every AAC file I have, but I'd like to avoid that.

Interestingly, AAC 5.1 worked on my prior Roku TV (but 7.1 would entirely have no sound).

jakub77 avatar Nov 10 '23 02:11 jakub77

Can confirm this is a problem on Sony Bravia Google/Android TV's. All aac multichannel tracks are downconverted to PCM 2.0.

nextlooper42 avatar Nov 10 '23 12:11 nextlooper42

In my setup it's being decoded to multi-channel PCM, not stereo. More info: https://github.com/jellyfin/jellyfin-androidtv/issues/1753#issuecomment-1853148550

zkhcohen avatar Dec 13 '23 21:12 zkhcohen

Same issue here with a nVidia Shield Pro (2019) > HDMI > Samsung The Frame 2022 (model QE50LS03BGUXZT) > HDMI (eARC) > Sonos Beam Soundbar. All my cables are HDMI 2.1. Having such a feature would likely solve my problem.

Interstellar0verdrive avatar Jan 25 '24 13:01 Interstellar0verdrive