CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
Sofdec Tips
This section provides useful information for using Sofdec.

How should Sofdec be configured to play multiple movies simultaneously?

The number of movies that can be played simultaneously cannot exceed CriWareInitializer::manaConfig::numberOfDecoders. Once it reaches that number, you cannot play any other movie.
To increase the number of simultaneous playbacks, follow the steps below.
  1. CRIWARE Library Initializer If the "CRIWARE Library Initializer" (CriWareInitializer) component is not created, create it.
  2. Select the CRIWARE Library Initializer component in the Inspector and increase the values below as required.
    • Number Of Decoders, in the [Mana Config] group
    • Number Of Loaders, in the [File System Config] group
Attention
Note that two decoders are used to play an alpha movie.

Precautions regarding loop playback of movies with audio

If the video and audio tracks of the movie are different in length, loop playback of the movie may cause the playback to stutter or stop to proceed.
When playing a movie with audio in a loop, be sure to match the length of the video with its audio track.