OK, then I think the missing data formats (post #14) are the issue. I already had an internal team discussion about this. Unfortunately nobody has the skills to fix it. So you can only wait for updates. ![]()
Posts by Da Flex
-
-
The log snippet looks OK to me. Only 2 channels are used for PCM, even if you have 8 audio output channels enabled in the settings.
Read here about the difference between passthrough and non-passthrough: Click!
Try passthrough with only 2 audio output channels. As mentioned, multiple channels will be encoded into 2 (FL, FR), so you'll get all 6 DTS channels with only 2 audio output channels in the settings.
-
Can you please test with disabled hardware decoding anyway? It could also be a driver issue, not the hardware itself.
-
Thanks. I'll send the feedback back to the dev.
-
A dev has replied to me. FFMPEG is capable to play the VP9 codec, but probably not the accelerated chip. Turn off hardware decoding.
-
I need to try the LE 12 nightly and see if it resolves the issue.
If not, share a log from the nightly...
Please provide a full debug log.How to post a log (wiki)1. Enable debugging in Settings>System Settings>Logging2. Restart Kodi3. Replicate the problem4. Generate a log URL (do not post/upload logs to the forum)
use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link -
In both cases used format is AE_FMT_S16NE, present on both platforms. What about frames, which is diffrent? Is there a way to change them?
If connection breaks on a higher frame rate (only audio in your case), then it's sometimes bad HDMI cabling.
I would check whether your HDMI cable(s) is/are conform to HDMI 2.0 or 2.1. Those cables have better shielding, so they can handle higher data rates (4K video, HD audio etc.).
-
Thanks. LE and OSMC receive different capabilities from the AVR.
OSMC on RPi (working):
Code2023-08-19 14:49:22.757 T:669 info <general>: Device 4 2023-08-19 14:49:22.757 T:669 info <general>: m_deviceName : hdmi:CARD=vc4hdmi,DEV=0 2023-08-19 14:49:22.757 T:669 info <general>: m_displayName : vc4-hdmi (vc4hdmi) 2023-08-19 14:49:22.757 T:669 info <general>: m_displayNameExtra: GSM LG TV on HDMI 2023-08-19 14:49:22.757 T:669 info <general>: m_deviceType : AE_DEVTYPE_HDMI 2023-08-19 14:49:22.757 T:669 info <general>: m_channels : FL, FR 2023-08-19 14:49:22.757 T:669 info <general>: m_sampleRates : 32000,44100,48000,96000,192000 2023-08-19 14:49:22.757 T:669 info <general>: m_dataFormats : AE_FMT_RAW,AE_FMT_S24NE3,AE_FMT_S24NE4,AE_FMT_S32NE,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_S16BE,AE_FMT_U8,AE_FMT_RAW 2023-08-19 14:49:22.757 T:669 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHDLE on Odroid C2 (not working):
Code2023-08-16 17:39:00.077 T:807 info <general>: Device 3 2023-08-16 17:39:00.077 T:807 info <general>: m_deviceName : hdmi:CARD=ODROIDC2,DEV=0 2023-08-16 17:39:00.077 T:807 info <general>: m_displayName : ODROID-C2 2023-08-16 17:39:00.077 T:807 info <general>: m_displayNameExtra: HDMI 2023-08-16 17:39:00.077 T:807 info <general>: m_deviceType : AE_DEVTYPE_HDMI 2023-08-16 17:39:00.077 T:807 info <general>: m_channels : FL, FR 2023-08-16 17:39:00.077 T:807 info <general>: m_sampleRates : 8000,11025,16000,22050,32000,44100,48000,64000,88200,96000,176400,192000 2023-08-16 17:39:00.077 T:807 info <general>: m_dataFormats : AE_FMT_S24NE4,AE_FMT_S16NE,AE_FMT_S16LE,AE_FMT_RAW 2023-08-16 17:39:00.077 T:807 info <general>: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD,STREAM_TYPE_DTSHD_MA,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3,STREAM_TYPE_TRUEHDDifferences are at "dataFormats" section. Missing data formats on LE:
- AE_FMT_S24NE3
- AE_FMT_S32NE
- AE_FMT_S16BE
- AE_FMT_U8
I guess you found an LE bug. Wait for chewitt now.
-
Understand, the reason i asked for help is some of the add-ons impacted would appear to be popular for example uTube and OpenVPN ( to use with NordVPN)
Use our search function (magnifier icon) with "YouTube" or "VPN" as keywords.
Pro tip: Start your search from the forums main page to search in all sub-forums.
-
I've tested a Behringer UMC22 on my RPi, and it works fine. The output is studio quality, if connected to active studio monitors.
-
Python version is compiled into LE. So you can't change the Python version on LE. You can only downgrade LE.
If you're disappointed with the situation, ask the add-on developer to compile with a newer Python.
-
Why "channel count" is 2?
Try two output channels on LE's audio settings. As mentioned, the six DTS channels (see log) will be encoded into those two.
-
Sound system configuration is fine, because it worked well with Raspberry Pi + OSMC (well, there were another things that not worked).
Do you have another microSD for LE on RPi? Then we could compare both logs.
-
Multiple audio channels can be encoded into two channels, so don't care about it.
Looks like LE doesn't support audio passthrough on your device:
Code2023-08-16 17:39:00.072 T:807 debug <general>: PulseAudio: Context authorizing 2023-08-16 17:39:00.073 T:807 debug <general>: PulseAudio: Context setting name 2023-08-16 17:39:00.074 T:807 debug <general>: PulseAudio: Context ready 2023-08-16 17:39:00.074 T:807 warning <general>: Pulseaudio module module-allow-passthrough not loaded - opening PT devices might fail -
Please provide a full debug log.How to post a log (wiki)1. Enable debugging in Settings>System Settings>Logging2. Restart Kodi3. Replicate the problem4. Generate a log URL (do not post/upload logs to the forum)
use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link -
Worked fine on OSMC installed in Raspberry Pi with same files. So AVR should not be a problem (it supports up to 96 kHz and 24-bit).
Thanks for the info! Your AVR is a good one.

I guess we have to dig deeper now...
Please provide a full debug log.How to post a log (wiki)1. Enable debugging in Settings>System Settings>Logging2. Restart Kodi3. Replicate the problem4. Generate a log URL (do not post/upload logs to the forum)
use "Settings > LibreELEC > System > Paste system logs" or run "pastekodi" over SSH, then post the URL link -
You have to struggle when trying to compile your own EQ add-on. Nobody will do it for you.
Don't waste your time, and buy a hardware DSP.
-
Hi! I'm new here, and I've just installed LibreELEC on my old Odroid C2.
Everything works fine except for sound passthrough. While this feautre is disabled, sound works, but only in stereo. If I enable it, at the beginning of every video I hear "crack", and then, if sound is in format accepted by my sound system (selected in Kodi options) there is silence and sound system indicates no digital data, else - if sound has to be converted to other format - sound comes in stereo.
Sound system configuration is fine, because it worked well with Raspberry Pi + OSMC (well, there were another things that not worked).
Any ideas?
I recently had a similar issue with passthrough on RPi3B+. So if your AVR is old, then the issue could be a high sampling rate.