Kodi Community Forum

Full Version: Video playback / judder issues
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
OK - having some serious issues getting smooth playback with 23.97 (24p) MKV files.

My TV (Bravia KDL40W2000) does not support 24p - only 50hz and 60hz.

Situation at the moment as follows:

- XBMC currently running in 1920x1080p@50hz
- 25fps and 30fps files play smoothly.
- 23.97 (24p) files play, but with a "judder" every second.

Sync playback to display is enabled from the XBMC settings. If I set XBMC itself to 1920x1080p@60hz, it still plays 23.97fps files at 50hz. I have to disable Sync playback to display in order to get 23.97 fps files to playback at 60hz. Even then I still get the same stutter - it makes no difference whether the file is playing using 50hz or 60hz

How can I get 23.97fps files to playback without the one-second stutter? On my TVIX box (6500) the files play fine. Sure, panning shots are not quite as smooth as if my TV supported 24p, but there is no one-second stutter on my TVIX box. Basically I want to get XBMC to play these 23.97fps files in the same way.

My current xorg.conf file is as follows (now with the line Option "DynamicTwinView" "False" included in order access 60hz - as well as the flanpanel scaling line).

What do I need to be doing/changing either in XBMC, xorg.conf, or possible even from the Nvida settings within Ubuntu in order to get things working correctly?

Code:
# nvidia-settings: X configuration file generated by nvidia-settings
# nvidia-settings:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:01:12 PDT 2009

# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder63)  Tue Oct 20 21:00:15 PDT 2009

Section "ServerLayout"
    Identifier     "Layout0"
    Screen      0  "Screen0" 0 0
    InputDevice    "Keyboard0" "CoreKeyboard"
    InputDevice    "Mouse0" "CorePointer"
    Option         "Xinerama" "0"
EndSection

Section "Files"
    ModulePath      "/usr/lib/xorg/modules"
    ModulePath      "/usr/local/lib/xorg/modules"
EndSection

Section "ServerFlags"
    Option         "Xinerama" "0"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Mouse0"
    Driver         "mouse"
    Option         "Protocol" "auto"
    Option         "Device" "/dev/psaux"
    Option         "Emulate3Buttons" "no"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"

    # generated from default
    Identifier     "Keyboard0"
    Driver         "kbd"
EndSection

Section "Monitor"

    # HorizSync source: builtin, VertRefresh source: builtin
    Identifier     "Monitor0"
    VendorName     "Unknown"
    ModelName      "SONY TV"
    HorizSync       14.0 - 70.0
    VertRefresh     48.0 - 62.0
    Option         "DPMS"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "ION"
    Option         "UseEdidDpi" "false"
    Option         "DPI" "96 x 96"
EndSection

Section "Screen"

# Removed Option "metamodes" "1280x720 +0+0"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "Monitor0"
    DefaultDepth    24
    Option         "TwinViewXineramaInfoOrder" "CRT-0"
    Option         "TwinView" "0"
    Option         "metamodes" "1920x1080 +0+0"
    SubSection     "Display"
        Depth       24
    EndSubSection
EndSection
Update:

By adding the "noflip" line in xorg.conf, and disabling "adjust display refresh rate to match video" from within XBMC and setting XBMC to 1920x1080@60hz, I now have 23.97fps files playing back without the one-second stutter Big Grin . Its basically the same as on my TVIX box now - so not quite as smooth as if I had a 24p capable TV, but no one-second stutter.

The only remaining issue now is that when I play a 25fps file, it also plays at 60hz not 50hz, meaning that those files now have a slight stutter when compared to playing them back at 50hz.

I can get round this by re-enabling "adjust display refresh rate to match video" (remembering to change it back afterwards)... but is there any way in the settings to have XBMC use 60hz for 23.97fps files, but 50hz for 25fps files?

If there is not a configuration option for this, could it be an interesting feature for later versions?

The whole problem for me at the moment is that XBMC wants to use 50hz for 23.97fps, when the playback of 23.97fps files is much smoother using 60hz.