CriWare Unreal Engine
Plug-ins for CriWare solutions.
Loading...
Searching...
No Matches
Sofdec Tutorial No.6: Simple playback of movies with subtitles

table of contents

In this article, we will introduce the following contents.

Prepare the assets necessary to play the movie

Sofdec Tutorial No. 1: Prepare the assets necessary to play a movie need to be completed.

Note
Please import the .usm File with embedded subtitle information .
In order to embed subtitle information in a .usm File, you need to prepare a subtitle information File.

Blueprint Class Asset

An asset that allows content creators to easily Add functionality to existing classes.
You can define new classes or Actor types that can be placed on your level as instances that behavior like other Actor types.

User Widget Asset

The explanation is the same as [Sofdec Tutorial No.5] Playing a movie using Widget.

Simple way to play movies with subtitles

There are many processes in common with Sofdec Tutorial No. 1: Simple movie playback method, so only the differences will be described.

What to do with Blueprint Class assets

Create it as an Actor type.

Add the following component .

  • Text Render component
  • Plane (Static Mesh component)
  • Mana Subtitle component


Text Render component Settings

Adjust the View position, text size, etc.

Mana Subtitle component Settings

By setting up a Mana Player asset that plays a movie, you can retrieve subtitle data for the movie being played.

Level blueprint implementation

Prepare the necessary variables.

Set the asset to the prepared variable. ・Mana Player               ・Mana Movie



At the same time as setting the Mana Movie to play using Mana Player's Open Source With Options , also set the subtitle track to reference.

Attention
Do not call "Select Track" immediately after call Mana Player's Open~.

Run result


How to View subtitles on screen

There are many processes in common with Sofdec Tutorial No. 1: Simple movie playback method, so only the differences will be described.

What to do with User Widget assets

Add a Mana Subtitle Text Block palette above the widget.
You will also configure the Mana Player asset that will play the movie.

Note
The parameters of Mana Subtitle Text Block are almost the same as Rich Text Block.
Therefore, settings such as View position and text size are possible.

What to do in Level BP

Prepare the necessary variables.

Set the asset to the prepared variable. ・Mana Player               ・Mana Movie



Generate and View an instance of the User Widget you have prepared.
Then, use Mana Player's Open Source With Options to set the Mana Movie to play and the subtitle track to reference.

Run result




THIS SERVICE MAY CONTAIN TRANSLATIONS POWERED BY GOOGLE. GOOGLE DISCLAIMS ALL WARRANTIES RELATED TO THE TRANSLATIONS, EXPRESS OR IMPLIED, INCLUDING ANY WARRANTIES OF ACCURACY, RELIABILITY, AND ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.