1080P 25/50 fps plays jerky Vero V

Have you considered my point, though? I’m not sure I understand the logic of it but on other platforms and on OSMC atm users will not get, say, 576p when their GUI is 1080p and there’s no whitelist. Just saying if we change that users with other devices and our users that have never dabbled with a whitelist could get confused.

@tanio99 Yeah, I have to agree with Graham on this one - if there’s no whitelist you don’t want to switch to a lower output resolution. So if the desktop UI is 1080p, you don’t want to be switching to 720p, 576p or 480p.

At the risk of expanding the scope here, if you are tinkering with non-whitelist logic, you might also consider allowing it to switch resolution up even there’s no exact resolution match. For example, if the video is 2560x1440, it should probably upscale that to 2160p instead of downscaling to 1080p (which is what it does at the moment). And keep an eye on what happens if there’s a match in only one direction, e.g. if the video is something like 3840x1636, and on weird cases like a video in portrait orientation.

You’re both right. I didn’t consider that. So it needs a more sophisticated solution.

Isn’t that something that should be implemented by the Kodi devs?

I think so. We don’t want to go too wild with whitelisting downstream.

Something we could work on for Kodi v22.

If by that you mean that you’ve managed to get 1080p/25fps videos playing smoothly with the output resolution set to 1080p/50Hz, that’s something I’d very much like to test. :slight_smile:

This will be in the next update and is in staging.

I did initially plan to only get this fix from @tanio99 in for v21 but as there were a few other issues to clean up I plan to do another build to roll things up.

Do give it a go.

Cheers

Sam

1 Like

So, @grahamh - you remember that work you did on deinterlacing of VC-1 videos a while back? You got the cadence detection on the Auto-select option working very nicely, but in the end you had to make Deinterlace the default, because the Auto-select option gave jerky playback on frame-interlaced material output at 50Hz. (And the field-interlaced sections have to be output at 50Hz).

If 25fps stuff can finally be output at 50Hz without any jerkiness problems, that probably means that it’s now to safe to make Auto-select the default option for 1080i/50 VC-1 videos. Maybe you should change that?

(If it were me I would keep Deinterlace as the default for 1080i/60 VC-1 though).

It still does. Planet Earth is a stutterfest with that option. I think this latest tweak was aimed at h264 which what the OP uploaded for us.

Running a test build that contains Tanio’s changes, that clip played smoothly five times in a row, with deinterlacing set to Auto-select and output at 50Hz. It’s always possible the sixth time would have stuttered, I guess! My 60Hz test clips didn’t look so good, though.

@sam_nazarko - does today’s software update contain this change?

1 Like

Yes.

1 Like

Hi, Just to bump as having a similar issue with 1080p/50. Seems to be a few issues as the recap at the start of the episode seems to be at a different frame rate and then when the episode proper starts the display loses sync - changing adjust refresh rate start/stop & always does not help. I have also tried with 25 & 50 whitelisted on/off and allow doubte rates on/off but nothing consistently works. ANything else I can try?

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L4
Format settings                          : CABAC / 2 Ref Frames
Format settings, CABAC                   : Yes
Format settings, Reference frames        : 2 frames
Format settings, GOP                     : M=3, N=50
Codec ID                                 : V_MPEG4/ISO/AVC
Duration                                 : 51 min 14 s
Bit rate mode                            : Constant
Bit rate                                 : 6 000 kb/s
Width                                    : 1 920 pixels
Height                                   : 1 080 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.116
Stream size                              : 2.11 GiB (98%)
Default                                  : Yes
Forced                                   : No

Just to say I tried it on Kodi on my Xbox SX. Fresh install so no whitelist set up and plays perfectly - player upsclaed it to 4k/50. Tried it on LG TV builit inplayer and works fine as well.

Tried disabling all whitelists on V and it’s still borked.

Yes, please, provide logs.

Here you go. First with no whitelist, then with whitelist and pulldown and double refresh rates enabled and lastly with no double refresh rates. Doesn’t work in any of these.

https://paste.osmc.tv/itokiqafic

Can you provide a short video clip which demonstrate the issue?
Your system seems to be very customized with Arctic skin, I count 13 virtual network interfaces, docker, Trakt, etc. all showing some activities when you play a video.

I can grab a video on my phone if that will suffice.

Possibly so but everything else plays fine and memory is 60ish percent - nothing untoward that I can see

Sorry for the delay. This is with double refresh rates on - choppy playback then loses sync

https://1drv.ms/v/c/287d09b35f802abc/EZpLWqRZgJdHgYdO3QrpG9cBQAVp2CO0N5rhqMl903j-sQ?e=3zylAk

