CRIWARE Unity Plugin Manual  Last Updated: 2024-07-12
[CriMana] H.264 movie

Description of the sample

Overview

cri4u_samples_crimana_basic07_screenshot.png

This sample demonstrates a playback of H.264 movie using the playback component.
When starting this sample, a looped playback of the following movie is performed automatically.

This movie playback is automatically performed by the CriManaMovieController component. Controls by other script are not used.

Scene information


Middleware CRI Sofdec (CRI Mana)
Sample Basic samples
Location /CRIWARE/SDK/unity/samples/UnityProject/Assets/Scenes/crimana/basic/
Scene file Scene_07_H264Playback.unity


Description of the program

the CriManaMovieController component is used.

Initialization parameters

The settings of initialization parameters are not required for H.264 playback.
If the Mana initialization is enabled, H.264 playback becomes enabled by default.

Playback control

Available playback controls by the CriManaMovieController component are the following three controls: starting playback, stopping playback, and pause.
For a complicated playback, access the CriManaMovieController.player property, and then perform the playback control using the CriMana::Player API.

Note

Currently, H.264 playback in Unity Editor is not supported.
Please execute this sample on the target machine.