[REQUEST] Skin Background Videos Support - Videos as Backdrop Animations in Skins?
#1
Lightbulb 
i'm trying to create a skin with a video playing in the background. i've tried replacing it in the xml file, bhut since i do not know valid <types> i'm pretty much doing a "stab in the dark" method.
Quote:<control>
<description>background image</description>
<type>image</type>
<id>1</id>
<posx>0</posx>
<posy>0</posy>
<width>720</width>
<height>576</height>
<texture>background.png</texture>
<colorkey>0</colorkey>
<colordiffuse>ffffffff</colordiffuse>

</control>

i have tried changing type to "video" and "videowindow"
and texture to "video" and "texture" etc. the texture is "xxxxxx.wmv"

i know it's possible to run a video in there because i've looked at:
Quote: <control>
<description>video preview window</description>
<type>videowindow</type>
<id>1</id>
<posx>180</posx>
<posy>60</posy>
<width>540</width>
<height>455</height>
</control>

however this is using whatever is loaded in mplayer.
Reply
#2
the only way i can think you could make it work is to use a script that play a video at the startup or converting a video into a gif image and use it as texture;
<texture>background.gif</texture>
btw be carefull with memory usage.

that is the way i made my skin "the orbs".
XBMC Italian translator, Movieplayer.it scrapers developer and the old "The Orbs" skin creator.
Reply
#3
using an animated gif is pretty much out of the question Sad

i have been playing with onstart videos in a script, but i cannot figure out how to get the script to dump me back to the main screen.
Reply
#4
import xbmc
xbmc.executebuiltin('xbmc.activatewindow(0)')
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#5
awsome. going to try this out. thanks Smile
Reply
#6
no Sad it freezes on the first frame.
Reply
#7
do you have an older build, i seem to recall a fix for minimizing video to early.

you could try adding a sleep()
For python coding questions first see http://mirrors.xbmc.org/docs/python-docs/
Reply
#8
Smile 
g'day

i have been looking around on the forum there but not able to find out, how to add a small video in the background of the main menu.

i would like to start xbmc with a short video running in the background then load up the menu. or just have a running video with xbmc starts up. any idea how?

many thanks :bowdown:
Reply
#9
(ackman @ sep. 28 2005,02:48 Wrote:i have been looking around on the forum there but not able to find out, how to add a small video in the background of the main menu.
you must have looked in the wrong forum then becuase since it's not an implemented feature it has only been asked for and discussed/requested in the feature suggestions forum:
http://www.xboxmediaplayer.de/cgi-bin....;t=7261
http://www.xboxmediaplayer.de/cgi-bin....;t=9318
http://www.xboxmediaplayer.de/cgi-bin....;t=4671

ps! as a workaround you can use animated gif pictures for moving background, etc. (like in kotix's skin "symbol")
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#10
you might aswell use autorun.py to autoexecute any video on startup, yet this is not so nice since this is starting the video in fullscreen and minimizing it imediatly

its not possible to start minimized..
Image

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#11
(chokemaniac @ oct. 03 2005,07:42 Wrote:you might aswell use autorun.py to autoexecute any video on startup, yet this is not so nice since this is starting the video in fullscreen and minimizing it imediatly

its not possible to start minimized..
i think it would be great to start minimized, or least have an option to keep videos minimized unless the user pushes x.

reason i like this is because right now i have a video play on startup, and it is alright.. but if i have more than 1 set to play, after the first one plays it cuts to full screen if there is a second one.

anyways, xbmc is great, minor thing i hope get implemented.

rock on.
Reply
#12
not sure how to implement that...

most people would prefer to run vids fullscreen right away

maybe we can make it stay minimized, even when a new one starts, but im not sure if we can make it start minimized jst for a script...
Image

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#13
i am working on a skin and have had problems trying to find a good place to put the video screen when you are looking at other menus(small version to display when you use the x button). i ended up putting it full screen in the back ground. my menus, icons and everything else work great, the movie just plays in the background.

so just a thought couldn't you set up the visible tags to check if media is playing and if so not to display the menu items and background?
set the overlay option to no and specify in your home.xml the video to play and the size. once the video is done playing the menu items and background will appear.

the only problem i see with this is if you start a video and then hit x button and go back to the main menu you would not have a menu visible till the video stopped.
Reply
#14
Lightbulb 
It would be nice to have a standard animated backdrop for the main UI. Instead of a boring static image, replace it with an underwater like FX. To better understand my point, here's an example:



Image




Now remove red seats backdrop and replace with an animation of a calm beach and waves on white sand.

Just an idea.

Thanks for reading!
Reply
#15
NiceLaugh
I like the idea, It would be sweet to see something like that, but I think something that graphical(maybe not the right word) would finally send my xbox over the edge

Time to upgrade anywaysRolleyes
HTPC
Operating System: Win7 64-Bit Pro w/SP1
System: Intel Core2Duo 3.0Ghz / 4GB PC6400 DDR2 / ATI HD 7770 1GB GDDR5
XBMC Build: Kodi 14.0
Remote: Harmony One and HP Receiver
Display: 65" Toshiba dlp HDTV
XBOX
XBox Version: 1.6b
Xbox Mod: XboxHDM (Ndure)
Xbox Hard Drive: Seagate 400GB[/size]
Reply

Logout Mark Read Team Forum Stats Members Help
[REQUEST] Skin Background Videos Support - Videos as Backdrop Animations in Skins?1