home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
Improvement Suggestions
Zoom : adding 'no aspect ratio change' in general settings
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="knutinh" data-source="post: 69209" data-attributes="member: 14776"><p>So, you've got a display with pixel ratio 4:3 but aspect ratio 3:4? That would make it taller than it is wide, but still having the usual 800x600 resolution? Also, you've got a standard 1080p 16:9 video stream. 14:9 implies that you want to do a little stretching so as not to make the 16:9 picture too small on that weird screen.</p><p></p><p>No cropping means that 1920 pixels should fit into 800 horisontal pixels. That means scale down horisontally by 2.4.</p><p></p><p>Now, we have 1080 vertical pixels that should fit within 600 vertical display pixels. However, we have to keep in mind the various ratios. We want 14:9, and the display is 3:4 aspect. As we have filled the width, we must fill the height by 9/(14/3) = 1.93 or about half the 600 pixels.</p><p></p><p>(3/4)/(14/9) = 0.4821 is the ratio between display and desired AR</p><p></p><p>We need to fill 0.4821*100 percent of the image vertically, or 289 pixels in order to have a 14:9 visual image.</p><p></p><p>300-289/2 = 156</p><p>300+289/2 = 445</p><p></p><p>Video source rect would be [1 1920 1 1080] (x1, x2, y1, y2)</p><p></p><p>Display rect would be [1 800 156 445] (x1, x2, y1, y2)</p><p></p><p>We are filling 100% of the available display width and 48% of the height. As the display AR is 0.75, we see that we have a visual AR of ((3/4)*(600/289)) = 1.5571 where the goal was 14:9 = 1.5556</p><p></p><p>-k</p></blockquote><p></p>
[QUOTE="knutinh, post: 69209, member: 14776"] So, you've got a display with pixel ratio 4:3 but aspect ratio 3:4? That would make it taller than it is wide, but still having the usual 800x600 resolution? Also, you've got a standard 1080p 16:9 video stream. 14:9 implies that you want to do a little stretching so as not to make the 16:9 picture too small on that weird screen. No cropping means that 1920 pixels should fit into 800 horisontal pixels. That means scale down horisontally by 2.4. Now, we have 1080 vertical pixels that should fit within 600 vertical display pixels. However, we have to keep in mind the various ratios. We want 14:9, and the display is 3:4 aspect. As we have filled the width, we must fill the height by 9/(14/3) = 1.93 or about half the 600 pixels. (3/4)/(14/9) = 0.4821 is the ratio between display and desired AR We need to fill 0.4821*100 percent of the image vertically, or 289 pixels in order to have a 14:9 visual image. 300-289/2 = 156 300+289/2 = 445 Video source rect would be [1 1920 1 1080] (x1, x2, y1, y2) Display rect would be [1 800 156 445] (x1, x2, y1, y2) We are filling 100% of the available display width and 48% of the height. As the display AR is 0.75, we see that we have a visual AR of ((3/4)*(600/289)) = 1.5571 where the goal was 14:9 = 1.5556 -k [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
Improvement Suggestions
Zoom : adding 'no aspect ratio change' in general settings
Contact us
RSS
Top
Bottom