trying to force output of 24 refresh rate on videos
#1
Hi,
I'm trying to make 23.970 fps to output at 24hz refresh rate. I have made this advancedsetting.xml file.
<advancedsettings>
    <video>
        <adjustrefreshrate>
              <override>
                   <fpsmin>23.900</fpsmin>
                   <fpsmax>23.999</fpsmax>
                   <refreshmin>24.000</refreshmin>
                    <refreshmax>24.000</refreshmax>
               </override>
        </adjustrefreshrate>
    <video>    
</advancedsettings> 
In log file there is an error
2022-03-07 10:24:12.889 T:3123     INFO <general>: loading settings
2022-03-07 10:24:12.906 T:3123     INFO <general>: special://profile/ is mapped to: special://masterprofile/
2022-03-07 10:24:12.924 T:3123     INFO <general>: No settings file to load (special://xbmc/system/advancedsettings.xml)
2022-03-07 10:24:12.956 T:3123    ERROR <general>: Error loading special://profile/advancedsettings.xml, Line 12
                                                   Error reading end tag.
2022-03-07 10:24:12.956 T:3123     INFO <general>: Default Video Player: VideoPlayer
I'm running ubuntu 21.10 with xorg not wayland, kodi 19.4. Kodi settings refresh rate is start/stop delay 1 sec. When playing the video it is showing a 23.970 fps video when hitting "o" key. When hitting "z" key it shows 60 refresh rate. My desktop display setting is 1920/1080 60hz. Do you need a complete log file?

thanks
jim
Reply
#2
Mybe you should try something like this:

Code:
    <adjustrefreshrate>
      <override>
        <fpsmin>23.00</fpsmin>
        <fpsmax>23.98</fpsmax>
        <refresh>23.976</refresh>
      </override>
      <override>
        <fpsmin>24.00</fpsmin>
        <fpsmax>24.40</fpsmax>
        <refresh>24.00</refresh>
      </override>
      <override>
        <fpsmin>24.50</fpsmin>
        <fpsmax>26.00</fpsmax>
        <refresh>25.00</refresh>
      </override>
      <override>
        <fpsmin>29.50</fpsmin>
        <fpsmax>29.98</fpsmax>
        <refresh>29.97</refresh>
      </override>
      <override>
        <fpsmin>30.00</fpsmin>
        <fpsmax>31.00</fpsmax>
        <refresh>30.00</refresh>
      </override>
      <override>
        <fpsmin>49.90</fpsmin>
        <fpsmax>51.00</fpsmax>
        <refresh>50.00</refresh>
      </override>
      <fallback>
        <refresh>60.00</refresh>
      </fallback>
    </adjustrefreshrate>
Kodi 21.0α | Ubuntu 22.04.3 | Kernel 6.4.x | intel i5-12600K | Gigabyte Z690 Gaming X DDR4 | Corsair 2x8192MB (DDR4-3200) | HDPlex H5v2 | HDPlex 400W HiFi DC-ATX | Pioneer VSX-934 | LG 65B7D
Reply
#3
Is that exactly what is in your advancedsettings.xml?  If it is exactly as posted, you forgot the "/" in the closing <video> tag (second last line).

In case it doesn't work, take a look at section 1 of wiki entry.  I'm not positive if it matters, but you are missing version="1.0" portion in the opening <advancedsettings> tag.  But I am being literal when reading the wiki.

Also, I think you might be able to get rid of the <refreshmin> and <refreshmax> and just replace with <refresh>24.0</refresh>.
HP Stream Mini w/Libreelec -> HDMI -> Toshiba 37"
Intel NUC8i3BEH w/Libreelec -> HDMI -> LG OLED55C3PUA -> S/PDIF -> Sony HT-CT80
Dell Optiplex 7050 Micro w/Libreelec -> HDMI -> Yamaha RX-V467 -> HDMI -> Toshiba 47L7200U
Reply
#4
Hi,
I finally got the advancedsettings.xml to register properly. When i check the log file the error is gone and the advancedsettings are listed correctly. I did discover that if i make the .xml file and open it the web browser it tells me were to look for structural errors. once all the errors are gone then it just shows the complete xml file, which then worked in kodi. I did find were some else had some problems with structure and the kodi guy said the version didnt mater, if i put it in though then the error would go away.
So I think i need some general information on .xml files. This is from my guisettings.xml.
<setting id="weather.currentlocation" default="true">1</setting>
    <setting id="weather.addon" default="true" />
    <setting id="videoscreen.monitor" default="true">Default</setting>
    <setting id="videoscreen.screen" default="true">0</setting>
    <setting id="videoscreen.resolution">23</setting>
    <setting id="videoscreen.screenmode" default="true">DESKTOP</setting>
    <setting id="videoscreen.fakefullscreen" default="true">true</setting>
    <setting id="videoscreen.blankdisplays" default="true">false</setting>
    <setting id="videoscreen.delayrefreshchange">10</setting>
For example on the videoscreen resolution line the number 23, what does that mean? Is there some place that can list what a number for that line means. I would think these number are specific to Kodi and are not a universal number from any xml file. Some lines to me are self explanatory but others I'd like to know the meaning.

thanks
jim
Reply
#5
When trying to change refreshrate with start/stop and advancedsettings.xml, does the fps/refreshrate have any correlation with the resolution.
Reply
#6
(2022-03-15, 17:36)jdefed Wrote: does the fps/refreshrate have any correlation with the resolution.

I'd say no. You can have lots of video resolutions and all can be at 23.976 or 24 or 25 fps.
Reply
#7
What actually is the controlling factor for the output resolution/fps? If the gui resolution is only for the gui, does the desktop resolution/fps control the output of the hdmi to the tv.
Reply

Logout Mark Read Team Forum Stats Members Help
trying to force output of 24 refresh rate on videos0