Learning about Dolby Vision and CoreELEC development

There will be No Dolby Vision Settings in System
It will work when selecting media, it is limited so nit all Profile playback…

Have tested on Hk1x4 RBOX, clone if Vontar, orVontar is clone of HK1 .Transpeed all the same.

This is proof of concept Test File
Is Excellent!!!

Click on Post count and scroll to the top,read the first 10 or so posts,then will answer your questions,
Like efuse in Amlogic SoC

You dont have to read the whole thread,first 10 then scroll down

Happy Testing

Yes, it should work.

If you have a USB 4.0 or TB port on your computer, you can use an adapter.

Agree that it isn’t a great method, by happy to see you do something better.

No idea about the owner name, don’t know what it means, represents, or what it is. Just know that the canvas that matches those sizes is the gui and modifying those pixels works.


No. P5 requires the device to do the reshaping. Note that this is not a color-space conversion and neither does it mean the device is applying the vdr_dm_data - this is the part that is transferred to the tv.

Fortunately, P5 files only ever use polynomial reshaping and not the more complicated MMR mapping. To further simply things for P5 files, the polynomials used for the chroma channels are only ever first-order / linear - this means they can be reshaped using the only the matrices and offsets within the video processing hardware on the amlogic soc. The luma channel is more complicated, it is a piecewise mapping of up of to seven polynomial segments which can each be quadratic polynomials. I have used to eotf, ootf, and oetf lut’s to perform this reshaping.

1 Like

It works on some but few issues there as well:

  1. The screen is cropped from full screen to small window to the left ( can be fixed by changing the frame rate while playing the video)
  2. It’s quite choppy
  3. When I turn the video off I got black screen and need to do hard reset
  4. It always activates dolby vision mode on the tv

I have the same problems as kamilwhoo above.
I have tried changing the resolution and frequency of the GUI without success.
When I play in 4K (SDR, HDR, DV), the screen is cut off. Then during playback, I go into the settings and see the film playing in the background in full screen. As soon as I return to the film, the screen is cropped again.

Does everyone have the same problem?
Is there a solution or a way around the problem? It’s not possible to use it this way.

Rafael707

Rafael,
To help you, this process from Sholander

  1. first install any 21.1/2 CE-NG version (img.zip file from CE repo)
  2. download “CoreELEC-Amlogic-ng.arm-21.1.1-Omega_devel_20241207115537
    .tar
    ” and copy it to .update folder in present installation.
  3. reboot.
  4. use only default Estuary skin and 1080p resolution for UI - desktop interface.
  5. most DV files should work except profile P5…
  6. enjoy DV, as many of us do on Odroid N2 :slight_smile:

Unfortunately, it’s not good for me as when I play in 4K (SDR, HDR, DV), the screen is cut off, see above.
Let us know.

1 Like

There is something simple that should be fixable going on here… Sounds like the something is going wrong with the scaling. When this happens is your tv getting a 4k hdmi signal from it’s onscreen info?

Did you do it from a clean install as you listed above? Not that it should matter, but if so I might give a fresh go again and try to replicate

What version did you use to start with? There was a changed to do with gui scaling at some CE version. I have overridden that setting to what is needed, but I’m wondering if that setting hasn’t taken / been applied

It’s been a while since I touched anything CoreElec or kodi related but this thread caught my attetion.

So I understand that with mkv and odroid n2 we are missing only Profile 5 for DV.

What about ISO/BDMV? Is DV FEL supported?
A few years back I pushed a PR to Kodi that dropped the secondary 1080p FEL Stream for BDMV/M2TS/ISO so there was no green screen when playing this files and it got approved.

What about today? Is it supported with CoreElec?

No FEL, which works only on DV licenced SoC devices.

Currently, have profile 5 working for single frames as a test. Should be just a case of implementing that properly to calculate things on-the-fly to get profile 5 working.


As @Sholander says, not for the FEL layer, but will play as MEL only. Haven’t tested iso, only mkv, but I would guess that if stock CE can play a FEL iso as HDR10, this should play it back in DV (without using the EL layer).

So according to this thread

The s922x is licensed but only the one in the ugoos am6+?

What about that dovi.ko file.

Can’t you bypass this to be able to have FEL on iso/bdmv?

Minix U22XJ, AM6+ and 2nd gen Cube all have DV licensed s922x/z SOCs. There was also at least one A311D (s922x with NPU) board with a DV licensed SOC.

Ok…

but those are expensive and I have at the moment the odroid n2 here for testing and I was wondering if it would be possible to put the odroid n2 and the ugoos/fire cube 2nd gen at the same compatibility level for DV content.

And to my understanding is this:

  1. Profile 7 DV FEL from mkv works on both thanks to @doppingkoala awesome work.
  2. DV FEL from iso/bdmv/m2ts works with ugoos fire cube but not with odroid n2.

The second is caused by a license issue?
So if this is not hardware level restricted since both the ugoos and the odroid have the same SoC what can we do to remedy this?

I’m just trying to figure out this here because I have a few more days off work and maybe I could help out but first I need to understand what’s the problem.

It would be great to have an all in one inexpensive solution like the odroid n2. The fire cube 2nd gen is 180 usd.

I currently have the oppo 203 with custom firmware that can play iso/bdmv and of course p7 dv fel no problem but not from mkv container, also it doesn’t have a proper GUI for browsing movies.

And I have the nvidia shield which should work but it doesn’t and I’ve developed a BD-J addon for android with the help of many others but it requires modifications that will never be part of main Kodi branch so it’s a no go even with we get P7 FEL working on it (which still would be great).

They sell for $70-90 regularly on eBay, here’s one for $15 that won’t go over $100.

My understanding is that doppinkoala’s method is to passthrough the DV metadata to the TV to do the decoding (avoiding the need for the SOCs DV capabilities). But this can’t be done for DV FEL because this format requires the media player’s hardware to process the video before passing it to the television.

Thanks for the ebay link, I was looking at amazon canada because I have a friend flying over here.

I’m from Brazil so importing fees are impossible for this kind of product so I need a little help from friends abroad.

One solution on my end is importing from China using Ali Express.

Still, since I own an Odroid N2 and there’s beeing development on it and the same SoC can do it for a different brand I was interested in checking out what can be done.

If nothing, well, I’ll find a way to get the cube later. :slight_smile: