Hard Light Productions Forums

Modding, Mission Design, and Coding => The Scripting Workshop => Topic started by: FekLeyrTarg on December 17, 2012, 05:15:26 pm

Title: Script Request: Subtitle-file loader for Video-cutscenes
Post by: FekLeyrTarg on December 17, 2012, 05:15:26 pm
There's an idea which I had recently. How about a feature which allows loading subtitle files while playing video cutscenes? I think it's easier than burning the subtitles onto the videos themselves and create multiple version of the videos with different subtitles. This would allow easier translation of the video cutscenes and deaf people can see what's being said in the cutscenes.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: headdie on December 17, 2012, 05:48:02 pm
so a text overlay rendered as the game is playing the video? an interesting concept
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: Nuke on December 17, 2012, 05:59:46 pm
would need a video time reference function for that though (and probibly a handle to the video file). otherwise things would be kind of out of sync.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: pecenipicek on December 17, 2012, 06:07:10 pm
or simply have the video playing part parse the normal srt files for subtitles... and give you the option to customize fonts and other hilarity in the cutscenes.tbl
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: mjn.mixael on December 17, 2012, 06:13:18 pm
or simply have the video playing part parse the normal srt files for subtitles... and give you the option to customize fonts and other hilarity in the cutscenes.tbl

That's actually a nice idea to upgrade FSO's video playback.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: Nuke on December 17, 2012, 06:16:04 pm
this is specific enough that it should be something handled by the engine rather than a script and i cant think of any other reason why you would want information about a cut scene.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: FekLeyrTarg on December 17, 2012, 11:50:54 pm
I just remembered that X-Wing vs TIE Fighter has a similar feature: It can read txt files and render them as subtitles. In those files are also information of when to show which text. The german version of XvT uses this to translate the opening titles.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: Luke on November 12, 2014, 04:17:08 am
*bump*

Currently i try to upgrade the ogg player for showing subtitles ony-the-fly because:

I think it's easier than burning the subtitles onto the videos themselves and create multiple version of the videos with different subtitles. This would allow easier translation of the video cutscenes and deaf people can see what's being said in the cutscenes.

Exactly this is our problem at the moment. It's completely nonsense to handle big video files if we want translate finished videos simply to another language with subtitles. And it costs massive work if we want simply change some text because of typos or whatever. With a on-thy-fly-subtitlte-system this would be very easy. And we don't must handle big video files and the players don't must download this big files again.

So i try currently to upgrade the OGG player. I managed to retrieve the frame counter so it would be no problem to synchronize the video with text. The problem is, to showing text during video playback.

Who have created the OGG player and is he reachable?
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: FekLeyrTarg on November 12, 2014, 06:13:39 am
I think that HCl from the Wing Commander CIC also worked on Saga's OGG player, or at least tweaked it.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: Luke on November 12, 2014, 08:25:25 am
Thx FekLeyrTarg. i try to reach him.
Title: Re: Script Request: Subtitle-file loader for Video-cutscenes
Post by: Goober5000 on November 24, 2014, 06:07:08 pm
Who have created the OGG player and is he reachable?

You can also contact Taylor (http://www.hard-light.net/forums/index.php?action=profile;u=1252), who did quite a lot of work on the OGG player.  If you send him a PM, he might be able to provide some guidance.