Kodi Community Forum
Animated Fanart Backgrounds - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Meta-Data provider and Artwork Packs (https://forum.kodi.tv/forumdisplay.php?fid=71)
+--- Thread: Animated Fanart Backgrounds (/showthread.php?tid=141442)

Pages: 1 2 3 4 5


RE: media backgrounds - un1versal - 2014-03-26

yey, fantastic, I guess that my next PR to test what a +1 you deserve at very least.


RE: media backgrounds - HTScott - 2014-03-26

I'd be happy to test this as well. Love to see full screen movie clip backdrops, or even dreamscene clips. Would be awesome!

Scott


RE: media backgrounds - schumi2004 - 2014-03-26

(2014-03-26, 15:35)ace20022 Wrote: I've added giflib to xbmc, currently only textures, e.g., backgrounds work: https://github.com/xbmc/xbmc/pull/4474 .
Please let me know if you need test builds.
Ow that's cool. Going to test this on OpenELEC asap.

Edit:
@ace20022
Do you have a sample image for testing purpose or know where to find them?

And how do i know if libgif is available or not?
+libgif_not_found="== Could not find libgif. libgif support disabled. =="
+libgif_disabled="== libgif support disabled. =="

I'm compiling it as we speak for OpenELEC and the patch went well but not sure if i have libgif or not.


RE: media backgrounds - Ace - 2014-03-26

(2014-03-26, 22:35)HTScott Wrote: I'd be happy to test this as well. Love to see full screen movie clip backdrops, or even dreamscene clips. Would be awesome!

Scott

Only gifs are working, video files are not supported. Some nice gifs can be found there: http://www.buzzfeed.com/thegeshow/the-60-most-beautiful-cinemagraph-gifs (taken form the op).


RE: media backgrounds - Ace - 2014-03-26

(2014-03-26, 22:44)schumi2004 Wrote:
(2014-03-26, 15:35)ace20022 Wrote: I've added giflib to xbmc, currently only textures, e.g., backgrounds work: https://github.com/xbmc/xbmc/pull/4474 .
Please let me know if you need test builds.
Ow that's cool. Going to test this on OpenELEC asap.

Edit:
@ace20022
Do you have a sample image for testing purpose or know where to find them?

And how do i know if libgif is available or not?
+libgif_not_found="== Could not find libgif. libgif support disabled. =="
+libgif_disabled="== libgif support disabled. =="

I'm compiling it as we speak for OpenELEC and the patch went well but not sure if i have libgif or not.

you could try to find the library in your file system, e.g., via "locate libgif" or "locate gif" or install it via a packet manager or compile it yourself, sources can be found there: http://sourceforge.net/projects/giflib/files/giflib-5.x/

Samples:
http://www.buzzfeed.com/thegeshow/the-60-most-beautiful-cinemagraph-gifs
or google image search with type animated.


RE: media backgrounds - schumi2004 - 2014-03-27

Thanks, i could have know that since it was mentioned before.

I found a few simple ones but when you reminded me of that link i searched a bit more and found these:
http://all-that-is-interesting.com/cinemagraph-gifs
http://www.hongkiat.com/blog/cinemagraph/
http://cinemagraphs.com/
http://www.businessinsider.com/13-brilliiant-cinemgraphs-that-will-make-you-give-up-the-gif-permanently-2013-8


If you google for Cinemagraph you will find many more

Edit:
Just tested it with a OpenELEC build with this patch included and it makes XBMC crash.


RE: media backgrounds - Wanilton - 2014-03-27

@Ace20022, work fine in windows. Thanks, very well done.


RE: media backgrounds - Ace - 2014-03-27

(2014-03-27, 00:15)schumi2004 Wrote: Edit:
Just tested it with a OpenELEC build with this patch included and it makes XBMC crash.
A debug log (wiki) might be interesting.


RE: media backgrounds - schumi2004 - 2014-03-27

(2014-03-27, 08:04)ace20022 Wrote:
(2014-03-27, 00:15)schumi2004 Wrote: Edit:
Just tested it with a OpenELEC build with this patch included and it makes XBMC crash.
A debug log (wiki) might be interesting.
I'll try again with a newer build tonight, when it happened last night i couldn't find anything useful in debug log
Nothing that indicates a crash for me anyway, XBMC just rebooted.
Before i started a newer build i removed all old libgif and manual installed latest, maybe there was a conflict or using old version?


RE: media backgrounds - Hedda - 2014-03-27

(2014-03-26, 15:35)ace20022 Wrote: I've added giflib to xbmc, currently only textures, e.g., backgrounds work: https://github.com/xbmc/xbmc/pull/4474
So this will add initial support for animated images as skin backdrops and for GUI textures in skins, very cool indeed! Thank you!


Animated GIFs first then support APNG (Animated PNG) and/or MJPEG (Motion JPEG) next once GIF accepted and merged into mainline?


The new library version of apngasm should be a good choice for APNG https://github.com/apngasm/apngasm

That would help support the APNG standalization goal for the apngasm project https://www.kickstarter.com/projects/374397522/apngasm-foss-animated-png-tools-and-apng-standardi/

Quote:Animated PNG could have been a standard more than 10 years ago and yet we're stuck with GIF. We'll make new OSS tools to use it now!

Animated PNG, a high quality animated image format complete with full alpha channel and graceful degradation has been available and usable since 2004. Essentially APNG is like a much better Animated GIF. A large problem hindering widespread use is the lack of tools to create APNG. We would like to remedy this by taking the leading APNG conversion tool apngasm and, along with its author Max turn it into a robust and feature packed conversion library and a provide a full graphical authoring and editing tool.

Some Examples:

Mozilla has a good set of demos here: https://people.mozilla.com/~dolske/apng/demo.html

There is a very good comparison of APNG to GIF here: http://littlesvr.ca/apng/gif_vs_apng.html

The Phantom Open Emoji project is using APNG for animated emoji: https://github.com/Genshin/PhantomOpenEmoji

We'd love to show you APNG samples right here on kickstarter, but kickstarter alters embedded images which disables the animation. Hopefully this campaign will provide the tools and recognition for APNG that will help kickstarter and others properly support it.

Existing Support:

APNG support is already built into a variety of browsers. FireFox and Opera support it natively and support can be added to Chrome with the APNG extension. There is also a patch submitted to Chrome to add APNG support and it will be accepted and integrated into Chrome core if the Google team sees there are enough people using APNG on the web. A few more APNG supporting software packages can be found here: http://littlesvr.ca/apng/

Currently the only real/robust tool to author APNG is the standalone command line "APNG Assembler" tool apngasm by Max Stepin. It is not available as a library and is ready for a big set of refinements and improvements. We believe if we make a new and improved version of apngasm we can help adoption and acceptance and quickly replace Animated GIF as the dominant web animated image format. So we've paired up with Max to [re]make the tools.

MJPEG (Motion JPEG or M-JPEG) and MJ2 (Motion JPEG 2000) is basically Animated JPEG / JPEG 2000, so it uses individually compressed JPG images in animation series instead of GIF or PNG

http://en.wikipedia.org/wiki/Motion_JPEG
http://en.wikipedia.org/wiki/JPEG_2000#Motion_JPEG_2000

For libraries checkout mjpegtools and OpenJPEG
http://mjpeg.sourceforge.net
http://www.openjpeg.org

Signed / More wants more! Wink


RE: media backgrounds - un1versal - 2014-03-27

If you read the PR Ace made he is asking for help on the pictures side, so, get working Hedda!


RE: media backgrounds - Ace - 2014-03-27

(2014-03-27, 16:18)Hedda Wrote: Animated GIFs first then support APNG (Animated PNG) and/or MJPEG (Motion JPEG) next once GIF accepted and merged into mainline?

Yes, that's on my list Wink


RE: media backgrounds - schumi2004 - 2014-03-27

(2014-03-27, 08:04)ace20022 Wrote:
(2014-03-27, 00:15)schumi2004 Wrote: Edit:
Just tested it with a OpenELEC build with this patch included and it makes XBMC crash.
A debug log (wiki) might be interesting.
Here you go
http://pastebin.com/JhDP0GB9


RE: media backgrounds - schumi2004 - 2014-03-27

@ace20022
Does this patch require a shared or a static lib ?
Seo from OpenELEC team helped me getting giflib compiled for OpenELEC but it still crashes.
I got some instructions to try a few things and shared/static is one of them.


RE: media backgrounds - Ace - 2014-03-28

Shared lib, that debug log doesn't show the crash. Can you upload a full log?