Kodi Community Forum

Full Version: Force Refresh Rates
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Guys, I'm playing with trying to force XBMC to use set refresh rates.

I want 25 FPS content play at 25 hz, not at 50 hz.

I've done the reading, http://wiki.xbmc.org/index.php?title=Use...3Cvideo.3E, but it doesn't seem to work.

I've create the the following file:
Code:
C:\Users\Matt\AppData\Roaming\XBMC\userdata\advancedsettings.xml


With this code:
Code:
<advancedsettings>
    <video>
        <adjustrefreshrate>
            <override>
                <fps>25.000</fps>
                <refresh>25.0</refresh>
            </override>
        </adjustrefreshrate>
    </video>
</advancedsettings>

Any thoughts as to why it still plays 25fps at 50hz?
Post a xbmc.log ... it shows all supported resolutions/refreshrates supported by your display. Mabye 25Hz is not reported as supported?
The log is too long for the forum. These bits that look important to me.

Code:
2:39:47 T:5536 M:2142334976  NOTICE:---
22:39:47 T:5536 M:2142322688  NOTICE: Starting XBMC, Platform: Windows 7, 64-bit (WoW) Service Pack 1 build 7601. Built on Mar  8 2011 (Git:e9e9099, compiler 1500)
22:39:47 T:5536 M:2142322688  NOTICE: Intel(R) Core(TM) i3-2100 CPU @ 3.10GHz
22:39:47 T:5536 M:2142322688  NOTICE: Desktop Resolution: 1920x1080 32Bit at 25Hz
22:39:47 T:5536 M:2142322688  NOTICE: Running with restricted rights
22:39:47 T:5536 M:2142322688  NOTICE: special://xbmc/ is mapped to: C:\Program Files (x86)\XBMC
22:39:47 T:5536 M:2142322688  NOTICE: special://xbmcbin/ is mapped to: C:\Program Files (x86)\XBMC
22:39:47 T:5536 M:2142322688  NOTICE: special://masterprofile/ is mapped to: C:\Users\Matt\AppData\Roaming\XBMC\userdata
22:39:47 T:5536 M:2142322688  NOTICE: special://home/ is mapped to: C:\Users\Matt\AppData\Roaming\XBMC
22:39:47 T:5536 M:2142322688  NOTICE: special://temp/ is mapped to: C:\Users\Matt\AppData\Roaming\XBMC\cache
22:39:47 T:5536 M:2142322688  NOTICE: The executable running is: C:\Program Files (x86)\XBMC\XBMC.exe
22:39:47 T:5536 M:2142322688  NOTICE: Log File is located: C:\Users\Matt\AppData\Roaming\XBMC\xbmc.log
22:39:47 T:5536 M:2142322688  NOTICE: ---
22:39:47 T:5536 M:2142310400  NOTICE: Setup SDL
22:39:47 T:5536 M:2142220288  NOTICE: Found screen: Generic PnP Monitor on Intel(R) HD Graphics Family, adapter 0.
22:39:47 T:5536 M:2142216192  NOTICE: Primary mode: 1920x1080 @ 25.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 640x480 @ 59.94 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 640x480 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 720x480 @ 59.94 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 720x480 @ 60.00 - Full Screen
22:39:47 T:5536 M:2139029504  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2139029504  NOTICE: Additional mode: 720x576 @ 50.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 800x600 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1024x768 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1152x864 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x600 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x720 @ 50.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x720 @ 59.94 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x720 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x768 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x800 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x960 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1280x1024 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1360x768 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1366x768 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138959872  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138959872  NOTICE: Additional mode: 1400x1050 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138963968  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138963968  NOTICE: Additional mode: 1440x480 @ 30.00i - Full Screen
22:39:47 T:5536 M:2139070464  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2139070464  NOTICE: Additional mode: 1440x576 @ 25.00i - Full Screen
22:39:47 T:5536 M:2139127808  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2139127808  NOTICE: Additional mode: 1440x900 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138726400  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138726400  NOTICE: Additional mode: 1600x900 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Previous line repeats 1 times.
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1680x1050 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Previous line repeats 2 times.
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 23.98 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 24.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 25.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 29.97 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 30.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 50.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 25.00i - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 59.94 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 30.00i - Full Screen
22:39:47 T:5536 M:2138869760  NOTICE: load settings...
22:39:47 T:5536 M:2139107328  NOTICE: special://profile/ is mapped to: special://masterprofile/
22:39:47 T:5536 M:2139107328  NOTICE: loading special://masterprofile/guisettings.xml
22:39:47 T:5536 M:2138193920  NOTICE: Getting hardware information now...
22:39:47 T:5536 M:2138193920  NOTICE: Checking resolution 12
22:39:47 T:5536 M:2138185728  NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
22:39:47 T:5536 M:2138181632  NOTICE: Loaded playercorefactory configuration
22:39:47 T:5536 M:2138181632  NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
22:39:47 T:5536 M:2138181632  NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
22:39:47 T:5536 M:2138177536  NOTICE: Loaded advancedsettings.xml from special://profile/advancedsettings.xml
22:39:47 T:5536 M:2138177536  NOTICE: Contents of special://profile/advancedsettings.xml are...
                                            <advancedsettings>
                                              <video>
                                                <adjustrefreshrate>
                                                  <override>
                                                    <fps>25.000</fps>
                                                    <refresh>25.0</refresh>
                                                  </override>
                                                </adjustrefreshrate>
                                              </video>
                                            </advancedsettings>
