I’ve just switched to a Raspberry Pi 4 4GB after years running OSMC on a Pi3B. Playing video files that use Dolby Digital Plus / E-AC3 results in no sound and after approx 5 seconds the playback stutters and stops. The picture remains still, it hasn’t crashed, and I can press Stop, or skip through the video which then plays another 5 seconds before stopping.
Through various posts here, this seems to be due to problems resampling the audio. The Pi is connected using official Raspberry Pi HDMI to a Sony amp that supports DD/DDP/DTS (STR-DA3500ES). I have audio in Kodi set to 7.1 and allow passthrough (sync to display is disabled, stereo upmix is disabled). So for AC3 streams this works perfectly.
The difference I find with the Pi4 is the option to enable passthrough for E-AC3 is missing from the GUI. This is available on the Pi3 and enabled (OSMC with Kodi v18).
I saw on this thread that “HD audio” support was pulled from the Pi until Bullseye. I’m not sure if “HD audio” there includes E-AC3, This is a new OSMC install on a Pi4, running the latest May 23 release from the installer, with no updates available.
I’ve uploaded logs which show playing a file with AC3 that uses passthrough at 2023-05-26 09:12:08.462. I then tried a file using E-AC3 and you can see the errors at 2023-05-26 09:12:30.145
I can mitigate the issue by changing the speaker config option to 2.0 with passthrough still enabled for AC3 and DTS only, but I would like to be able to use the receiver’s support for E-AC3 rather than downgrading these streams to 2.0.