Posts: 3,641
Joined: Jan 2011
Reputation:
57
bry
Team-Kodi Member
Posts: 3,641
Just came here to post this - hoping that there may be a way. Would be awesome to incorporate cinemagraph support.
Posts: 10
Joined: Jan 2013
Reputation:
0
+1 for this, would be awesome but I guess may be issues / not possible as they are prob animated gifs and xbmc uses jpg
Posts: 1,126
Joined: Mar 2012
Reputation:
37
MassIV
Skilled Skinner
Posts: 1,126
This is not possible atm. The wiki had something in it that gifs would be / had been possible.
But i never got one to work. Tried all settings.
[RELEASE] Metroid
[RELEASE] IrcChat
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Correct, XBMC does not support caching .gifs. With the new texture cache stuff it would be theoretically possible. What would need doing:
1. Support for .gif extension of local art. Search for "jpg" and "png" should find most of these in the source - IIRC CVideoThumbLoader::GetLocalArt() and CFileItem::FindLocalArt() are the main ones, along with some others for seasons and actors in CVideoInfoScanner. With this the local .gifs will be cached as .jpg's, so you should see the first frame at least.
2. Support caching these .gif files. This will be a bit trickier, as we currently rely on the ability to write an image to disk from a texture in memory (i.e. encode to whatever format we need). I'm not sure if CxImage supports this very well - the wrapper around it certainly doesn't. I'm not sure whether it will be possible to bypass this process and skip the encoding step in favour of a direct copy. It may be - this would be done in CTextureCacheJob if so.
I doubt any of the team will bother working on this, so it'd be up to someone else to work on it. As always, they'll be provided pointers around the codebase.
Cheers,
Jonathan
Posts: 235
Joined: Jul 2006
Reputation:
0
Thanks for the response Jonathan.
Trying to help clean up the afterbirth :laugh:
Posts: 1,155
Joined: Aug 2008
I personally cannot, those look horrible.
Posts: 174
Joined: Mar 2013
Reputation:
2
While I wouldn't use it on all movies I think if done right it would look amazing!
Main HTPC/Server, Ubuntu 18.04, Leia 18.0
ASUS Chromebox, Ubuntu 18.04, Leia 18.0, Aeon Nox 5: SiLVO Mod
Posts: 10
Joined: Feb 2011
Reputation:
0
I like it. With subtlety and good taste, it could improve the way XBMC looks. Any news on implementation?
Posts: 32
Joined: Dec 2010
Reputation:
0
+1, interested in this as well, for movie posters and primarily as in pan2's examples as background.