22:39:47 T:5536 M:2138173440  NOTICE: Getting hardware information now...

Code:
22:39:48 T:5536 M:2095955968    INFO: GUI format 1920x1080 1920x1080 @ 25.00 - Full Screen

Code:
22:40:05 T:5912 M:2021842944   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
22:40:05 T:5912 M:2021830656    INFO: ffmpeg[1718]: Input #0, matroska, from 'rar://smb%3a%2f%2fMATT%2dSERVER%2fTorrents%20%2d%20Complete%2f%7bwww%2escenetime%2ecom%7dMisfits%2eS03E08%2e720p%2eHDTV%2ex264%2dTLA%2fmisfits%2es03e08%2e720p%2ehdtv%2ex264%2dtla%2erar/misfits.s03e08.720p.hdtv.x264-tla.mkv':
22:40:05 T:5912 M:2021675008    INFO: ffmpeg[1718]:   Duration: 00:45:52.19, start: 0.000000, bitrate: 2832 kb/s
22:40:05 T:5912 M:2021912576    INFO: ffmpeg[1718]:     Stream #0.0(eng): Video: h264, yuv420p, 1280x720, PAR 1:1 DAR 16:9, 25 fps, 25 tbr, 1k tbn, 50 tbc
22:40:05 T:5912 M:2021666816    INFO: ffmpeg[1718]:     Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 384 kb/s
22:40:05 T:5912 M:2021830656  NOTICE: Opening video stream: 0 source: 256
22:40:05 T:5912 M:2021654528  NOTICE: Creating video codec with codec id: 28
22:40:05 T:5912 M:2021654528   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:yes DXVA:yes
22:40:05 T:5912 M:2021654528   DEBUG: FactoryCodec - Video:  - Opening
22:40:05 T:5912 M:2021654528   DEBUG: Win32DllLoader::Load(special://xbmcbin/system/players/dvdplayer/swscale-0.6.1.dll)
22:40:05 T:5912 M:2021867520  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10

Code:
22:40:05 T:3628 M:2006708224  NOTICE:  fps: 25.000000, pwidth: 1280, pheight: 720, dwidth: 1280, dheight: 720
22:40:05 T:3628 M:2006708224   DEBUG: CDVDPlayerVideo::OutputPicture - change configuration. 1280x720. framerate: 25.00. format: YV12
22:40:05 T:3628 M:2006708224  NOTICE: Display resolution ADJUST : 1920x1080 @ 50.00 - Full Screen (41)
22:40:05 T:3628 M:2006708224   DEBUG: CWinRenderer::SelectRenderMethod: Requested render method: 0
Am I right in thinking these are the the supported modes??

Code:
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 23.98 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 24.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 25.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 29.97 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 30.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 50.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 25.00i - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 59.94 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 29.97i - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 60.00 - Full Screen
22:39:47 T:5536 M:2138497024  NOTICE: Additional mode: 1920x1080 @ 30.00i - Full Screen

[email protected] seems to be supported.
Your xbmc version does not support refreshrate overrides, it's too old.
bobo1on1 Wrote:Your xbmc version does not support refreshrate overrides, it's too old.

I'm running the current stable version; 10.1. So it has to be something else.

Have I formatted advancedsettings.xml correctly?
The current stable version is old.
scudlee Wrote:The current stable version is old.

Right... Annoying.

Are you sure 10.1 doesn't support the override?

The Wiki doesn't say anything about these settings not being supported. The only date mentioned is May 2006, 10.1 is much much much newer then that.
I don't know which wiki you're reading, but ours clearly says dharma doesn't support refreshrate overrides: http://wiki.xbmc.org/index.php?title=Use...3Cvideo.3E
Update to a nightly build. That's all.
bobo1on1 Wrote:I don't know which wiki you're reading, but ours clearly says dharma doesn't support refreshrate overrides: http://wiki.xbmc.org/index.php?title=Use...3Cvideo.3E

I wouldn't call it clear; but I did find it after a closer look.

I'm a heavy XBMC users and hesitate to run the beta versions.
then wait for Eden release.
davilla Wrote:then wait for Eden release.

No.. Like all people on the internet; I want my free update and I want it NOOOOOooooooowwwwww.
then go home ...