XBMC Intro Movie

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Hitcher Online
Skilled Skinner
Posts: 11,054
Joined: Aug 2007
Reputation: 103
Location: Eastleigh, UK
Post: #31
In that case just edit the home.xml of whatever skin you're using.
find quote
htpc guy Offline
Posting Freak
Posts: 1,182
Joined: Oct 2010
Reputation: 7
Location: Near St. Louis Mo
Post: #32
Hitcher Wrote:In that case just edit the home.xml of whatever skin you're using.

That is what I'm doing nowWink
I'm just saying there is no reason why it shouldn't work for OpenELEC AFAIK.

Yes it will add to the time it takes to launch XBMC but what else would you expect when you are replacing a static image with a video file.

How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony One Remote| 52" Sharp Aquos LED TV | Demon AVR-X1000 |
find quote
torch1 Offline
Junior Member
Posts: 29
Joined: Feb 2012
Reputation: 0
Post: #33
Ok got it working on my ATV2, looks great by the way! But does anyone else have about a 3 or 4 second black delay until it plays? Or is that just me?
find quote
PatK Offline
Donor
Posts: 3,506
Joined: Mar 2010
Reputation: 77
Location: Canada
Post: #34
Just to be clear and simple.... to get this to work on Eden RC2

copy your video.avi (or whatever extension) to a known local place... I used a folder called Splash in the userdata directory and called the file Splash_video.mp4

For Transparency!

go to \XBMC\addons\skin.transparency\720p

and using an xml editor (such as notepad++ with language xml ) on the file Home.xml add this line close to the top of the file, edit the path if needed.

