Please login or register.

Login with username, password and session length
Advanced search  

News:

IRC channel - server: waelisch.de  channel: #wme (read more)

Author Topic: Subtitles duration  (Read 3083 times)

0 Members and 1 Guest are viewing this topic.

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Subtitles duration
« on: March 06, 2010, 09:06:24 PM »

Hi

I have a video 37 seconds long. It's lip-synched so the audio has to be in the video. This means I can't have a separate audio file, but I still need subtitles. But the subtitles always overrun, by roughly the same amount, no matter what value I set the duration parameter to be.

Here's the code:
Code: [Select]
this.PlayTheora("interface\PDA\Oggs\Tony1.ogg");
this.Talk(Game.ExpandString("/Tony01_1/","",5000));
this.Talk(Game.ExpandString("/Tony01_2/","",1000));
this.Talk(Game.ExpandString("/Tony01_3/","",1000));
this.Talk(Game.ExpandString("/Tony01_4/","",1000));
You can see the total is only 8 seconds - but even the third part is still on the screen when the 37-second video is over, with the fourth part appearing several seconds later.

Can anybody please advise how I get the timings right?

Thanks


Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com

odnorf

  • w00t?
  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 7
  • Offline Offline
  • Gender: Male
  • Posts: 1456
  • Lamp dog!
    • View Profile
Re: Subtitles duration
« Reply #1 on: March 07, 2010, 01:18:39 AM »

WME supports the subtitle format SUB when playing videos.
Logged
fl*p

Kaz

  • Arberth Studios
  • Regular poster
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 228
  • The story is the game
    • View Profile
    • Info on 'Rhiannon' & 'Coven'
Re: Subtitles duration
« Reply #2 on: March 07, 2010, 09:01:12 AM »

Thanks Odnorf. So is the Talk method not of practical use with videos? Are the timing errors something I've done wrong or something to do with WME?
Logged
\"Fans of popular horror adventures like Scratches and Barrow Hill should start bracing themselves for another haunting experience, as independent developer Arberth Studios has announced production on its debut title Rhiannon - Curse of the Four Branches.\" - AdventureGamers.com
 

Page created in 0.03 seconds with 20 queries.