• 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 31
Kodi + Shield + Dolby Vision
(2020-12-24, 01:11)hoppel118 Wrote: Hi @fandangos,

I am still having sporadic problems with movies (P7 FEL and P7 Mel) not starting. I see the Kodi spinning wheel. But I recognized that it's always possible to start the P81 file from the makeMKV testfiles. It also "repairs" a faulty P7 FEL/MEL start. You do not need to restart Kodi or the Shield, if you start this file. After that you can start a P7 file again. If the P7 FEL / MEL file doesn't start, start the P81 file again.  

https://www.makemkv.com/download/dvtest/

Maybe this helps to find a relevant difference... What do you think about it?

My hardware / software:
 
  • Nvidia Shield 2019 Pro: 8.2.1
  • LG OLED65C97LA: 05.00.10
  • Sonos Arc: 12.2.2

  • Kodi: kodiapp-arm64-v8a-debug-dhv1-v2.apk

My Kodi settings
 
  • Settings - Player - Videos - Adjust display refresh rate -> On start / stop
  • Settings - System - Display - Resolution 3840x2160p
  • Settings - System - Display - Refresh Rate -> 50.00
  • Settings - System - Display - Delay after change of refresh rate -> 1.0 seconds (also tried 4 seconds, makes no difference)
  • Settings - System - Display - Whitelist:
    -> 3840x2160p 60.00Hz
    -> 3840x2160p 59.94Hz
    -> 3840x2160p 50.00Hz
    -> 3840x2160p 24.00Hz
    -> 3840x2160p 23.98Hz
    -> 1920x1080p 120.00Hz
    -> 1920x1080p 60.00Hz
    -> 1920x1080p 59.94Hz
    -> 1920x1080p 50.00Hz
    -> 1920x1080p 24.00Hz
    -> 1920x1080p 23.98Hz
  • Settings - System - Display - Allow double refresh rates -> activated
  • Settings - System - Audio - Number of channels -> 5.1
  • Settings - System - Audio - Allow passthrough -> activated
  • Settings - System - Audio - Allow passthrough:
    -> AC3
    -> E-AC3
    -> True-HD
    -> My Sonos Arc doesn't support DTS or DTS-HD, but it gives me PCM/LPCM instead.


Do you see any configuration mistake? What is different to your configuration? What do I miss?


I recognized another issue. With the latest Kodi master Dolby Vision mp4 files work as expected, but with your build the colors are wrong. 

Regards Hoppel


It would be a good idea to test if amc-hevc is needed for some dolby vision files, and amc-dvh1 for others, or even dvhe. 

The idea would be having 3 different builds, (you can find 2 of mine one with amc-hevc and one with amc-dvh1) and do the following:
Play the all the dv files you use for testing and take note. 
Do the same with amc-dvh1. 

If a Dolby Vision profile makes a difference we can separate those. 

Now about mp4, this really should not happen. There's an if statement that holds it all:
if (m_bMatroska)
This declares everything, so the MKBETAG for Dolby Vision is only declared after it, and selecting the renderer happens only with the MKBETAG. 

