CRI Sofdec2  Last Updated: 2022-11-21 16:25 p
Basic Programming Flow

Procedure for Playing Back Application Movies

If the application initializes the library and creates a CriManaPlayerHn playback handle, it will just specify a file name and start playback.
If the application should stop movie playback, it will periodically call several functions and show that the video frame has been obtained.
If the application creates a means of succeeding in determining video frame display time and quickly displaying it, then it can provide smooth movie playback.


  • Procedure for Movie Playback
    The following is the simplest playback procedure.


  • Procedure for Retrieval of Movie Info
    You can adjust the video resolution and select the audio that will be played before starting playback.
    In this situation, follow these steps for temporarily getting movie information.



Drawing Video Frames

While the movie is playing, the application will periodically try to retrieve video frames. If the application retrieves them and succeeds in determining the time, the frames can be drawn.
The application does not need to worry about the display timing or display interval.

The video frame it obtained will draw after it is converted to a drawing format and copied. You can select from multiple drawing formats.
Select a format suited to the application drawing system.

  • 32bit ARGB texture
  • Individual YUV buffer for pixel shaders