Kodi Community Forum

Full Version: Kodi Android build with support for Dolby Vision MKV
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Are there 2 32 bit versions? Which advice?

https://ibb.co/5Wyx561
Yes, one is probably for Matrix and the other is probably for Nexus. Put the cursor over the "Download" button to see full name of the file for identification.
One matrix
One nexus

Which choose?
What is the difference?
I have a Dolby Vision FEL Profile 7 sample file (BL_EL.mkv) from https://mega.nz/folder/drYRlALT#fbRfBAdVE88fmoLdXoAVJQ.
I tried many DV Kodi android builds but my device "Ugoos AM6 Plus" cannot play it smoothly. Playback freeze after about 2 seconds just when Dolby Vision icon appear on LG C2 tv.
I was able to play it perfectly using Nova Video Player or vendor provided UPlayer android app.

Can you try playback this file on your NVidia Shield device using your working Kodi DV build?

For developers: I dumped the stream data which Nova player sends to the decoder, observed the difference with Kodi, adjusted Kodi code to produce the same steam data but anyway the freeze didn't go away.
I tried latest Kodi master (with FFmpeg5) + this fix for DV detection https://github.com/xbmc/xbmc/compare/mas...dv-android

From the logs I observe that Kodi fills in all decoder input buffers and decoder cannot release them even if output buffers were consumed.
(2023-01-07, 16:33)[email protected] Wrote: [ -> ]I have a Dolby Vision FEL Profile 7 sample file (BL_EL.mkv) from https://mega.nz/folder/drYRlALT#fbRfBAdVE88fmoLdXoAVJQ.
I tried many DV Kodi android builds but my device "Ugoos AM6 Plus" cannot play it smoothly. Playback freeze after about 2 seconds just when Dolby Vision icon appear on LG C2 tv.
I was able to play it perfectly using Nova Video Player or vendor provided UPlayer android app.

Can you try playback this file on your NVidia Shield device using your working Kodi DV build?

All 4 files smoothly played (no freeze) on shield tv pro with the latest kodinerds maven build. (But as you know shield tv cannot process dv fel. Does ugoos process fel with kodi build using ffmpeg 5.1.2?)
(2023-01-07, 17:44)masonlee Wrote: [ -> ]
(2023-01-07, 16:33)[email protected] Wrote: [ -> ]I have a Dolby Vision FEL Profile 7 sample file (BL_EL.mkv) from https://mega.nz/folder/drYRlALT#fbRfBAdVE88fmoLdXoAVJQ.
I tried many DV Kodi android builds but my device "Ugoos AM6 Plus" cannot play it smoothly. Playback freeze after about 2 seconds just when Dolby Vision icon appear on LG C2 tv.
I was able to play it perfectly using Nova Video Player or vendor provided UPlayer android app.

Can you try playback this file on your NVidia Shield device using your working Kodi DV build?

All 4 files smoothly played (no freeze) on shield tv pro with the latest kodinerds maven build. (But as you know shield tv cannot process dv fel. Does ugoos process fel with kodi build using ffmpeg 5.1.2?)
Strange, I tested kodinerds maven build Kodi 20 from https://www.kodinerds.net/index.php/Thre...r-Android/ v7 version and BL_RPU.mkv file plays as HDR (no RPU layer played, it is not flickering after 26 seconds) but it should be played as Dolby Vision.

Ugoos can play DV FEL (BL_EL.mkv) showing all three layers (BL, EL, RPU) see readme.txt description how to observe this, but only using Nova Video Player or vendor provided UPlayer android app.
With Kodi it freezes after 2 seconds.
(2023-01-07, 18:12)[email protected] Wrote: [ -> ]Strange, I tested kodinerds maven build Kodi 20 from https://www.kodinerds.net/index.php/Thre...r-Android/ v7 version and BL_RPU.mkv file plays as HDR (no RPU layer played, it is not flickering after 26 seconds) but it should be played as Dolby Vision.

Ugoos can play DV FEL (BL_EL.mkv) showing all three layers (BL, EL, RPU) see readme.txt description how to observe this, but only using Nova Video Player or vendor provided UPlayer android app.
With Kodi it freezes after 2 seconds.
Ok I've tested Maven's kodinerds build from https://repo.kodinerds.net/index.php?act...meabi-v7a) and on Ugoos AM6 Plus BL_RPU and BL_EL files are played as Dolby Vision, but BL_EL.mkv still stops after 3 seconds of playback.
(2023-01-07, 18:37)[email protected] Wrote: [ -> ]but BL_EL.mkv still stops after 3 seconds of playback.

Many ugoos users have confirmed that kodi dv builds are unstable for dv fel.
The kodi nightlies are now using ffmpeg 5.1.2, I hope stable official build release for ugoos. But it is not clear whether it is a kodi problem or a ugoos firmware problem.
You may report this to xbmc github so that they may give an answer.
As of this commit, support for Dolby Vision in .mkv is officially in Kodi, slated for Omega alpha 1. The next nightly built from master should contain it.

(2023-01-07, 16:33)[email protected] Wrote: [ -> ]I have a Dolby Vision FEL Profile 7 sample file (BL_EL.mkv) from https://mega.nz/folder/drYRlALT#fbRfBAdVE88fmoLdXoAVJQ.
I tried many DV Kodi android builds but my device "Ugoos AM6 Plus" cannot play it smoothly. Playback freeze after about 2 seconds just when Dolby Vision icon appear on LG C2 tv.
I was able to play it perfectly using Nova Video Player or vendor provided UPlayer android app.

For developers: I dumped the stream data which Nova player sends to the decoder, observed the difference with Kodi, adjusted Kodi code to produce the same steam data but anyway the freeze didn't go away.
I tried latest Kodi master (with FFmpeg5) + this fix for DV detection https://github.com/xbmc/xbmc/compare/mas...dv-android

From the logs I observe that Kodi fills in all decoder input buffers and decoder cannot release them even if output buffers were consumed.

Would you be able to submit a Github issue regarding this, and include your logs? The Ugoos AM6+ is one of the only devices that can properly process BL+EL at the same time, and it is very puzzling why FEL files can play without problem using the Android ExoPlayer (which is what the third party players such as Nova Video Player are using under the hood, I believe), although without Kodi's IEC packer it is unable to bitstream lossless audio, but in Kodi it is unstable and freezes/stutters.
As of today this thread is obsolete, Dolby Vision support on android for every file is up with this: https://github.com/xbmc/xbmc/commit/7523...bcb48df386

So, this thread can be removed from important list and maybe locked.
Unless people want to keep discussing specific hardware problems with Dolby Vision content.
Probably worth keeping this thread here until v21 Omega is released, as I guess people may not want to run a Nightly development build. However the current Nightly builds won't have deviated too much from Nexus yet, apart from the ffmpeg, so shouldn't be too different in stablity from the Stable v20 Nexus builds.
Hi, forgive me, I have tried the latest Nexus nightly and I cant get DV to work.    (Maven's latest Matrix works perfectly)

Can you advise which version works?  TIA!
Hi

Can you tell me which dev build works?  TIA!
As far as I know it will be in the next v21 master (so not out yet).
@vaggar01 To play Dolby vision in MKV files you either need Maven's build (https://www.kodinerds.net/index.php/Thre...Cr-Android) or the new Omega (Kodi 21) build that @fandangos just released:

https://forum.kodi.tv/showthread.php?tid=360250

This last build can also play blu-ray rips with full Java menu functionality.