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
General Development (no feature request here!)
Replacement MTN (Thumbnailer) for H264 content
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="Jay_UK" data-source="post: 931402" data-attributes="member: 98509"><p>Hi there,</p><p> </p><p>So assuminng 2 rows x 1 column.</p><p> </p><p>Based upon the four scenarios:</p><p> </p><p><strong>Width is not specified (and video resolution known):</strong></p><p>Video source is set to 720x576</p><p>Thumbnail is set to 720x576</p><p>Tile size will be (720/1)x(576/2) = 720x288</p><p>With this, the overall thumbnail aspect ratio and size is set to match the source</p><p>Once I produce the thumb, MePo does its magic and resizes it according to its own settings</p><p> </p><p><strong>Width is specified - lets assume 1920 (and video resolution known):</strong></p><p>Video source is 720x576</p><p>Thumbnail is set to the specified width (height is calculated by using the specified width divided by the (video width/video height)</p><p>Tile size will be (1920/1)x((1920/(720/576))/2) = 1920x768</p><p>With this, the overall thumbnail aspect ratio and size is set to match the source</p><p>Once I produce the thumb, MePo does its magic and resizes it according to its own settings</p><p> </p><p><strong>Width is not specified (and video resoluton not known):</strong></p><p>Thumbnail width is set to 1270 (height is calculated by using the specified width divided by 1.7777)</p><p>Tile size will be (1270/1)x((1270/1.7777)/2) = 1270x357</p><p>With this, the overall thumbnail aspect ratio and size is set to match the source</p><p>Once I produce the thumb, MePo does its magic and resizes it according to its own settings</p><p> </p><p><strong>Width is specified - lets assume 1920 (and video resolution not known):</strong></p><p>Thumbnail width is set to the specified width - lets assume 1920 (height is calculated by using the specified width divided by 1.7777)</p><p>Tile size will be (1920/1)x((1920/1.7777)/2) = 1920x540</p><p>With this, the overall thumbnail aspect ratio and size is set to match the source</p><p>Once I produce the thumb, MePo does its magic and resizes it according to its own settings</p><p> </p><p>Obviously if the source is smaller than the specified tile size, then FFmpeg will need to enlarge it.</p><p> </p><p>I am more than happy to change the logic/mathematics if people feel the above is not correct. But like I said above, the height is halving to maintain the overal AR, therefore the individual tiles AR must change. If you want to keep the tiles AR, then the thumbs AR will change. Which is the best way ??</p><p> </p><p>J.</p></blockquote><p></p>
[QUOTE="Jay_UK, post: 931402, member: 98509"] Hi there, So assuminng 2 rows x 1 column. Based upon the four scenarios: [B]Width is not specified (and video resolution known):[/B] Video source is set to 720x576 Thumbnail is set to 720x576 Tile size will be (720/1)x(576/2) = 720x288 With this, the overall thumbnail aspect ratio and size is set to match the source Once I produce the thumb, MePo does its magic and resizes it according to its own settings [B]Width is specified - lets assume 1920 (and video resolution known):[/B] Video source is 720x576 Thumbnail is set to the specified width (height is calculated by using the specified width divided by the (video width/video height) Tile size will be (1920/1)x((1920/(720/576))/2) = 1920x768 With this, the overall thumbnail aspect ratio and size is set to match the source Once I produce the thumb, MePo does its magic and resizes it according to its own settings [B]Width is not specified (and video resoluton not known):[/B] Thumbnail width is set to 1270 (height is calculated by using the specified width divided by 1.7777) Tile size will be (1270/1)x((1270/1.7777)/2) = 1270x357 With this, the overall thumbnail aspect ratio and size is set to match the source Once I produce the thumb, MePo does its magic and resizes it according to its own settings [B]Width is specified - lets assume 1920 (and video resolution not known):[/B] Thumbnail width is set to the specified width - lets assume 1920 (height is calculated by using the specified width divided by 1.7777) Tile size will be (1920/1)x((1920/1.7777)/2) = 1920x540 With this, the overall thumbnail aspect ratio and size is set to match the source Once I produce the thumb, MePo does its magic and resizes it according to its own settings Obviously if the source is smaller than the specified tile size, then FFmpeg will need to enlarge it. I am more than happy to change the logic/mathematics if people feel the above is not correct. But like I said above, the height is halving to maintain the overal AR, therefore the individual tiles AR must change. If you want to keep the tiles AR, then the thumbs AR will change. Which is the best way ?? J. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
Replacement MTN (Thumbnailer) for H264 content
Contact us
RSS
Top
Bottom