onload condition="Window.Previous(startup)">XBMC.PlayMedia(special://userdata/Splash/Splash_video.mp4)</onload>

Throw this line in your advancedsettings.xml to kill the current splash screen.

<splash>false</splash>

It worked as advertised, but I noticed a slight glitch/shudder in the video, so I ended up copying the video to my ram drive, and doing a substitution for the splash folder... nice and smooth now.

I hope we see more videos of this calibre to choose from.
find quote
TechLife Offline
Donor
Posts: 588
Joined: Aug 2008
Reputation: 20
Location: Aurora, CO
Post: #35
torch1 Wrote:Ok got it working on my ATV2, looks great by the way! But does anyone else have about a 3 or 4 second black delay until it plays? Or is that just me?

Yes, there was for me. Sometimes I would even see the menu before it played. I fixed this on my rig (in Aeon Nox) by putting this as high as possible in the home.xml:
Code:
<window id="0">
    <defaultcontrol always="true">9000</defaultcontrol>
  <onload condition="Window.Previous(startup)">XBMC.PlayMedia(special://skin/intro.mov)</onload>
This is the first 3 lines of home.xml. When I had it down on line 5 or 6 is when I had issues... I think it may depend on the video you are using as well, but I haven't played enough to confirm or deny that at this point.

*If I helped, please +rep below*
Windows Media Center PVR add-on (pvr.wmc) and Server (ServerWMC)
The XBMC team, plug-in devs, skinners, etc. do this for us for FREE in their spare time because they want to. Think about that for a second before you start bitching...
(This post was last modified: 2012-03-05 07:08 by TechLife.)
find quote
Hypknox Offline
Member
Posts: 63
Joined: Feb 2012
Reputation: 0
Post: #36
I've followed the instructions provided and XBMC does indeed boot up and play the intro movie first but I've noticed that I still have a slight glitch as PatK described. It also shows the actual home screen for like a millisecond before it plays the intro movie.

I've moved the line of code in the home.xml up to as high as possible already.

I used clipconverter.cc to save this clip - http://www.youtube.com/watch?v=rWripEEBwmM

It's mp4 format, 1.46mb (I saved it as 1080p quality)

Perhaps this file is too large and that's causing the minor glitch before the movie plays? I don't follow Patk 100% when he says he relocated the file to his RAM drive. Is this the root of C: or what are we talking about here?
find quote
Hypknox Offline
Member
Posts: 63
Joined: Feb 2012
Reputation: 0
Post: #37
I was thinking about this some more and I wonder if something like this wouldn't be a fool proof way to execute this. This should also get rid of the xbmc loading box that pops up for like a millisecond showing that it is rendering the movie from home.xml.

Would it work to set up a batch file to load and play the intro movie, then a wait command for the duration of the movie, then a command to load xbmc? Of course you will still want to disable the splash screen in advancedsettings.xml so that you load directly into Home screen when xbmc loads.

I'm currently set up to auto boot into XBMC as a shell but I don't believe that's even necessary for me as I'm running on an SSD so boot times are fine without doing this.

Would someone with the knowledge on batch files mind tossing together the lines that would be necessary to achieve this?

Somethings like -

start intro movie
command for wait (8 seconds) or whatever the into movie duration is
start xbmc
find quote
cank Offline
Junior Member
Posts: 46
Joined: Jan 2012
Reputation: 0
Post: #38
I want to get this working but I can't seem to figure it out. Does the advanced setting xml file need to go in the installed path for xbmc or the roaming userdata file?

Also, in the path for the movie to play, what is the "(special://" referring too? I looked in the debug file and it looks like a folder location is being assigned to that but I'm a noob!!!

BTW I am using the Confluence Skin
find quote
ronie Offline
Team-Kodi Member
Posts: 9,414
Joined: Jan 2009
Reputation: 165
Post: #39
Hypknox Wrote:I've followed the instructions provided and XBMC does indeed boot up and play the intro movie first but I've noticed that I still have a slight glitch as PatK described. It also shows the actual home screen for like a millisecond before it plays the intro movie.

i wonder why everyone is putting the code in Home.xml...

you should load the movie in Startup.xml instead:
Code:
<onload>XBMC.PlayMedia(special://skin/intro.mov)</onload>

might just make the tiny difference you're looking for :-)

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
ronie Offline
Team-Kodi Member
Posts: 9,414
Joined: Jan 2009
Reputation: 165
Post: #40
cank Wrote:I want to get this working but I can't seem to figure it out. Does the advanced setting xml file need to go in the installed path for xbmc or the roaming userdata file?

Also, in the path for the movie to play, what is the "(special://" referring too? I looked in the debug file and it looks like a folder location is being assigned to that but I'm a noob!!!

BTW I am using the Confluence Skin

special://skin/ points to the folder where the skin is installed

Always read the Kodi online-manual, FAQ and search the forum before posting.
Do not PM or e-mail Team-Kodi members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
TechLife Offline
Donor
Posts: 588
Joined: Aug 2008
Reputation: 20
Location: Aurora, CO
Post: #41
Thanks Ronie! I didn't know you could put it there. For me at least, that makes a huge difference in the flow of everything. Seeing how the video loads immediately, there is no black screen delay where it just feels like the splash screen is missing. It feels much more fluid as opposed to forced.

*If I helped, please +rep below*
Windows Media Center PVR add-on (pvr.wmc) and Server (ServerWMC)
The XBMC team, plug-in devs, skinners, etc. do this for us for FREE in their spare time because they want to. Think about that for a second before you start bitching...
find quote
cank Offline
Junior Member
Posts: 46
Joined: Jan 2012
Reputation: 0
Post: #42
ronie Wrote:special://skin/ points to the folder where the skin is installed

And that is this
C:\Program Files (x86)\XBMC\addons\skin.confluence, right?
When I put the movie in that folder I get a blank start up screen but no movie.
find quote
Hypknox Offline
Member
Posts: 63
Joined: Feb 2012
Reputation: 0
Post: #43
Thanks Ronie I will give that shot.

In regards to the special://skin/ I noticed that I had to change special to the actual full directory of where I had my movie located in order to get it to play.
find quote
Hypknox Offline
Member
Posts: 63
Joined: Feb 2012
Reputation: 0
Post: #44
Adding that line to startup.xml instead of home.xml the movie doesn't play at all.
Are we talking about a startup.xml located in another directory? Or are we talking about the startup.xml located in your skin 720p folder?
find quote
htpc guy Offline
Posting Freak
Posts: 1,182
Joined: Oct 2010
Reputation: 7
Location: Near St. Louis Mo
Post: #45
ronie Wrote:i wonder why everyone is putting the code in Home.xml...

you should load the movie in Startup.xml instead:
Code:
<onload>XBMC.PlayMedia(special://skin/intro.mov)</onload>

might just make the tiny difference you're looking for :-)

Hmmm...
I'm using Nox and have no issues w/ the home.xml. I tried removing it and putting it in startup.xml and it didn't pay at all. I guess mileage may vary. I'll update the post suggesting startup.xml as an alternative.

How to use Git
| AMD Athlon II X3 Triple Core Processor 2.9 GHz |GIGABYTE GA-MA785GM-US2H Mobo 2GB DDR2 Ram | MSI N430GT |
| Logitec Harmony One Remote| 52" Sharp Aquos LED TV | Demon AVR-X1000 |
find quote
Post Reply