Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Adjust Display Refresh Rate and Resolution no whitelist match
#1
Hello everyone,

I am using Kodi for a while now and never had a problem with it but this time I am not even sure if it is a problem or not.

My Kodi is set to 1920x1080 for convenience (most stuff in 1080p) but everything is capable of 3840x2160, so I am using the resolution whitelist (every single one is enabled) for that.
Adjust refresh rate is set to on Start/Stop and everything worked like a charm no problem what so ever. They always changed according to the source material.

But now I´ve got a few files in 3840x2160 @ 23,98 normally that is no problem because it is in the whitelist or at least I thought so.
Playback is stuttering and far from the experience, I´m used to.
A little investigation later, I found my TV on 1920x1080 and not 3840x2160 and after reading about how to get a debug log and how to read it, (at least a little bit) this is what I found:
Quote:    INFO: ffmpeg[29F3FFD4F0]:     Stream #0:0[0x1011]: Video: hevc (Main 10) (HDMV / 0x564D4448), yuv420p10le(tv, bt709), 3840x2160 [SAR 1:1 DAR 16:9], 23.98 fps, 47.95 tbr, 90k tbn, 23.98 tbc
2019-12-09 23:38:32.201 T:12684    INFO: ffmpeg[29F3FFD4F0]:     Stream #0:1[0x1100]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p
2019-12-09 23:38:32.201 T:12684    INFO: ffmpeg[29F3FFD4F0]:     Stream #0:2[0x1101]: Audio: dts (DTS-HD MA) ([134][0][0][0] / 0x0086), 48000 Hz, 5.1(side), s16p
2019-12-09 23:38:32.201 T:12684   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 0
2019-12-09 23:38:32.201 T:12684   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 1
2019-12-09 23:38:32.201 T:12684   DEBUG: CDVDDemuxFFmpeg::AddStream ID: 2
2019-12-09 23:38:32.201 T:12684  NOTICE: Opening stream: 0 source: 256
2019-12-09 23:38:32.201 T:12684  NOTICE: Whitelist search for: width: 3840, height: 2160, fps: 47.952, 3D: false
2019-12-09 23:38:32.201 T:12684   DEBUG: Trying to find exact refresh rate
2019-12-09 23:38:32.202 T:12684   DEBUG: No exact whitelisted resolution matched, trying double refresh rate
2019-12-09 23:38:32.202 T:12684   DEBUG: No double whitelisted resolution matched, trying 3:2 pullback
2019-12-09 23:38:32.203 T:12684   DEBUG: No 3:2 pullback refresh rate whitelisted resolution matched, trying current resolution
2019-12-09 23:38:32.203 T:12684   DEBUG: Current resolution doesn't match, trying default resolution
2019-12-09 23:38:32.203 T:12684   DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with double refreshrate
2019-12-09 23:38:32.203 T:12684   DEBUG: Default resolution doesn't provide reqired refreshrate, trying default resolution with 3:2 pullback
2019-12-09 23:38:32.204 T:12684   DEBUG: No whitelisted resolution matched
2019-12-09 23:38:32.204 T:12684  NOTICE: Display resolution ADJUST : 1920x1080 @ 59.940060 - Full Screen (22) (weight: 0.000)

I´m sorry for not using the paste function but I thought this (log) is not to long. (If you want I can copy it over, just let me know Angel)

As far as I can tell, Kodi is searching for the refresh rate of 47.952, which is the tbr of the (file) stream, but can´t find it because it is the double of the 23.98 fps shown in the stream and of course, it´s not in the whitelist.
So it sticks to the default resolution that Kodi is set to 1920x1080.

I found almost nothing regarding the tbr value only that this is some kind of refresh value that is calculated by reading the stream itself or embedded into it. Huh
It seems like Kodi uses this value to determine the refresh rate and not the fps value.
Same behavior in version 18.4 and 18.5.

So now I wonder is this intended? If so is there a way of changing the value it uses from tbr to fps? Or could I tell my Kodi to also check for the half of the refresh rate (it already checks the double)? Huh

I am almost sure this ends in: "There is nothing you can do your files are crap" but that would be very unfortunate.
So maybe I can do something.

Thank you very much for reading this long post and thanks in advice for any help.
Reply

Logout Mark Read Team Forum Stats Members Help
Adjust Display Refresh Rate and Resolution no whitelist match0