Kodi Community Forum

Full Version: Video aspect ratio changing, displaying less than full screen
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi everyone,

I recently updated my TV to a Samsung 8000 series LCD and have trouble getting some of my videos to play full screen.

Background: XBMCBuntu 12.2 running on a Zotac Atom N330 box. I'm pretty sure I have the TV set up ok, in that the Ion box is connect to the "PC" HDMI input and the display mode is set to "screen fit". I also have selected "adjust display refresh rate to match video" and unselected "sync playback to display". The XBMC UI occupies the full screen and XBMC seems to detect that it is connected to a 1920x1080 display.

The trouble arises when I want to play a video. For example, playing a video with resolution 1280x720, XBMC scales the video to 1835x983 (in "normal" mode). If I select "zoom" mode things are slightly better, with the video being scaled to 1878x1006. But both fall short of filling the screen, and both have a different aspect ratio (1.8667) to the source (1.777).

Similarly with some 1080p content, XBMC reports that the original resolution is 1920x1080 but when it played it is scaled to 1920x1029 (normal) and 2016x1080 (zoom). Again, the aspect ratio is being changed to 1.8667 and I don't understand why.

Any pointers on how to improve this would be greatly appreciated.

james
You haven't fiddled with the video calibration in XBMC have you?

What is the output of
Code:
/usr/lib/xbmc/xbmc-xrandr
(2013-08-24, 08:21)nickr Wrote: [ -> ]You haven't fiddled with the video calibration in XBMC have you?

Good point. I had once fiddled with them for my old telly, thought I'd set them all back to their defaults but when I checked I noticed I'd only done so for some display modes. I manually set them all to what they should be in guisettings.xml, and this improved things a bit. The 1280x720 video now displays as 1920x1029 in normal mode, and 2016x1080 in zoom mode, so at least I can get it to fill the screen but the aspect ratio is still being messed about.

Quote:What is the output of
Code:
/usr/lib/xbmc/xbmc-xrandr

Code:
james@ion:~$ /usr/lib/xbmc/xbmc-xrandr -display :0.0
<screen id="0" minimum_w="8" minimum_h="8" current_w="1920" current_h="1080" maximum_w="8192" maximum_h="8192">
  <output name="VGA-0" connected="false">
  </output>
  <output name="DVI-D-0" connected="false">
  </output>
  <output name="HDMI-0" connected="true" w="1920" h="1080" x="0" y="0" wmm="1060" hmm="626">
    <mode id="0x1c6" name="1920x1080" w="1920" h="1080" hz="60.00000" current="true" preferred="true"/>
    <mode id="0x1c7" name="1920x1080" w="1920" h="1080" hz="59.93939" current="false" preferred="false"/>
    <mode id="0x1c8" name="1920x1080" w="1920" h="1080" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1c9" name="1920x1080" w="1920" h="1080" hz="29.97172" current="false" preferred="false"/>
    <mode id="0x1ca" name="1920x1080" w="1920" h="1080" hz="25.00000" current="false" preferred="false"/>
    <mode id="0x1cb" name="1920x1080" w="1920" h="1080" hz="23.97091" current="false" preferred="false"/>
    <mode id="0x1cc" name="1920x1080" w="1920" h="1080" hz="30.02669" current="false" preferred="false"/>
    <mode id="0x1cd" name="1920x1080" w="1920" h="1080" hz="29.99838" current="false" preferred="false"/>
    <mode id="0x1ce" name="1920x1080" w="1920" h="1080" hz="25.02224" current="false" preferred="false"/>
    <mode id="0x1cf" name="1680x1050" w="1680" h="1050" hz="59.95425" current="false" preferred="false"/>
    <mode id="0x1d0" name="1600x900" w="1600" h="900" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1d1" name="1440x900" w="1440" h="900" hz="59.88745" current="false" preferred="false"/>
    <mode id="0x1d2" name="1366x768" w="1366" h="768" hz="59.78954" current="false" preferred="false"/>
    <mode id="0x1d3" name="1280x1024" w="1280" h="1024" hz="75.02467" current="false" preferred="false"/>
    <mode id="0x1d4" name="1280x1024" w="1280" h="1024" hz="60.01974" current="false" preferred="false"/>
    <mode id="0x1d5" name="1280x800" w="1280" h="800" hz="59.81033" current="false" preferred="false"/>
    <mode id="0x1d6" name="1280x720" w="1280" h="720" hz="60.00000" current="false" preferred="false"/>
    <mode id="0x1d7" name="1280x720" w="1280" h="720" hz="59.94343" current="false" preferred="false"/>
    <mode id="0x1d8" name="1280x720" w="1280" h="720" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1d9" name="1152x864" w="1152" h="864" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1da" name="1024x768" w="1024" h="768" hz="75.02858" current="false" preferred="false"/>
    <mode id="0x1db" name="1024x768" w="1024" h="768" hz="70.06936" current="false" preferred="false"/>
    <mode id="0x1dc" name="1024x768" w="1024" h="768" hz="60.00384" current="false" preferred="false"/>
    <mode id="0x1dd" name="800x600" w="800" h="600" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1de" name="800x600" w="800" h="600" hz="72.18757" current="false" preferred="false"/>
    <mode id="0x1df" name="800x600" w="800" h="600" hz="60.31654" current="false" preferred="false"/>
    <mode id="0x1e0" name="720x576" w="720" h="576" hz="50.00000" current="false" preferred="false"/>
    <mode id="0x1e1" name="720x576" w="720" h="576" hz="25.04006" current="false" preferred="false"/>
    <mode id="0x1e2" name="720x480" w="720" h="480" hz="59.94006" current="false" preferred="false"/>
    <mode id="0x1e3" name="720x480" w="720" h="480" hz="30.02722" current="false" preferred="false"/>
    <mode id="0x1e4" name="640x480" w="640" h="480" hz="75.00000" current="false" preferred="false"/>
    <mode id="0x1e5" name="640x480" w="640" h="480" hz="72.80880" current="false" preferred="false"/>
    <mode id="0x1e6" name="640x480" w="640" h="480" hz="59.94048" current="false" preferred="false"/>
  </output>
</screen>

Thanks!
Oh wait! While I was poking around in guisettings.xml I noticed that the pixelratio for some of the 1080 modes had been set to values other than 1. I manually changed them all to 1 and now everything works really well. Thanks for the tip that got me looking in the right place :-)