Correcting skin aspect ratio for 16x10, without affetcing videos
#1
Hi
I have a 16:10 monitor (1680x1050), so every skin looks distorted on it. Is there a way to calibrate the screen, so that the SKIN is letterboxed, but the video playback is unaffected? If I calibrate it the usual way and squish the skin vertically, all movies get distorted. Can I:
- calibrate the screen for video and skins independently?
or
- trick the video player into ignoring the screen calibration?
or
- modify a skin to add black bars to it? (I know this is possible, but I think I'd have to edit lots of files, which is very inconvenient).
Reply
#2
paste the addon.xml of the skin you use and I might be able to show you an easy way
Reply
#3
If you calibrated so that an exact 16x9 frame was achieved with black borders, then video playback will be fine inside that frame. Just don't alter the pixel ratio.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#4
jmarshall Wrote:If you calibrated so that an exact 16x9 frame was achieved with black borders, then video playback will be fine inside that frame. Just don't alter the pixel ratio.
Video Aspect Ratio would be fine, but 4:3 videos would be scaled down to fit inside the 16:9 frame. I know that's nitpicking, but I'd like it to be perfect if that's possible.

@Jezz_X
PHP Code:
<?xml version="1.0" encoding="UTF-8"?>
<addon id="skin.night.svn" version="1307673936" name="Night (SVN)" provider-name="mcborzu">
  <requires>
    <import addon="xbmc.gui" version="3.00"/>
    <import addon="script.favourites" version="1.0.3"/>
    <import addon="script.logo-downloader" version="2.1.3"/>
    <import addon="script.randomitems" version="1.0.3"/>
    <import addon="script.tv.show.next.aired" version="2.0.1"/>
  </requires>
  <extension point="xbmc.gui.skin" defaultresolution="720p" defaultresolutionwide="720p" defaultthemename="textures.xbt" effectslowdown="1" debugging="false"/>
  <extension point="xbmc.addon.metadata">
    <summary>Night skin by mcborzu</summary>
    <description>Night started as a project for myself to learn skinning but quickly evolved into a full skin. It's main features include: TV Show Logos, Bigger Episode thumbs, more realistic 3D thumbs in some views, all while having fast window transitions. Amongst many features just a skin that tries to do things differently...</description>
    <disclaimer>More info on the skin can be found at the XBMC Forums.</disclaimer>
    <platform>all</platform>
  </extension>
</addon> 
I deleted description tags in other languages to make it shorter
Reply
#5
Try changing this line

PHP Code:
<extension point="xbmc.gui.skin" defaultresolution="720p" defaultresolutionwide="720p" defaultthemename="textures.xbt" effectslowdown="1" debugging="false"/> 

to this

PHP Code:
<extension
    point
="xbmc.gui.skin"
    
defaultthemename="textures.xbt"
    
debugging="false"
    
effectslowdown="1">
    <
res width="1280" height="720" aspect="16:9" default="true" folder="720p" />
    <
res width="1280" height="800" aspect="16:10" default="false" folder="720p" />
  </
extension

Then depending on how many r's he has used in the <posy> of things it should keep proper aspect if he has used lots of r's then it will most likely look dumb Smile else it will have 1 black bar at the bottom
Reply
#6
So I had a quick go at making a 16x10 version of confluence (took me 2 hours) and if you know the skin code well and its coded in a good logical way it is pretty easy

Here are some examples (16x10 versions are on the LEFT SIDE)

http://img838.imageshack.us/img838/9953/...16x101.png
http://img148.imageshack.us/img148/9115/...16x102.png
http://img844.imageshack.us/img844/1773/...16x103.png
Reply
#7
After modifing the addon.xml file I didn't notice any changes in XBMC (this may be the skin's fault).
Can you upload your Confluence mod somewhere?
Reply
#8
Sure at work now though so will upload it later when I get home
Reply
#9
I would like that too since my PC screen is also 16:10 and 2h seems like a lot of work to do just one thing so thank you very much.
Image
Reply
#10
Japaja Wrote:I would like that too since my PC screen is also 16:10 and 2h seems like a lot of work to do just one thing so thank you very much.

lol its was hardly one thing here is a list of all the files I had to modifiy slightly to get it to work proper
Quote:Author: Jezz_X
Date: 30/07/2011 2:41:07 PM
Message:
Added [Confluence] support to for 16x10 screen resolution


