xboxscene.org forums

Author Topic: Cant Get A Video To Work In My Skin  (Read 61 times)

Cofi

  • Archived User
  • Full Member
  • *
  • Posts: 189
Cant Get A Video To Work In My Skin
« on: May 27, 2003, 09:03:00 AM »

i have some troubles with my skin, I am trying to add a video to play. But when I have the codes and tags to do so the screen just goes black. Here's my code:

<Resource name="MenuUp" Type="Sound">
<File>menu.wav</File>
</Resource>
<Resource name="MenuDown" Type="Sound">
<File>menu.wav</File>
</Resource>
<Resource name="MenuLaunch" Type="Sound">
<File>launch.wav</File>
</Resource>
<Music>
<Directory>MUSIC</Directory>
<PlayGlobal>true</PlayGlobal>
<PlayRandom>false</PlayRandom>
</Music>
<Resource name="fixedsys" type="font">
<File>Fixedsys_18.xpr</File>
</Resource>
<Resource name="arial" type="font">
<File>Arial_16.xpr</File>
</Resource>
<Resource name="menu" type="image">
<File>screen.jpg</File>
</Resource>
<Resource name="load" type="image">
<File>wait.jpg</File>
</Resource>
<Resource name="Coin" type="image">
<File>Coin.WMV</File>
</Resource>
<Resource name="screenshot" type="image">
<EntryNamed>media</EntryNamed>
</Resource>
<Resource name="logo" type="image">
<File>::Logo</File>
</Resource>
<Layout Screen="Menu">
<LayoutElement type="image" source="menu">
<Position t="10" l="0" w="640" h="480" />
<Scaling x="true" y="true" />
<Sound Enable="true" SuspendMusic="false" />
</LayoutElement>
<LayoutElement Type="Image" Source="Coin">
<Pos t="50" l="50" w="22" h="26" />
<Scale x="true" y="true" />
<Proportional>false</Proportional>
<Sound Enable="false" SuspendMusic="False" />
</LayoutElement>
<LayoutElement Type="image" source="screenshot">
<Position t="72" l="295" w="230" h="171" />
<Scaling x="true" y="true" />
<Sound Enable="true" SuspendMusic="true" />
<Justify x="center" y="center" />
<Proportional>false</Proportional>
</LayoutElement>
<LayoutElement type="menu" source="menux">
<Position t="255" l="215" w="420" h="170" />
<Scaling x="true" y="true" />
<TitleFont>fixedsys</TitleFont>
<DescrFont>arial</DescrFont>
<TitleSquash>-4</TitleSquash>
<DescrSquash>-7</DescrSquash>
<ThrobPeriod>5000</ThrobPeriod>
<DrawDesc>true</DrawDesc>
<SelColor>0x00FFFFFF</SelColor>
<ArrowColor>0x00FFFFFF</ArrowColor>
<MenuColor>0x00FFFFFF</MenuColor>
</LayoutElement>
</Layout>
<Layout Screen="Load">
<LayoutElement type="image" source="load">
<Position t="10" l="15" w="640" h="480" />
<Scaling x="true" y="true" />
<Sound Enable="true" SuspendMusic="false" />
</LayoutElement>
</Layout>
</Skin>

And it's Coin.WMV I am trying to play. I am pretty sure it's wmv8 cuz i encoded it with that dos-util. I dont know what version av MXM I have, the one that comes with the latest craxtion. maybe 0.9k.

Do you know what the problem is? plz help me. kinda frustrating...

TIA
Logged

Cofi

  • Archived User
  • Full Member
  • *
  • Posts: 189
Cant Get A Video To Work In My Skin
« Reply #1 on: May 27, 2003, 09:04:00 AM »

Oh forgot. When i remove the tags that trig the video, everything works fine, so I guess it's another issue. I have also tried to copy tags from other skins and the changing the variables, but without success.
Logged

Cofi

  • Archived User
  • Full Member
  • *
  • Posts: 189
Cant Get A Video To Work In My Skin
« Reply #2 on: May 27, 2003, 09:20:00 AM »

Hmm how did you know that? Are you psychic? ok you maybe read that i set the audio to not play.. Can I make the wmv with silent audio? so it will work, and in what program.
thx for the quick reply.

edit: hmm ok not even silent. Are there any other ways to display an animation? does gif work?
Logged

Cofi

  • Archived User
  • Full Member
  • *
  • Posts: 189
Cant Get A Video To Work In My Skin
« Reply #3 on: May 27, 2003, 12:23:00 PM »

I recorded an silent sound with the integrated one in windows, then added it with the avi in vdub. worked fine. thanks for the tip...
Logged

X-eQteR

  • Archived User
  • Jr. Member
  • *
  • Posts: 84
Cant Get A Video To Work In My Skin
« Reply #4 on: May 27, 2003, 12:44:00 PM »

I'm not sure about the silence in videos, but just to let u know, I just recorded a video without sound for my Evox dashboard and then encoded with Vegas 4.0 and it worked just fine.
Logged

Crash N Burn

  • Archived User
  • Full Member
  • *
  • Posts: 225
Cant Get A Video To Work In My Skin
« Reply #5 on: May 27, 2003, 01:06:00 PM »

QUOTE (X-eQteR @ May 27 2003, 01:44 PM)
I'm not sure about the silence in videos, but just to let u know, I just recorded a video without sound for my Evox dashboard and then encoded with Vegas 4.0 and it worked just fine.

 That's because Vegas Automatically incoperates a dummy audo file when choosing .wmv as the format . GOTTA LUV VEGAS !!!!!!!!!! beerchug.gif



,,.................................................Crash N Burn
Logged