XBMC Community Forum
Compressed textures for FanArt - testing here with XBMC 2009-10-05 (r23431) or newer - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+--- Thread: Compressed textures for FanArt - testing here with XBMC 2009-10-05 (r23431) or newer (/showthread.php?tid=59115)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39


- Elbert - 2010-03-21 13:24

Bob___ Wrote:Hi jmarshall,

can you tell me where i can find the r28714? The latest nightly build i can found was 28699 (at http://sshcs.com/xbmc/). Thanx in advance.

Either build it yourself or wait for a few hours until a new build appears on http://sshcs.com/xbmc/

@jmarshall Thanks for this feature. It will hopefully speed up fanart on my atv


- Smenus - 2010-03-21 14:25

jmarshall Wrote:Note that as of r28714, XBMC will create .dds versions (indiscriminately) of .tbn files at viewing time if you use the <useddsfanart> advancedsetting.

Just a quick query - you use the word indiscriminately; does this now include thumbnails (covers etc)? And if it does, does it also use the converted covers?


- jmarshall - 2010-03-21 21:42

Indiscriminately. As in, it'll be done for ANY .tbn (yes, this includes covers) regardless of whether it'll look nasty or not.

I plan on doing some analysis to see if we can programmatically determine when DXT versions are going to look nasty. I could do with some help here - effectively I need source images which look nasty when DXT compressed using XBMC (or libsquish.)

Cheers,
Jonathan


- .:B:. - 2010-03-22 18:47

Sounds great Smile.

I just built 28744 now, gonna activate the DDS setting and report back with any problems.


- moontan77 - 2010-03-22 20:46

anyone have a linux script for converting all posters/thumbnails/fanart (.tbn) to .dds? i.e. one that checks all the folders in the Thumbnails folder.

if anyone could modify this script posted earlier in the thread so that it looks in all folders within the Thumbnails folder. It would be appreciated!

#!/bin/sh
cd ~/.xbmc/userdata/Thumbnails/Video/Fanart/ || exit
find . -name '*.tbn' -or -name '*.dds' | cut -c-10 | sort | uniq -u |
while read n; do
mv $n.tbn $n.jpg
nvcompress -bc1 $n.jpg | awk '/taken:/{printf $3}'
mv $n.jpg $n.tbn
echo "s $(ls *.dds | wc -l)/$(ls *.tbn | wc -l)"
done


- furii - 2010-03-22 21:32

moontan77 Wrote:anyone have a linux script for converting all posters/thumbnails/fanart (.tbn) to .dds? i.e. one that checks all the folders in the Thumbnails folder.

if anyone could modify this script posted earlier in the thread so that it looks in all folders within the Thumbnails folder. It would be appreciated!

#!/bin/sh
cd ~/.xbmc/userdata/Thumbnails/Video/Fanart/ || exit
find . -name '*.tbn' -or -name '*.dds' | cut -c-10 | sort | uniq -u |
while read n; do
mv $n.tbn $n.jpg
nvcompress -bc1 $n.jpg | awk '/taken:/{printf $3}'
mv $n.jpg $n.tbn
echo "s $(ls *.dds | wc -l)/$(ls *.tbn | wc -l)"
done

no need anymore:


jmarshall Wrote:Note that as of r28714, XBMC will create .dds versions (indiscriminately) of .tbn files at viewing time if you use the <useddsfanart> advancedsetting.

Note that in some cases the DDS version may not be suitable due to quality being too poor. We need to identify a good benchmark for this so that we can have quality (at the expense of extra load time) where we need it.

If you find images the produce bad looking DDS equivalents, please make a note of them. I'll add some logging to dump out the error, so to work out the error that XBMC sees, just remove the .dds file and have XBMC regenerate it, then look in the log for the dds error.

Cheers,
Jonathan



- matt1697 - 2010-03-22 21:53

How would I go about upgrading to r28714 if I'm using XBMC Live?

Like this?


- Cocophone - 2010-03-22 22:19

jmarshall Wrote:Note that as of r28714, XBMC will create .dds versions (indiscriminately) of .tbn files at viewing time if you use the <useddsfanart> advancedsetting.

Cheers,
Jonathan

Do you need to be using a Nvidia video card that is capable of cuda?


- moontan77 - 2010-03-22 22:51

.:B:. Wrote:Sounds great Smile.

I just build 28744 now, gonna activate the DDS setting and report back with any problems.

I installed a build of 28744 for linux (i downloaded it, didnt compile it) and the scraper options have disappeared. For example my movies folder has no content set now and when you select set content, it doesnt let you pick movies, tv shows etc.

edit:ignore that, you have to enable the scrapers now in the addons menu (its in confluence skin)


The DDS conversion worked great though. After it converted all my movie posters it was amazing how fluid it was to fly through my movies.


- Brent212 - 2010-03-23 00:02

jmarshall Wrote:Note that as of r28714, XBMC will create .dds versions (indiscriminately) of .tbn files at viewing time if you use the <useddsfanart> advancedsetting.

I didn't know fanart could use the .tbn extension. I've always used MOVIEFILENAME-fanart.jpg as my fanart filenames. Will this setting cause XBMC to create .dds versions of my .jpg fanart files?