-
Posts
1828 -
Joined
-
Last visited
-
Days Won
22
Single Status Update
-
I just figured out how to make subtitles work in TDM (srt) for ingame cutscenes and how to automatically generate the srt file in Kdenlive's speech recognition (I just had to edit it a bit).
Kdenlive is a free and open source multiplatform pretty advanced video editor.
Test case is the first builder gost scene in Requiem saying:
1 00:00:00,180 --> 00:00:02,140 the builder be with you this night 2 00:00:02,600 --> 00:00:04,840 there will be secrets all around you 3 00:00:05,040 --> 00:00:06,439 so have a keen eye
The following page gives you the basic info:
https://wiki.thedarkmod.com/index.php?title=Subtitles
These 2 tutorials give you the info for creating the srt files:
If you run into the problem the Kdenlive cannot find your Python PATH, then here is a solution:
https://www.mail-archive.com/kde-bugs-dist@kde.org/msg672183.html
Edit: During the installation of Python, in the installer, if you select more options, you can specify to set the PATH. I tried this on another Windows computer and this fixed the issue. Much easier solution.
This is all the code for the testcase:
Spoilerfm_root.subs file in subtitles folder in fm's root:
// Requiem subtitles subtitles fm_root { verbosity story srt "sound/voices/Hanno1.ogg" "subtitles/hanno1.srt" }
hanno.srt file in same folder:
1 00:00:00,180 --> 00:00:02,140 the builder be with you this night 2 00:00:02,600 --> 00:00:04,840 there will be secrets all around you 3 00:00:05,040 --> 00:00:06,439 so have a keen eye
Maybe I will create a seperate (text,images based) tutorial on the wiki.
- Show previous comments 2 more
-
Do make this into a separate forum thread or better yet a wiki post.
-
Yeah I will do that. I think I will put the info in a thread in TDM Editors guild first and when I have more experience I make a wiki article.
I guess at some point every speech could have subtitles, including all core ai speech. @nbohr1moreis it already possible to integrate subtitles for all the tdm_sound_vocals ? Or is this still only fm based?
-
Right, that is the "on" mode where we will eventually have sub-titles for all AI barks (etc). We default to Story mode which is only for cut-scenes and story elements.
- Show next comments 3 more