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
Support
Installation, configuration support
Thumbnail settings - some speed notes
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="rtv" data-source="post: 205134" data-attributes="member: 12309"><p>Hi!</p><p></p><p>I've just changed MP's thumbnail creation. Now it's possible to use a .NET function which will not <u>resize</u> but only <u>strech/shrink</u> the source image to fit.</p><p></p><p>After lots of careful testing I've found out that this still delivers acceptable quality for the small thumbnails (Which are shown e.g. in all listviews). After tweaking the code a little I could manage to achive performance boosts > 30 % <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite8" alt=":D" title="Big Grin :D" loading="lazy" data-shortname=":D" /> </p><p></p><p>Using the default setting of the quality slider the large thumbs (e.g. for filmstrips, etc) will still be created using the "true" resizing with interpolation, smoothing, etc.</p><p></p><p></p><p>Although this settings will affect every part of MP here are some of my results from scanning a little, non-structured music share:</p><p>1. step: reading tags, creating album and folder thumbs completed</p><p>2. step: creating artist preview covers completed</p><p>3. step: creating genre preview covers completed, scan done</p><p></p><p>[CODE]</p><p></p><p>SVN @ lowest quality</p><p>--------------------------</p><p>2007-11-17 00:52:55.843750 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.</p><p>[B]43 s[/B]</p><p>2007-11-17 00:53:38.875000 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.</p><p>[B]25 s[/B]</p><p>2007-11-17 00:54:03.875000 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques</p><p>[B]8 s[/B]</p><p>2007-11-17 00:54:12.125000 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:01:17 (0,02959326 seconds per track)</p><p></p><p></p><p>SVN @ highest quality</p><p>--------------------------</p><p>2007-11-17 00:47:48.109375 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.</p><p>[B]56 s[/B]</p><p>2007-11-17 00:48:44.218750 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.</p><p>[B]34 s[/B]</p><p>2007-11-17 00:49:20.171875 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques</p><p>[B]11 s[/B]</p><p>2007-11-17 00:49:31.343750 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:01:43 (0,0399479 seconds per track)</p><p></p><p></p><p>SVN @ defaults</p><p>--------------------------</p><p>2007-11-17 00:29:27.734375 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.</p><p>[B]44,5 s[/B]</p><p>2007-11-17 00:30:11.187500 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.</p><p>[B]26 s[/B]</p><p>2007-11-17 00:30:37.031250 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques</p><p>[B]8,5 s[/B]</p><p>2007-11-17 00:30:45.593750 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:01:18 (0,03019353 seconds per track)</p><p></p><p></p><p>0.2.3.0 @ defaults</p><p>--------------------------</p><p>2007-11-16 22:50:24.031250 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files.</p><p>[B]75,5 s[/B]</p><p>2007-11-16 22:51:39.625000 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files.</p><p>[B]37 s[/B]</p><p>2007-11-16 22:52:16.875000 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques</p><p>[B]12 s[/B]</p><p>2007-11-16 22:52:28.765625 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:02:10 (0,05008044 seconds per track)</p><p></p><p>[/CODE]</p><p></p><p></p><p>Please keep in mind that e.g. MyPictures builds all thumbs in background threads which have wait cycles by intention as even low priority threads could make MP feel sluggish if they produce heavy I/O activity.</p></blockquote><p></p>
[QUOTE="rtv, post: 205134, member: 12309"] Hi! I've just changed MP's thumbnail creation. Now it's possible to use a .NET function which will not [U]resize[/U] but only [U]strech/shrink[/U] the source image to fit. After lots of careful testing I've found out that this still delivers acceptable quality for the small thumbnails (Which are shown e.g. in all listviews). After tweaking the code a little I could manage to achive performance boosts > 30 % :D Using the default setting of the quality slider the large thumbs (e.g. for filmstrips, etc) will still be created using the "true" resizing with interpolation, smoothing, etc. Although this settings will affect every part of MP here are some of my results from scanning a little, non-structured music share: 1. step: reading tags, creating album and folder thumbs completed 2. step: creating artist preview covers completed 3. step: creating genre preview covers completed, scan done [CODE] SVN @ lowest quality -------------------------- 2007-11-17 00:52:55.843750 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files. [B]43 s[/B] 2007-11-17 00:53:38.875000 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files. [B]25 s[/B] 2007-11-17 00:54:03.875000 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques [B]8 s[/B] 2007-11-17 00:54:12.125000 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:01:17 (0,02959326 seconds per track) SVN @ highest quality -------------------------- 2007-11-17 00:47:48.109375 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files. [B]56 s[/B] 2007-11-17 00:48:44.218750 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files. [B]34 s[/B] 2007-11-17 00:49:20.171875 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques [B]11 s[/B] 2007-11-17 00:49:31.343750 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:01:43 (0,0399479 seconds per track) SVN @ defaults -------------------------- 2007-11-17 00:29:27.734375 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files. [B]44,5 s[/B] 2007-11-17 00:30:11.187500 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files. [B]26 s[/B] 2007-11-17 00:30:37.031250 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques [B]8,5 s[/B] 2007-11-17 00:30:45.593750 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:01:18 (0,03019353 seconds per track) 0.2.3.0 @ defaults -------------------------- 2007-11-16 22:50:24.031250 [Info.][Config Main]: Musicdatabasereorg: Now check for new / updated files. [B]75,5 s[/B] 2007-11-16 22:51:39.625000 [Info.][Config Main]: Musicdatabasereorg: Checked 2603 files. [B]37 s[/B] 2007-11-16 22:52:16.875000 [Info.][Config Main]: MusicDatabase: Added artist thumb for Young Jacques [B]12 s[/B] 2007-11-16 22:52:28.765625 [Info.][Config Main]: Musicdatabasereorg: Music database reorganization done. Processed 2603 tracks in: 00:02:10 (0,05008044 seconds per track) [/CODE] Please keep in mind that e.g. MyPictures builds all thumbs in background threads which have wait cycles by intention as even low priority threads could make MP feel sluggish if they produce heavy I/O activity. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Support
Installation, configuration support
Thumbnail settings - some speed notes
Contact us
RSS
Top
Bottom