AC3 transcoding is broken in kodi-rpi 20.2-5 aarch64. When I enable it the audo stops.
I don't know if it worked before. It's the first time I try it, but I know it works on Libreelec on the same hardware.
Hardware is a RPi 3b, Linux alarm 6.1.54-1-rpi-ARCH #1 SMP PREEMPT Tue Sep 19 11:55:52 MDT 2023 aarch64 GNU/Linux
The log does not give much information:
2023-10-01 16:40:29.320 T:419 debug <general>: CActiveAESink::OpenSink - ALSA Initialized:
2023-10-01 16:40:29.321 T:419 debug <general>: Output Device : vc4-hdmi (vc4hdmi)
2023-10-01 16:40:29.321 T:419 debug <general>: Sample Rate : 48000
2023-10-01 16:40:29.321 T:419 debug <general>: Sample Format : AE_FMT_S16NE
2023-10-01 16:40:29.321 T:419 debug <general>: Channel Count : 2
2023-10-01 16:40:29.321 T:419 debug <general>: Channel Layout: RAW, RAW
2023-10-01 16:40:29.321 T:419 debug <general>: Frames : 2400
2023-10-01 16:40:29.321 T:419 debug <general>: Frame Size : 4
2023-10-01 16:40:29.332 T:418 info <general>: CAEEncoderFFmpeg::Initialize - AC3 encoder ready
2023-10-01 16:40:29.366 T:418 debug <general>: CActiveAE::ClearDiscardedBuffers - buffer pool deleted
2023-10-01 16:40:30.377 T:418 info <general>: Skipped 3 duplicate messages..
2023-10-01 16:40:30.377 T:418 debug <general>: ActiveAE::SyncStream - average error 116.604984 above threshold of 100.000000
2023-10-01 16:40:30.428 T:418 debug <general>: ActiveAE::SyncStream - average error 20.604984 below threshold of 30.000000