Subtitles

CINELERRA-GG can create subtitles directly in the timeline with the Subtitle tool. Subtitles are added by using the main window pulldown File Subtitle (Alt-y) which brings up a window allowing you to type the filename of a previously generated text file containing the desired words/lines, the script. After entering the filename, click Load to read in your script. By creating a script file ahead of time, it lets you easily add dialog that was already written out and carefully edited for spelling and proper grammar.

The file must be plain text; a .srt or .sub can also be used, but only the text lines will be used and not the timecodes or comments. The format of the script/text input file has specific requirements as listed below:

Figure 6.20 shows the Subtitle window you will see.

Figure 6.20: Subtitle window
Image subtitle01

To put the subtitles onto your media, first add a subtitle track via the pulldown Tracks Add subttl (Shit-Y). In the Subtitle window, note that there are 2 major textboxes. There is the Script Text textbox showing the current entry of text from your input file and there is the Line Text textbox showing the currently active text. In your subtitle track, select a timeline region (in/out or drag select with hairline cursor/highlight or via labels or the selection start/length/end time textboxes in the Zoom Panel) to indicate the region where you want the active Line Text to be pasted. Then click the Paste button in the Subtitle window to paste the line onto the subtitle track. Silence will be added to the subtitle track in the places in the media where there are gaps.

Editing in the Line Text box can be used to change the active script line. By double clicking the timeline over the subtitle track, you can reselect the active script line. The subtitle text will be reloaded into the Line Text box and can be edited and re-pasted as the new active subtitle text. You can also highlight multiple lines in the Script Text box and paste them (using the usual window paste methodology) into the Line Text box. After pasting to the timeline, the Line Text box will be updated with the next script line. In addition, if you triple click a line in the Script Text box, it will automatically become the current line in the Line Text box.

When you are finished, before clicking on Save, you can specify the output format using the Format drop-down button. You can choose between the classic .udvd (micro DVD) and the more universally supported .srt (subrip) and .sub (subviewer). The next step is to provide a legitimate filname in the Path box; your current directory will be used if only a filename but no directory path is supplied. The filename used will automatically have a "–" after it followed by the track label and then udvd/srt/sub extension added; any extension in the filename will be removed.. If you click OK before saving, the subtitle script position is saved with the session. This is convenient for continuing where you left off.

To reposition the script, use the slider or tumbler buttons:

Slider bar to move through the text entries quickly.
Prev or Next buttons to go to the previous or next script line.

Figure 6.21 shows what the pasted subtitle script looks like in a portion of the main window.

Figure 6.21: Subtitles on timeline
Image subtitle02

The CINELERRA-GG Community, 2021
https://www.cinelerra-gg.org