Dolby Vision for Minix U22X-J (Max) and Ugoos AM6+

@PurplePlayer I see that your VC1 patch got accepted into the mainline. What setting would you recommend for the S922X?

Exclude 24p.

Setting that will vc-1 software decode 24p content and hardware decode everything else (e.g interlaced). As mentioned in the commit, not even the S922X-J can handle software decoding and deinterlacing VC-1. Not to mention the VC-1 hardware decoder is perfectly fine with actual interlaced content.

At least in my collection the only progressive content I have encoded in VC-1 is 1080p24 (namely 23.976). At least anything outside of sample, test or demo content.
Everything else I’ve come across in that codec has been interlaced content.

1 Like

I downloaded the datasheet for the s922x.
The chip can work with 3d MVC. Is this implemented in CE or not.
About VC1. The problem started on version 19 about, a couple of years ago, what is the reason why it is impossible to realize correct hardware decoding of progressive VC1.

Because it was never working properly. Also not in 3.14 GXL and GXB. It’s history and nobody did look at it in more detail why it do not work.

I’m running the latest CE 21.0 on an Ugoos AM6B+ and after a few tests, it looks like Dolby Vision is running fine.
But I discovered that the follow Profile 7 (DT DL) DV file is not played back correctly. Only the first stream is visible.

When played correctly, this text should be visible:

General
Format                                   : MPEG-4
Format profile                           : Base Media / Version 2
Codec ID                                 : mp42 (mp42/dby1/isom)
File size                                : 25.3 MiB
Duration                                 : 1 min 0 s
Overall bit rate                         : 3 497 kb/s
Frame rate                               : 23.976 FPS
Encoded date                             : 2024-03-27 18:44:16 UTC
Tagged date                              : 2024-03-27 18:44:16 UTC

Video #1
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : hev1
Codec ID/Info                            : High Efficiency Video Coding
Duration                                 : 1 min 0 s
Bit rate                                 : 3 138 kb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.016
Stream size                              : 22.7 MiB (90%)
Default                                  : Yes
Alternate group                          : 1
Encoded date                             : 2024-03-27 18:44:16 UTC
Tagged date                              : 2024-03-27 18:44:16 UTC
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Codec configuration box                  : hvcC

Video #2
ID                                       : 2
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, Profile 7.6, dvhe.07.06, EL+RPU, no metadata compression, Blu-ray compatible / SMPTE ST 2086, Version HDR10, HDR10 compatible
Codec ID                                 : dvhe
Codec ID/Info                            : High Efficiency Video Coding with Dolby Vision
Duration                                 : 1 min 0 s
Bit rate                                 : 291 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 23.976 (24000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0 (Type 2)
Bit depth                                : 10 bits
Bits/(Pixel*Frame)                       : 0.006
Stream size                              : 2.11 MiB (8%)
Default                                  : No
Alternate group                          : 1
Encoded date                             : 2024-03-27 18:44:16 UTC
Tagged date                              : 2024-03-27 18:44:16 UTC
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
Codec configuration box                  : hvcC+dvcC

Audio
ID                                       : 3
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : ac-3
Duration                                 : 1 min 0 s
Bit rate mode                            : Constant
Bit rate                                 : 64.0 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 469 KiB (2%)
Language                                 : English
Service kind                             : Complete Main
Default                                  : Yes
Alternate group                          : 2
Encoded date                             : 2024-03-27 18:44:16 UTC
Tagged date                              : 2024-03-27 18:44:16 UTC
AC3_metadata cmixlev                     : -3.0 dB
 surmixlev                               : -6 dB

DT DL is not supported due to a Kodi limitation.

I see, although I’m sure, but on s905x2 I had VC1 running on 18 and some 19 versions of CE.
What about 3d MVC. Is it realistic to implement?
I checked, currently CE can output SBS and OU. and hdfury writes that the output is in 3d mode. But mvc does not output, it seems to me because the window output mode is set to fullHD and 1920*2160 options are not allowed as they should be.

Here is the capture, and you can see that the 3d MVC image is rendered as 1920 by 2160. But CE does not have this output option. Maybe that’s not the case of course, but maybe these screens will help to understand.

P.S. I see that CE sees only the main AVC stream, the second MVC does not see. I wonder if it’s still realistic to get it enabled, since S922 definitely supports MVC



3D is dead since a few years for home cinema. New TVs even do not support this option anymore.

My AM6+ is in transit so hopefully I’ll be able to start testing any day.

Just so I don’t have to scroll through pages trying to find it, does anyone have a simple set of instructions in how to get CE20/21 onto it etc?

still a lot of projector owners and old TV’s and 3d is still coming out, new releases are coming out.
I was just approached by such fans of 3d. That if there is a possibility to realize 3d mvc.
So it would be interesting if it would be possible to implement. So that am6b plus can become a universal player :slight_smile:

1 Like

I know that os_mc does not include their code, but it seems that they’re using the native framepacking support because of the line
/sys/module/amvideo/parameters/framepacking_support

inux-amlogic has a parameter called framepacking in linux-amlogic found in video.c and there seems to be lots of code there for doing framepacking. Maybe this can be leveraged for 3D support?

Status is not changed, it get even more down.
Someone can try to get it work and make finally a PR.

Reddit guide is by far the best

https://www.reddit.com/r/PleX/comments/1ajszn9/remux_lovers_rejoice_the_coreelec_team_has/

Stupid question, but do i need to have android installed on am6+ or can i just migrate coreelec to a single install?

I still have a 3D Panasonic plasma tv and remember when CE devs were trying to build up a CE 3d version. This is the last I have found in my archive:

If this can help, I also would like the Ugoos to support mvc.

2 Likes

You have to supply your own dovi.ko due to an architectural mismatch with whatever vendor supplied module is present on the Android firmware.

Therefore I don’t think the Android firmware is required to keep anymore if you’re running CoreELEC?

Another vote for 3D here. I have over 500 titles. Would be great to have even with AmLogic’s MVC decoder having a bug they know about but won’t fix… affects Vero 4K/4K+ & V. A handful of titles exhibit macroblocking.

In case anyone else wonders, I figured out that the Ugoos build (-ng) still uses arm as the name of the image implies, so I restored the backup from my N2+ and everything seems to be working fine.