Amlogic-NO discussion

This post mainly targeted at @Portisch and @Joe_90 to add my own tests and findings on multich PCM audio.

My DuneHD BoxR 4K was updated to CE-NO 20260105 and I didn’t notice then that the forum was already in readonly mode so I couldn’t report my satisfaction. I always perform tests with my very own testsuite to validate that everything works after any update (2 USB sticks in a A/B system). I was pleasantly surprised to notice that finally, my 4ch audio files played correctly ! Until then, only the front channels would play, the back channels would remain silent.

NOTE: I’ve updated today to release 20260224 and everything still works as described.

I created a full set of audio files to test multich audio. There are a bunch of files with varying channels layouts and each channel is clearly identified beyond a shadow of a doubt! No confusion possible. These are :

  • AudioLayout-5.0.flac
  • AudioLayout-5.0-side.flac
  • AudioLayout-5.1.flac
  • AudioLayout-5.1-side.flac
  • AudioLayout-7.0.flac
  • AudioLayout-7.1.flac
  • AudioLayout-quad.flac
  • AudioLayout-quad-side.flac

The `-side` files are the actual correct layout used in the industry! It involves the SR (SideRight) and SL (SideLeft) channels. The RR (RearRight) and RL (RearLeft) exist as a valid audio layout but they are never used anywhere by anyone in the industry. I included them only for the sake of completeness for the tests. ALL receivers out there will correctly adjust non-side layouts to side layouts transparently on 5.0/5.1 setups.

4ch layouts only exist as quad-side layout in the industry. The 4.0 layout (with Rear L/R) exists but never was used anywhere by any studio.

5.1 and 7.1 are common, respectively with DolbyDigital/DTS and DolbyTrueHD/DTS-MA but NOT with DolbyAtmos nor DTS-X which both are object-based layouts. Both can be converted back to 7.1 PCM files with FFMPEG but position information will be lost and all height channels will be mixed into Side/Rear channels depending on their initial position.

5.0 is mainly found in classical music SACDs where a LFE channel makes no sense most of the time (piano and violin concertos).

Quad (4ch) is mainly found in recent multichannel releases of very old blues/rock recordings from the 70’s (ie: Pink Floyd, ZZ Top, The Doobie Brothers, etc.)

All the above files are also duplicated as AC3 files to be decoded by the receiver and confirm the correct layout.

I own a Denon receiver which features a very nice “Info” panel with named icons showing exactly the input layout and the output layout so you can exactly see what happens even with object-based audio formats as you can see. Sorry for the poor visual quality :frowning:

NOTE: The 7z archive is not big ~51 MB but too big for the upload feature of the forum. I don’t have an account at any upload service and I’d rather not open one for this one time operation. If someone have a long term account somewhere and would be willing to host the 7z archive for the benefit of all people in the forum, please contact me privately.

Ok so now here are my findings after the tests :

  • 5.1 and 7.1 layouts work perfectly
  • ALL x.0 layouts are promoted by Kodi/Kernel/Alsa (don’t know which) to their x.1 nearest equivalent
    • 5.0 →5.1
    • 7.0 →7.1
    • Quad → 5.1

In all cases, the channel mapping is correct. You can hear the correct sound on the correct speaker.

Final note: From what I’ve seen in the previous posts, especially Amlogic-NO discussion - #2947 by Portisch there’s currently support for 2.0, 2.1, 3.1, 5.1 and 7.1 channels. The 3.1 is simply non existent in the industry and there’s clearly no point in supporting it. I mean from the Kodi/Kernel/Alsa point of view as an input channels layout. I dare anyone to find an official audio file with a 3.1 layout in the wild!

Please @Portisch remove the 3.1 layout and replace it with quad-side : FL+FR+SL+SR which is the actual 4ch used in the real world.

Any user with a physical 3.1 speakers layout connected to a receiver will have no problem as the receiver will always correctly adapt any input channels layout to the physical output speakers layout :slight_smile:

As always, thank you very much @Portisch for your hard work and dedication to make CE a really splendid and marvellous distro and @Joe_90 for your patience and test of various images! We all here should feel blessed and grateful that people of this quality work solely for our pleasure.

3 Likes

Confirn. Many addons ara incompatibile with lasy nigtlhy

Thanks for the heads up, I’ll perform a backup before applying.

Message to the teams of people who are working on the various aspects of CE NO, I want to say thank you :folded_hands: for all of your work. I can’t believe you have been working on this project for about 2 years already.

I have an Ugoos AM9, thank you in clouding this late comer in you supported devices, you have made an otherwise usless(on android14) box a real performer.

with so much gratitude, Thank You :folded_hands:

1 Like
1 Like

Thank you for your detailed report.

I have a 3.1.2 sound system at home. The channels in audio setup should match your used hardware. So not sure about change 3.1 to 4.0.

The Alsa sound card support 2, 4, 6 and 8 channels.

1 Like

Any chance this will be released relatively soon? Or with the next nightly?
Or where to find nightly 2026-02-25?

1 Like

I see with the latest nightly build 20260226

Heic and inputstream adaptive is disabled due to incompatibility with version of Kodi.

I see 1hr ago it was updated here

But I don’t know enough how to get it installed.

An tips appreciated

I’m not sure how to use this information.

Is this an fyi or a package I should get to install somehow? help please :folded_hands:

Wait until LE merges the PR, then CE merges from LE, and over night it will be build.

4 Likes

Thank you :folded_hands:

So I was hit with Tvheadend PVR been incompatible with latest nightly.
Am I correct in assuming this will be fixed by the next nightly ?

1 Like

Wait until LE merges the PR, then CE merges from LE, and over night it will be build.

I believe answer you seek is in post 2 above by Vpeter maybe.

I’m using a generic box with an S905X3 (sm1_s905x3_4g_1gbit.dtb), and during the boot process (before the CE logo appears), part of my screen is cut off (https://i.postimg.cc/3RDC6xMm/bootup-ce.png).
Because of this, I can’t see the installation or update progress. I would like to ask if this is a common problem or just me.

Can’t answer for S905X3 but S905X4 is fine.

1 Like

You’re welcome. If by any chance you’d like to get the audio files to make them available to everybody on the forum, contact me privately.

Your 3.1.2 will be treated as 5.1 (6ch) by any receiver out there. L/C/R will work as usual and the .2 part (Presence L/R) will receive the Side L/R signals to avoid loosing audio channels.

You may just find some weird situations in movies like when a plane/helicopter/missile flies in and was mixed to come from “behind”, you’ll get all the sounds from your “front” side because Presence L/R are supposed to be placed above regular L/R. 3.1.2 speakers layout is usually used when you can’t put speakers behind the viewing point.

Currently in CE-NO, Quad (4ch) is “upscaled” to 5.1 (6ch) with C/LFE being silent and I don’t really mind because at least, the Side L/R are correctly mapped this time since your modifications (noticed since 20260105 in my case). So as long as it keeps working properly as it is, I won’t bother you anymore :smile:

1 Like

Oh yes! My initial message was targeted specifically towards Portisch and Joe_90 because we were talking about multichannel audio but of course, every single person behind the CE team deserves praise !

A special thanks to @vpeter for his Homatics LED addon which is way more useful than anticipated :smile: By default, the DuneHD led strip is very bright which is disturbing in the dark when watching movies. With the addon, I can choose a very subtle color with minimum brightness and enjoy movies without light pollution :+1:

1 Like

I would like to get my hands on these test files.

Did you make them yourself?