So, unless this has something to do with FFmpeg (which shouldn't) I don't see how this affects mp4. 

It would be a good idea to check if other builds show the same problem. 
Also I would avoid whitelisting resolutions, unless you have some fancy upscaling equipement like the Envy.
@fandangos and @sk83 can you give us new apks with different app names. It’s hard to differentiate between all the apps with the same name „kodi“. Wink

For example:

• Kodi Leia dvh1
• Kodi Matrix dvh1
• Kodi Matrix hevc

@fandangos Did you check my configuration? Do you see any mistake or something I miss?

I will check if the hevc app also has the mp4 color problem. @sk83 test build also gives wrong colors, if you play a mp4 test file.

By the way... mp4 test files can be found here:

https://www.demolandia.net/4k-video-test...age-1.html

@sk83 I downloaded your latest build and tested it with the same Kodi configuration and the same testing procedure:

• start / stop P7 FEL file
• start / stop P7 MEL file
-> if one file starts faulty (Kodi spinning wheel comes up), I start the P81 test file. After that you can start the P7 file again.

I use the mkv test files from here: https://www.makemkv.com/download/dvtest/

Regards Hoppel
frontend: nvidia shield tv 2019 pro | apple tv 4k | sonos arc 5.1.2 | lg oled65c97la
backend: supermicro x11ssh-ctf | xeon | 64gb ecc | wd red | zfs raid-z2 | dd max s8

software: debian | proxmox | openmediavault | docker | kodi | emby | tvheadend | fhem | unifi
You should really be testing a profile 5 file, because the metadata is necessary to display properly.
Like I mentioned before, @peak3d did say a while back that using ffmpeg as a demuxer wouldn't work for Dolby Vision.
Ok, I found the issue with the mp4 files. Sorry for the irritation. The only thing changed at my setup in the last time was a firmware update of my LG C9.

So I tried to disable/enable „Dolby Vision“ in the Shield Android settings and it worked. Now the colors are beautiful again (for the mp4 files).

But this changed nothing for the P7 files. Sometimes I get the spinning wheel. Let me know, if you need logs.

@quietvoid The colors of a P5 profile mkv file look like the mp4 files looked some minutes ago (mainly purple/green). How do the colors look for you?

I am away for today. Bye
frontend: nvidia shield tv 2019 pro | apple tv 4k | sonos arc 5.1.2 | lg oled65c97la
backend: supermicro x11ssh-ctf | xeon | 64gb ecc | wd red | zfs raid-z2 | dd max s8

software: debian | proxmox | openmediavault | docker | kodi | emby | tvheadend | fhem | unifi
Summary:

Regardless of the build (matrix dvh1/hevc, leia)

• no starting problems with all the mp4 test files (I don’t know the profiles)
• no starting problems with the P81 mkv test file (it repairs faulty P7 starts)
• sporadic starting problems with P7 FEL / P7 MEL mkv test files
• horrible colors with the P5 mkv test file

Bye
frontend: nvidia shield tv 2019 pro | apple tv 4k | sonos arc 5.1.2 | lg oled65c97la
backend: supermicro x11ssh-ctf | xeon | 64gb ecc | wd red | zfs raid-z2 | dd max s8

software: debian | proxmox | openmediavault | docker | kodi | emby | tvheadend | fhem | unifi
(2020-12-24, 01:40)sk83 Wrote:
(2020-12-23, 22:41)blackreign66 Wrote:
(2020-12-23, 16:11)sk83 Wrote: 👍 Good! I'm having a problem where high bitrate DV MKVs stop playing after a minute or so, especially when resuming. I'm unsure if this is the build or my network. Have you experienced this problem?
Yeah yesterday it was working fine, but today I'm having playback issues. Some play and some don't, but it's very random. Is the timeout increased in this version?

Try this one. Timeout for dequeueInputBuffer and dequeueOutputBuffer is set to 15000.

https://ufile.io/ltzjmrak
Tried it and pretty much the same results as before with sporadic playback.
Display: LG OLED77C9 | A/V Receiver: Denon AVR-X4500H | 2019 Nvidia Shield Tv Pro | Apple TV 4K | 2017 Roku Ultra | HTPC | Game PC | PS5 
(2020-12-24, 01:40)sk83 Wrote:
(2020-12-23, 22:41)blackreign66 Wrote:
(2020-12-23, 16:11)sk83 Wrote: 👍 Good! I'm having a problem where high bitrate DV MKVs stop playing after a minute or so, especially when resuming. I'm unsure if this is the build or my network. Have you experienced this problem?
Yeah yesterday it was working fine, but today I'm having playback issues. Some play and some don't, but it's very random. Is the timeout increased in this version?

Try this one. Timeout for dequeueInputBuffer and dequeueOutputBuffer is set to 15000.

https://ufile.io/ltzjmrak

Looks good.
is this working on sony android tv?
Try it and we will know it! Wink
Hi,
It does not work on my shield tube . Is it only for the shield pro (64 bit)
Thanks in advance
(2020-12-24, 03:35)hoppel118 Wrote: • horrible colors with the P5 mkv test file

Which Kodi version are you testing with? I tested the P5_Dolby_Amaze mkv file with @fandangos latest Jenkins build (kodi-20201222-c43636da-master-arm64-v8a) and the file played beautifully on my Philips 48OLED935, showing the "Dolby Vision" logo at the start of playback.

@quietvoid Thanks for the clarification regarding the P5 profile. This way we have a good way to test if the DV metadata is actually being used Smile
(2020-12-24, 01:11)hoppel118 Wrote: ...
My Kodi settings

...
  • Settings - System - Display - Delay after change of refresh rate -> 1.0 seconds (also tried 4 seconds, makes no difference)
  • Settings - System - Display - Whitelist:
    -> 3840x2160p 60.00Hz
    -> 3840x2160p 59.94Hz
    -> 3840x2160p 50.00Hz
    -> 3840x2160p 24.00Hz
    -> 3840x2160p 23.98Hz
    -> 1920x1080p 120.00Hz
    -> 1920x1080p 60.00Hz
    -> 1920x1080p 59.94Hz
    -> 1920x1080p 50.00Hz
    -> 1920x1080p 24.00Hz
    -> 1920x1080p 23.98Hz
  • Settings - System - Display - Allow double refresh rates -> activated
  • ...

Thanks for your great tutorial  Blush

1. unfortunately the settings listed above are not present in any of the above Kodi images.
Where can I find them?
2. @sk83 last image kodiapp-arm64-v8a-timeout-15k.apk has only english language.
I have first kodiapp-arm64-v8a.apk then on the new upgadatet, then you can reinstall everything again.
3. should I now uninstall/deactivate the APP "Automatic Refresh Rate"?
4. which resolution should I set in Nvidia Shleld?
Is 4K 59,920 Hz Dolby Vision and HDR10 ok?

Thanks
Tenker
(2020-12-24, 12:40)Tenker Wrote:
(2020-12-24, 01:11)hoppel118 Wrote: ...
My Kodi settings

...
  • Settings - System - Display - Delay after change of refresh rate -> 1.0 seconds (also tried 4 seconds, makes no difference)
  • Settings - System - Display - Whitelist:
    -> 3840x2160p 60.00Hz
    -> 3840x2160p 59.94Hz
    -> 3840x2160p 50.00Hz
    -> 3840x2160p 24.00Hz
    -> 3840x2160p 23.98Hz
    -> 1920x1080p 120.00Hz
    -> 1920x1080p 60.00Hz
    -> 1920x1080p 59.94Hz
    -> 1920x1080p 50.00Hz
    -> 1920x1080p 24.00Hz
    -> 1920x1080p 23.98Hz
  • Settings - System - Display - Allow double refresh rates -> activated
  • ...

Thanks for your great tutorial  Blush

1. unfortunately the settings listed above are not present in any of the above Kodi images.
Where can I find them?
2. @sk83 last image kodiapp-arm64-v8a-timeout-15k.apk has only english language.
I have first kodiapp-arm64-v8a.apk then on the new upgadatet, then you can reinstall everything again.
3. should I now uninstall/deactivate the APP "Automatic Refresh Rate"?
4. which resolution should I set in Nvidia Shleld?
Is 4K 59,920 Hz Dolby Vision and HDR10 ok?

Thanks
Tenker

Try to change to expert level in the kodi settings. I guess you will find the missing ones then.

But to be honest i wouldn't just copy settings from other people.
For example i you want to use the ai upscaling all the time you cannot use this whitelist because 1080p content won't be upscaled in the shield. Instead the tv is doing the upscaling in this case.
I don't say this is a bad thing, it depends on if the shield or the tv is the better upscaler. But if the tv is the better upscaler i would also whitelist the lower resolutions, otherwise the shield will do the upscaling.
At lease this is how i understood how the upscaling works...

Because of the languages - you can always install another languages in the settings menu.

My shield is on 4k 59.97hz HDR10 mode(standard res) and this works with dolby vision as well in the emby app. I didn't try these Kodi DV builds yet but it shouldn't make any difference.

For refresh rate changes in kodi you don't need an extra app. Just set it at start/stop in the kodi settings.
(2020-12-24, 03:15)hoppel118 Wrote: @quietvoid The colors of a P5 profile mkv file look like the mp4 files looked some minutes ago (mainly purple/green). How do the colors look for you?
They look green and purple for me too, as Dolby Vision isn't triggered.
If I force my device into Dolby Vision mode, it looks the same as without.

If you don't see the same colors in mp4 and mkv, then it would mean the video isn't being processed and displayed properly.
You can always compare the color in ExoPlayer if you're uncertain.
(2020-12-24, 17:26)quietvoid Wrote:
(2020-12-24, 03:15)hoppel118 Wrote: @quietvoid The colors of a P5 profile mkv file look like the mp4 files looked some minutes ago (mainly purple/green). How do the colors look for you?
They look green and purple for me too, as Dolby Vision isn't triggered.
If I force my device into Dolby Vision mode, it looks the same as without.

If you don't see the same colors in mp4 and mkv, then it would mean the video isn't being processed and displayed properly.
You can always compare the color in ExoPlayer if you're uncertain.

What do you mean with "it looks the same as without"?

I played the P5 mkv file with both ExoPlayer and fandagos' latest Jenkins build and they look exactly the same on my Philips 48OLED935. DV is automatically triggered with both as well.

Are you saying you cannot get that file to play with the proper colors using any of the test builds?
  • 1
  • 9
  • 10
  • 11(current)
  • 12
  • 13
  • 31

Logout Mark Read Team Forum Stats Members Help
Kodi + Shield + Dolby Vision0