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: 69194" data-attributes="member: 14776"><p>1. Detect source film rectangle. It could be 4:3, 16:9, 2.35:1 or some other non-standard ratio. I dont know if MP receives such information with the DirectShow framework, and whether such meta info can be relied upon? For analog received tv I guess it receives only total pixel dimensions.</p><p></p><p>Some smart algo could be used to filter in space and time to provide the most likely true movie inside black bars.</p><p></p><p>2. Look-up user display. Could be 4:3, 16:9 but also 16:10, 5:4 rectangular or quadratic pixels.</p><p></p><p>3. Use preferences to decide what horisontal/vertical scaling/cropping will be needed.</p><p></p><p>[code]</p><p>%detect source format</p><p>for all lines</p><p> if #black pixels > 0.9x#pixels_per_line</p><p> this line = black line</p><p> if this line (last frame) = black line</p><p> if all lines so far have been black</p><p> movie is below this line</p><p> else</p><p> movie is above this line</p><p> end</p><p> end</p><p> end</p><p>end</p><p>[/code]</p><p>-k</p></blockquote><p></p>
[QUOTE="knutinh, post: 69194, member: 14776"] 1. Detect source film rectangle. It could be 4:3, 16:9, 2.35:1 or some other non-standard ratio. I dont know if MP receives such information with the DirectShow framework, and whether such meta info can be relied upon? For analog received tv I guess it receives only total pixel dimensions. Some smart algo could be used to filter in space and time to provide the most likely true movie inside black bars. 2. Look-up user display. Could be 4:3, 16:9 but also 16:10, 5:4 rectangular or quadratic pixels. 3. Use preferences to decide what horisontal/vertical scaling/cropping will be needed. [code] %detect source format for all lines if #black pixels > 0.9x#pixels_per_line this line = black line if this line (last frame) = black line if all lines so far have been black movie is below this line else movie is above this line end end end end [/code] -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