[  215.366553] vidioc_qbuf skip: index:1868:1867
[  215.409546] vidioc_qbuf skip: index:1870:1869
[  215.446712] vidioc_qbuf skip: index:1872:1871
[  215.486641] vidioc_qbuf skip: index:1874:1873
[  215.528812] vidioc_qbuf skip: index:1876:1875
[  215.566820] vidioc_qbuf skip: index:1878:1877
[  215.726271] vidioc_qbuf skip: index:1882:1881
[  215.766435] vidioc_qbuf skip: index:1884:1883
[  215.806693] vidioc_qbuf skip: index:1886:1885
[  215.846391] vidioc_qbuf skip: index:1888:1887
[  215.886855] vidioc_qbuf skip: index:1890:1889
[  215.927063] vidioc_qbuf skip: index:1892:1891
[  215.966361] vidioc_qbuf skip: index:1894:1893
[  216.006452] vidioc_qbuf skip: index:1896:1895
[  216.046299] vidioc_qbuf skip: index:1898:1897
[  216.086581] vidioc_qbuf skip: index:1900:1899
[  216.128380] vidioc_qbuf skip: index:1902:1901
[  216.166361] vidioc_qbuf skip: index:1904:1903
[  216.206357] vidioc_qbuf skip: index:1906:1905
[  216.246502] vidioc_qbuf skip: index:1908:1907
[  216.286400] vidioc_qbuf skip: index:1910:1909
[  216.326393] vidioc_qbuf skip: index:1912:1911
[  216.366464] vidioc_qbuf skip: index:1914:1913
[  216.406725] vidioc_qbuf skip: index:1916:1915
[  216.446752] vidioc_qbuf skip: index:1918:1917
[  216.486593] vidioc_qbuf skip: index:1920:1919
[  216.526514] vidioc_qbuf skip: index:1922:1921
[  216.566643] vidioc_qbuf skip: index:1924:1923
[  216.608574] vidioc_qbuf skip: index:1926:1925
[  216.646451] vidioc_qbuf skip: index:1928:1927
[  216.686349] vidioc_qbuf skip: index:1930:1929
[  216.726542] vidioc_qbuf skip: index:1932:1931
[  216.766322] vidioc_qbuf skip: index:1934:1933
[  216.807660] vidioc_qbuf skip: index:1936:1935
[  216.846419] vidioc_qbuf skip: index:1938:1937
[  216.886312] vidioc_qbuf skip: index:1940:1939
[  216.926855] vidioc_qbuf skip: index:1942:1941
[  216.967936] vidioc_qbuf skip: index:1944:1943
[  217.006350] vidioc_qbuf skip: index:1946:1945
[  217.046722] vidioc_qbuf skip: index:1948:1947
[  217.086430] vidioc_qbuf skip: index:1950:1949
[  217.126570] vidioc_qbuf skip: index:1952:1951
[  217.166850] vidioc_qbuf skip: index:1954:1953
[  217.208519] vidioc_qbuf skip: index:1956:1955
[  217.246572] vidioc_qbuf skip: index:1958:1957
[  217.286332] vidioc_qbuf skip: index:1960:1959
[  217.326523] vidioc_qbuf skip: index:1962:1961
[  217.366332] vidioc_qbuf skip: index:1964:1963
[  217.407344] vidioc_qbuf skip: index:1966:1965
[  217.446616] vidioc_qbuf skip: index:1968:1967
[  217.488019] vidioc_qbuf skip: index:1970:1969
[  217.526347] vidioc_qbuf skip: index:1972:1971
[  217.606445] vidioc_qbuf skip: index:1975:1974
[  217.646629] vidioc_qbuf skip: index:1977:1976
[  217.688599] vidioc_qbuf skip: index:1980:1979
[  217.766560] vidioc_qbuf skip: index:1983:1982
[  217.806614] vidioc_qbuf skip: index:1985:1984
[  217.846401] vidioc_qbuf skip: index:1987:1986
[  217.886263] vidioc_qbuf skip: index:1989:1988
[  217.927321] vidioc_qbuf skip: index:1992:1991
[  217.966952] vidioc_qbuf skip: index:1994:1993
[  218.007616] vidioc_qbuf skip: index:1996:1995
[  218.048592] vidioc_qbuf skip: index:1998:1997
[  218.126375] vidioc_qbuf skip: index:2001:2000
[  218.168452] vidioc_qbuf skip: index:2004:2003
[  218.246540] vidioc_qbuf skip: index:2007:2006
[  218.288398] vidioc_qbuf skip: index:2010:2009
[  218.367176] vidioc_qbuf skip: index:2014:2013
[  218.409584] vidioc_qbuf skip: index:2016:2015
[  218.486350] vidioc_qbuf skip: index:2019:2018
[  218.526815] vidioc_qbuf skip: index:2022:2021
[  218.606881] vidioc_qbuf skip: index:2026:2025
[  218.686343] vidioc_qbuf skip: index:2029:2028
[  218.726454] vidioc_qbuf skip: index:2031:2030
[  218.768768] vidioc_qbuf skip: index:2034:2033
[  218.846311] vidioc_qbuf skip: index:2037:2036
[  218.886649] vidioc_qbuf skip: index:2039:2038
[  218.926322] vidioc_qbuf skip: index:2041:2040
[  218.966369] vidioc_qbuf skip: index:2043:2042
[  219.007155] vidioc_qbuf skip: index:2045:2044
[  219.046699] vidioc_qbuf skip: index:2047:2046

What happens if you disable whitelisting?

Sam

Black screens, Sam. I tried it with it on / off/ double refresh rate on/off. All should be in the log.

The log only shows one playback attempt.
Maybe a new log will give some insight.

As an aside, how is that drive powered?

Sam