----
Added : addons/skin.confluence/16x10/AddonBrowser.xml
Added : addons/skin.confluence/16x10/DialogContextMenu.xml
Added : addons/skin.confluence/16x10/FileManager.xml
Added : addons/skin.confluence/16x10/Font.xml
Added : addons/skin.confluence/16x10/Home.xml
Added : addons/skin.confluence/16x10/IncludesBackgroundBuilding.xml
Added : addons/skin.confluence/16x10/MusicOSD.xml
Added : addons/skin.confluence/16x10/MusicVisualisation.xml
Added : addons/skin.confluence/16x10/MyMusicNav.xml
Added : addons/skin.confluence/16x10/MyMusicPlaylist.xml
Added : addons/skin.confluence/16x10/MyMusicPlaylistEditor.xml
Added : addons/skin.confluence/16x10/MyMusicSongs.xml
Added : addons/skin.confluence/16x10/MyPics.xml
Added : addons/skin.confluence/16x10/MyPrograms.xml
Added : addons/skin.confluence/16x10/MyVideoNav.xml
Added : addons/skin.confluence/16x10/MyVideoPlaylist.xml
Added : addons/skin.confluence/16x10/MyWeather.xml
Added : addons/skin.confluence/16x10/PlayerControls.xml
Added : addons/skin.confluence/16x10/Settings.xml
Added : addons/skin.confluence/16x10/SettingsCategory.xml
Added : addons/skin.confluence/16x10/SettingsProfile.xml
Added : addons/skin.confluence/16x10/SettingsSystemInfo.xml
Added : addons/skin.confluence/16x10/VideoFullScreen.xml
Added : addons/skin.confluence/16x10/VideoOSD.xml
Added : addons/skin.confluence/16x10/ViewsAddonBrowser.xml
Added : addons/skin.confluence/16x10/ViewsFileMode.xml
Added : addons/skin.confluence/16x10/ViewsLiveTV.xml
Added : addons/skin.confluence/16x10/ViewsMusicLibrary.xml
Added : addons/skin.confluence/16x10/ViewsPictures.xml
Added : addons/skin.confluence/16x10/ViewsVideoLibrary.xml
Modified : addons/skin.confluence/720p/DialogAlbumInfo.xml
Modified : addons/skin.confluence/720p/DialogButtonMenu.xml
Modified : addons/skin.confluence/720p/DialogFavourites.xml
Modified : addons/skin.confluence/720p/DialogTextViewer.xml
Modified : addons/skin.confluence/720p/DialogVideoInfo.xml
Modified : addons/skin.confluence/720p/FileBrowser.xml
Modified : addons/skin.confluence/720p/FileManager.xml
Modified : addons/skin.confluence/720p/Home.xml
Modified : addons/skin.confluence/720p/IncludesBackgroundBuilding.xml
Modified : addons/skin.confluence/720p/LoginScreen.xml
Modified : addons/skin.confluence/720p/MusicKaraokeLyrics.xml
Modified : addons/skin.confluence/720p/MusicVisualisation.xml
Modified : addons/skin.confluence/720p/MyMusicPlaylistEditor.xml
Modified : addons/skin.confluence/720p/MyPics.xml
Modified : addons/skin.confluence/720p/MyWeather.xml
Modified : addons/skin.confluence/720p/Settings.xml
Modified : addons/skin.confluence/720p/SettingsCategory.xml
Modified : addons/skin.confluence/720p/SettingsProfile.xml
Modified : addons/skin.confluence/720p/SettingsScreenCalibration.xml
Modified : addons/skin.confluence/720p/SettingsSystemInfo.xml
Modified : addons/skin.confluence/720p/VideoFullScreen.xml
Modified : addons/skin.confluence/720p/ViewsVideoLibrary.xml
Modified : addons/skin.confluence/720p/custom_SkinSetting_1111.xml
Modified : addons/skin.confluence/720p/includes.xml
Modified : addons/skin.confluence/720p/script-XBMC_Lyrics-main.xml
Modified : addons/skin.confluence/addon.xml

Anyway here is a download link for you
CLICK TO DOWNLOAD
Test it out and tell me what you think. Also if other people find this usefull shout out because I may even merge support into main xbmc if there is enough of you

P.S you will need to run XBMC in 16x10 if it too work proper you can't start in 16x9 windowed then go to 16x10 fullscreen as it wont switch
Reply
#11
Did some quick test and some views are missing/different then in "regular" version, but I tested this on latest nightly so maybe that's the reason.

Anyway it's much better, more information is visible (both text and images) since the use of screen space is improved and aspect ratios are correct. For example music albums (fanart view) and movies (poster wrap) now have correct aspect ratio where previously they where stretched vertically.

Only bug I found is when I open the skin setting.. looks like it's still in 16:9, whole screen refreshes and I can see the clock and navigation bar get fatter. Smile
Image
Reply
#12
This is the regular version for nightly builds of XBMC and yeah its different and yeah I missed skin settings
Reply
#13
Well OK then.. u did ask us to test.. and I tend to notice all the details, sorry about that.
Image
Reply
#14
Oh don't get me wrong it wasn't a complaint I was just confirming that I forgot to do that window if you find anymore inconsistencies then feel free to post them
Reply
#15
I have never modified a skin before, But I'd like to try to modify one to fit the 2.35:1 aspect ratio of my projection screen. Essentially I'll want to add black bars to the top and bottom of an existing skin. Can you give me some pointers on where to start?
Reply

Logout Mark Read Team Forum Stats Members Help
Correcting skin aspect ratio for 16x10, without affetcing videos0