2005-07-30, 20:02
lo,
for the past few days i've been working on a nice script to present and watch streams from a french tv channel website..
this is my first python/xbmc script so i had to familiarize myself with all this and started my study with the very nice ooba script..
now that i have many things in place including some gfx layout, i was working on a way to make the display as compatible as possible with both 4/3 and 16/9, not that the layout is full of things but well just wanted to make it right for everyone..
i'm not really into video resolution and stuff like that so i don't really know what is exactly overscan and pixel ratio but i made sure to stick to the source pictures aspect ratios everytime i was adding a controlimage for that picture..
i made two different bg image, one version 4/3 (720x576) and one 16/9 (955/540). i'm not sure what picture sizes to use exactly as i first used a 720x540 bg image to fit a 4/3 display and then a 720x576 and i didn't see much difference, there should be a diffrence, right ?..
anyways, i use the recent setcoordinateresolution(pal_4x3) method to let xbmc handle controls resizing..
and as explained in the related thread, i set all my control positions and sizes to fit a pal_4x3 resolution..
my results so far are quite weird..
in 16/9 my 16/9 bg image looks just fine but in 4/3 my 4/3 bg image seems to be strectched verticaly..
on the other hand some controlimage i use to display pictures with a 4/3 ar are properly displayed in 4/3 but are stretched horizontaly in 16/9...
as for my controllists i'm not sure there's something different with them but in both cases they seem okay and use the proper space..
so first i wanted to know if i had to adapt my controlimage sizes to keep a proper display both in 16/9 and 4/3..
my first guess was that setcoordinateresolution would take care of that but apparently it does not, or not exactly..
my 4/3 ar pictures should look 4/3 both in 4/3 and 16/9 display, right ?
and then what would be the problem with my 4/3 background image ? i don't know what happens to it but it really looks stretched verticaly, whatever picture version i use (720x540 or 720x576)..
thx.
.dvbm
for the past few days i've been working on a nice script to present and watch streams from a french tv channel website..
this is my first python/xbmc script so i had to familiarize myself with all this and started my study with the very nice ooba script..
now that i have many things in place including some gfx layout, i was working on a way to make the display as compatible as possible with both 4/3 and 16/9, not that the layout is full of things but well just wanted to make it right for everyone..
i'm not really into video resolution and stuff like that so i don't really know what is exactly overscan and pixel ratio but i made sure to stick to the source pictures aspect ratios everytime i was adding a controlimage for that picture..
i made two different bg image, one version 4/3 (720x576) and one 16/9 (955/540). i'm not sure what picture sizes to use exactly as i first used a 720x540 bg image to fit a 4/3 display and then a 720x576 and i didn't see much difference, there should be a diffrence, right ?..
anyways, i use the recent setcoordinateresolution(pal_4x3) method to let xbmc handle controls resizing..
and as explained in the related thread, i set all my control positions and sizes to fit a pal_4x3 resolution..
my results so far are quite weird..
in 16/9 my 16/9 bg image looks just fine but in 4/3 my 4/3 bg image seems to be strectched verticaly..
on the other hand some controlimage i use to display pictures with a 4/3 ar are properly displayed in 4/3 but are stretched horizontaly in 16/9...
as for my controllists i'm not sure there's something different with them but in both cases they seem okay and use the proper space..
so first i wanted to know if i had to adapt my controlimage sizes to keep a proper display both in 16/9 and 4/3..
my first guess was that setcoordinateresolution would take care of that but apparently it does not, or not exactly..
my 4/3 ar pictures should look 4/3 both in 4/3 and 16/9 display, right ?
and then what would be the problem with my 4/3 background image ? i don't know what happens to it but it really looks stretched verticaly, whatever picture version i use (720x540 or 720x576)..
thx.
.dvbm