Solved Switching to 25p mode
#1
Hello,

XBMC runs beautifully here with no judder or anything, but it switches my TV to a 50 hz mode for files with 25 fps. My TV supports these modes:

Code:
12:57:23 T:139683089934144    INFO: Output 'HDMI-0' has 23 modes
12:57:23 T:139683089934144    INFO: ID:0x1c7 Name:1920x1080 Refresh:60.000000 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1c8 Name:1920x1080 Refresh:59.939388 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1c9 Name:1920x1080 Refresh:50.000000 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1ca Name:1920x1080 Refresh:29.971720 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1cb Name:1920x1080 Refresh:25.000000 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1cc Name:1920x1080 Refresh:24.000000 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1cd Name:1920x1080 Refresh:23.970909 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1ce Name:1920x1080 Refresh:30.026690 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1cf Name:1920x1080 Refresh:29.998381 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1d0 Name:1920x1080 Refresh:25.022240 Width:1920 Height:1080
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1d1 Name:1600x1200 Refresh:60.000000 Width:1600 Height:1200
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.333333
12:57:23 T:139683089934144    INFO: ID:0x1d2 Name:1360x765 Refresh:60.003189 Width:1360 Height:765
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1d3 Name:1280x1024 Refresh:60.019741 Width:1280 Height:1024
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.422222
12:57:23 T:139683089934144    INFO: ID:0x1d4 Name:1280x720 Refresh:59.943432 Width:1280 Height:720
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1d5 Name:1280x720 Refresh:50.000000 Width:1280 Height:720
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.000000
12:57:23 T:139683089934144    INFO: ID:0x1d6 Name:1024x768 Refresh:60.003841 Width:1024 Height:768
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.333333
12:57:23 T:139683089934144    INFO: ID:0x1d7 Name:800x600 Refresh:60.316540 Width:800 Height:600
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.333333
12:57:23 T:139683089934144    INFO: ID:0x1d8 Name:720x576 Refresh:50.000000 Width:720 Height:576
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.422222
12:57:23 T:139683089934144    INFO: ID:0x1d9 Name:720x576 Refresh:25.040060 Width:720 Height:576
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.422222
12:57:23 T:139683089934144    INFO: ID:0x1da Name:720x480 Refresh:59.940060 Width:720 Height:480
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.185185
12:57:23 T:139683089934144    INFO: ID:0x1db Name:720x480 Refresh:30.027220 Width:720 Height:480
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.185185
12:57:23 T:139683089934144    INFO: ID:0x1dc Name:640x480 Refresh:59.940479 Width:640 Height:480
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.333333
12:57:23 T:139683089934144    INFO: ID:0x1dd Name:640x480 Refresh:59.928570 Width:640 Height:480
12:57:23 T:139683089934144    INFO: Pixel Ratio: 1.333333

Trying to play a 25 fps video:

Code:
13:02:48 T:139681947076352  NOTICE:  fps: 25.000000, pwidth: 592, pheight: 320, dwidth: 592, dheight: 320
13:02:48 T:139681947076352   DEBUG: OutputPicture - change configuration. 592x320. framerate: 25.00. format: YV12
13:02:48 T:139681947076352  NOTICE: Display resolution ADJUST : HDMI-0: 1920x1080 @ 50.00Hz (19) (weight: 0.000)

It works fine for 24p content. Is there a setting I can change?
Reply
#2
You can set the refresh rate of XBMC;

System > Video Output > Refresh Rate


And you can tell XBMC not to change the refresh rate when playing a video;

System > Video > Playback > "Adjust display refresh rate to match video"
Linux 3.5.0-22-generic
Ubuntu 12.10 - XBMCbuntu quantal
Skin: Aeon Nox
CPU: Intel Celeron G1610 2.60GHz
GPU: Enhanced Intel HD Graphics 2000/3000
RAM: 2GB
SSD: 32GB
Reply
#3
"Adjust display refresh rate to match video" is already enabled, and it works fine for all modes except that it uses a 50 hz mode for 25 fps content (and 60 for 30 fps content). I want to change it so it uses 25 and 30 hz modes (just like the 24p mode).
Reply
#4
You could try removing the 50/60 Hz modes. I don't know why you'd want the TV to be in 25 Hz instead of 50 though, it's basically the same except the TV flickers less.
Reply
#5
I have my TV always on 60Hz irrelevant of what the video fps is and I have no complaints everything plays fine.
Linux 3.5.0-22-generic
Ubuntu 12.10 - XBMCbuntu quantal
Skin: Aeon Nox
CPU: Intel Celeron G1610 2.60GHz
GPU: Enhanced Intel HD Graphics 2000/3000
RAM: 2GB
SSD: 32GB
Reply
#6
25p is a very valid refresh rate (e.g. PAL DVDs), so use it if you can.

you can check which modes xbmc sees with: /usr/lib/xbmc/xbmc-xrandr

You can also override the refresh rate via advancedsettings.xml
Code:
<adjustrefreshrate>
     <override>
      <fps>25</fps>
      <refresh>25</refresh>
    </override>
</adjustrefreshrate>
Reply
#7
(2013-05-28, 14:53)negge Wrote: You could try removing the 50/60 Hz modes. I don't know why you'd want the TV to be in 25 Hz instead of 50 though, it's basically the same except the TV flickers less.

To make better use of my TVs motion interpolation (HD Natural Motion in this case). Of course the TV won't display it with 25 hz, it interpolates to 100 hz so there is no flicker.
Reply
#8
(2013-05-28, 16:22)wsnipex Wrote: 25p is a very valid refresh rate (e.g. PAL DVDs), so use it if you can.

you can check which modes xbmc sees with: /usr/lib/xbmc/xbmc-xrandr

You can also override the refresh rate via advancedsettings.xml
Code:
<adjustrefreshrate>
     <override>
      <fps>25</fps>
      <refresh>25</refresh>
    </override>
</adjustrefreshrate>

Thanks, it works fine now! Big Grin
Reply

Logout Mark Read Team Forum Stats Members Help
Switching to 25p mode0