Frog Subtitles

by frog-collective

9

Frog Subtitles




screenshot

Frog Subtitles is a Godot plugin that add custom nodes to easily add subtitles on a video or audio stream. It works by directly importing a standard srt file (srt file format specifications).

This plugin has been developed by Frog Collective.

Installation

Godot .NET v4.0 or greater is needed to install this plugin. After adding it to your Godot project, you need to successfully build your C# solution before activating it in the plugin tabs of your Project Settings.

Once the plugin is enabled, you will be able to see srt files in Godot file system.

Usage

VideoStreamSubtitles and AudioStreamSubtitles nodes are built on top of a RichTextLabel, so you can use all its property to place it whenever you like.

It is also possible to customize the way subtitles are formatted by entering a template in the Text property. For example, you can center the subtitle by using the template [center]{0}[/center]. Don't forget to activate BBCode to make it work.

screenshot

The template use C# string.Format, so you can use all the C# format syntax. The subtitle is replace on argument {0}.

You can open the test scenes tests\audio.tscn and tests\video.tscn to see how subtitle integration can be made.

SRT edition

To easily edit srt files, you can use any compatible software. Subtitle Edit is a very nice Open Source subtitle editor.

License

The plugin is licensed under the MIT license.

The tests assets tests\TestVideo.ogv, tests\TestVideo.ogg and tests\TestSubtitles.srt are under copyright and cannot be used by anyone except Frog Collective.

Version

1.0.1

Engine

4.0

Category

Tools

Download

Version1.0.1
Download Now

Support

If you need help or have questions about this plugin, please contact the author.

Contact Author