Animated Fanart Backgrounds
#31
(2014-03-28, 00:06)ace20022 Wrote: Shared lib, that debug log doesn't show the crash. Can you upload a full log?
Got it working now with the help of seo, many thanks for that.

There is a issue though, i think, or it should be normal behavior.
When no libgif is found, and you select gif as backdrop, xbmc crashes/restarts.

I checked compile debug log and noticed that it indeed skips libgif if it can't be found.
When i made libgif package shared i see it being picked up.

Nice addition to XBMC if i may say so, great work.
Reply
#32
(2014-03-28, 11:38)schumi2004 Wrote: There is a issue though, i think, or it should be normal behavior.
When no libgif is found, and you select gif as backdrop, xbmc crashes/restarts.

I'll try to find out why this is happening.
Reply
#33
(2014-03-28, 12:30)ace20022 Wrote:
(2014-03-28, 11:38)schumi2004 Wrote: There is a issue though, i think, or it should be normal behavior.
When no libgif is found, and you select gif as backdrop, xbmc crashes/restarts.

I'll try to find out why this is happening.

@ace20022 here it is:
Code:
(gdb) bt
#0  std::operator==<char> (__lhs=..., __rhs=...)
    at /root/OpenELEC.tv/build.OpenELEC-Generic.x86_64-devel/toolchain/x86_64-openelec-linux-gnu/include/c++/4.8.2/bits/basic_string.h:2495
#1  0x0000000000819077 in CGUITextureManager::HasTexture ([email protected]=0x1cee1f0 <g_TextureManager>, textureName=..., [email protected]=0x7fff91687840,
    [email protected]=0x7fff9168782c, [email protected]=0x7fff91687830) at TextureManager.cpp:257
#2  0x0000000000819917 in CGUITextureManager::Load (this=0x1cee1f0 <g_TextureManager>, strTextureName=..., [email protected]=false)
    at TextureManager.cpp:286
#3  0x000000000080a99e in CGUITextureBase::AllocResources (this=0x5388880) at GUITexture.cpp:346
#4  0x00000000007fbf31 in CGUIControlGroup::AllocResources ([email protected]=0x3039250) at GUIControlGroup.cpp:73
#5  0x000000000080be38 in CGUIWindow::AllocResources (this=0x3039250, forceLoad=<optimized out>) at GUIWindow.cpp:746
#6  0x000000000080db7d in CGUIWindow::OnMessage ([email protected]=0x3039250, message=...) at GUIWindow.cpp:552
#7  0x00000000010b2010 in CGUIWindowSettingsCategory::OnMessage (this=0x3039250, message=...) at GUIWindowSettingsCategory.cpp:164
#8  0x0000000000812599 in CGUIWindowManager::PreviousWindow (this=0x2aaddd0) at GUIWindowManager.cpp:322
#9  0x000000000080b996 in CGUIWindow::OnBack (this=<optimized out>, actionID=<optimized out>) at GUIWindow.cpp:916
#10 0x000000000080d63e in CGUIWindow::OnAction (this=0x306e660, action=...) at GUIWindow.cpp:435
#11 0x00000000008103b4 in CGUIWindowManager::OnAction (this=0x2aaddd0, action=...) at GUIWindowManager.cpp:488
#12 0x0000000000a591e6 in CApplication::OnAction (this=0x2a68690, action=...) at Application.cpp:2609
#13 0x0000000000a5a977 in CApplication::OnKey (this=0x2a68690, key=...) at Application.cpp:2524
#14 0x0000000000a5ac68 in CApplication::OnEvent (newEvent=...) at Application.cpp:475
#15 0x00000000010c9b4f in CWinEventsX11Imp::ProcessKey (event=...) at WinEventsX11.cpp:719
#16 0x00000000010ca14b in CWinEventsX11Imp::MessagePump () at WinEventsX11.cpp:535
#17 0x0000000000a5ba9b in CApplication::FrameMove (this=0x2a68690, processEvents=<optimized out>, processGUI=<optimized out>) at Application.cpp:2956
#18 0x0000000000aacab6 in CXBApplicationEx::Run (this=0x2a68690) at XBApplicationEx.cpp:140
#19 0x0000000000aafbeb in XBMC_Run (renderGUI=<optimized out>) at xbmc.cpp:69
#20 0x0000000000783347 in main (argc=5, argv=0x7fff91688ae8) at main.cpp:89

