Wintermute Engine Forum

Wintermute Engine => Technical forum => Topic started by: keybone on September 16, 2012, 06:34:56 PM

Title: subtitles for video.ogv, right syntax?
Post by: keybone on September 16, 2012, 06:34:56 PM
hi, i need create subtitles for a video..i have try use any programs for create this .sub but dont work..i have a file demo.avi and demo.sub..
the "script" for the demo.sub is:

Code: [Select]
[SubtitleProcessorSubtitles]
Version=1
FPS=20.000
TimeMode=0
DefaultStyleOverride=
InfoTitle=
InfoAuthor=
InfoTranslatedBy=
InfoEditedBy=
InfoTimedBy=
InfoCheckedBy=
InfoSynchPoint=
InfoUpdateAuthor=
InfoUpdateDetails=
InfoCollisions=0
InfoPlayResX=0
InfoPlayResY=0
InfoTimerSpeed=0.0000000000
InfoTimerShift=0.000
InfoWordWrap=0
SubtitleCount=2

[Subtitle_Item_0]
SF=26
ST=1.300
EF=26
ET=1.300
Style=
Marked=0
Layer=0
SubType=0
CharName=
MarginL=0
MarginR=0
MarginV=0
MarginV2=0
Effect=
LineCount=2
Line_0_Text="Tutto ebbe inizio quando un oggetto celato alla vista dell'uomo "
Line_0_Style=
Line_0_PosX=0
Line_0_PosY=0
Line_1_Text="First Subtitles"
Line_1_Style=
Line_1_PosX=0
Line_1_PosY=0

[Subtitle_Item_1]
SF=283
ST=14.150
EF=345
ET=17.250
Style=
Marked=0
Layer=0
SubType=0
CharName=
MarginL=0
MarginR=0
MarginV=0
MarginV2=0
Effect=
LineCount=1
Line_0_Text="Second Subtitles"
Line_0_Style=
Line_0_PosX=0
Line_0_PosY=0


which is the correct syntax for create *.sub for wintermute?
cya
Title: Re: subtitles for video.ogv, right syntax?
Post by: metamorphium on September 16, 2012, 06:46:17 PM
Code: [Select]
{0}{41}   
{1034}{1110} And so Rachel Manners has decided.
{1113}{1197} Living with an alien colony on a distant planet
Title: Re: subtitles for video.ogv, right syntax?
Post by: odnorf on September 16, 2012, 07:13:22 PM
To save some time you can use the excellent Subtitle Edit (http://www.nikse.dk/SubtitleEdit/) editor. Just make sure you save as "MicroDVD" format.
Title: Re: subtitles for video.ogv, right syntax?
Post by: keybone on September 16, 2012, 07:57:15 PM
tk  :D  tomorrow try .
cya