^ this without libgif available (so gif support not compiled in)
Reply
#34
@stefansaraev thx! Should be fixed.
Reply
#35
(2014-03-29, 09:10)ace20022 Wrote: @stefansaraev thx! Should be fixed.

thanks. confirmed no crashes anymore. without giflib - I can set custom background. just doesnt show up animated (thats expected). with giflib - now animated. idle cpu usage is ~4% without vs ~15% with giflib (hardware is old atom 330 @ 1.6ghz). that's IMO expected too but RPi dudes wont be too much happy Wink
Reply
#36
Whats the name of the package lib in Linux? This will need to be adjusted in Ubuntu/Linux readmes as well Wink

libgif-dev: library for GIF images (development) <<-- will defenetly need to add that to readmes...
libgif4 <-- actual lib for users only I presume installing libgif-dev will also install libgif4
Reply
#37
(2014-03-29, 12:19)stefansaraev Wrote:
(2014-03-29, 09:10)ace20022 Wrote: @stefansaraev thx! Should be fixed.

thanks. confirmed no crashes anymore. without giflib - I can set custom background. just doesnt show up animated (thats expected). with giflib - now animated. idle cpu usage is ~4% without vs ~15% with giflib (hardware is old atom 330 @ 1.6ghz). that's IMO expected too but RPi dudes wont be too much happy Wink

Of course the cpu usage will increase with animated backgrounds.
Reply
#38
(2014-03-29, 12:33)uNiversal Wrote: Whats the name of the package lib in Linux? This will need to be adjusted in Ubuntu/Linux readmes as well Wink

libgif 5 is required ( http://sourceforge.net/projects/giflib/f...rce=navbar ). For win32 we use version 5.0.5.
Reply
#39
ok idk if theres version 5 in ubuntu repos at all, so compile? http://www.linuxfromscratch.org/blfs/vie...iflib.html then giflib also has a dependency according to that page.

Ah right I see the makefile there, nvm ignore me

its make -C lib/giflib && make -C lib/giflib install
Reply
#40
Found this guide how to easily create gifs your self http://www.hongkiat.com/blog/cinemagraph...-cliplets/
Reply
#41
Image

/r/cinemagraphs
Image [RELEASE] Metroid
Image [RELEASE] IrcChat
Reply
#42
If someone finds a way to convert a WMV to animated gif then Dreamscene.org has some excellent animated backgrounds

http://www.dreamscene.org/gallery.php

Example


More previews here

https://www.youtube.com/results?search_q...mscene.org
Reply
#43
(2014-04-01, 22:44)zag Wrote: If someone finds a way to convert a WMV to animated gif then Dreamscene.org has some excellent animated backgrounds

http://www.dreamscene.org/gallery.php

Example


More previews here

https://www.youtube.com/results?search_q...mscene.org
Would be great. Tried a few online converters but they all suck
Reply
#44
(2014-04-01, 22:44)zag Wrote: If someone finds a way to convert a WMV to animated gif then Dreamscene.org has some excellent animated backgrounds
+1 but for FLV / SWF (Flash Video) of the different PlayStation 3 background animations:

https://www.youtube.com/watch?v=UtOM_FsZBrM
https://www.youtube.com/watch?v=5gAsmP1zrOE
https://www.youtube.com/watch?v=Eu7QbuAYFK4

Examples of PS3 backgrounds and clone replicas:




Some other example of nice stock looped animated video backgrounds can be found here http://www.alunablue.com/stock-video/vid...ounds.html
Reply
#45
animated gifs at such a scale will be HUGE and IMO a no go for skins. There is a reason why video compression has been invented for this kind of animations. It might probably be better to code those animated backgrounds up with python - so having a static background with timer triggered gif overlays (depending on type of animation ofc)
Reply



Logout Mark Read Team Forum Stats Members Help
Animated Fanart Backgrounds1
This forum uses Lukasz Tkacz MyBB addons.