Video

Video
Declaration
class Video : public VideoBase;
Description

Video state is used to initialize video playback in GFx; an instance of this object should be created at startup time and set on the loader with Loader::SetVideo. If this object is not created, video support will not be linked into your application.

   Ptr<Scaleform::GFx::Video::Video> pvc = *new Video(Scaleform::Thread::NormalPriority);
   loader.SetVideo(pvc);

As a part of video initialization, users need to call SetSoundSystem to initialize video sound output. The provided sound system object can be either a platform-specific version of the sound system, such as VideoSoundSystemXA2 (for XBox360), or a SoundRenderer implementation that implements SoundRenderer::AuxStreamer. Video (usm) files can be loaded from game-specific pack files by overriding GFx::FileOpener and implementing File interface.

Methods
Method 
Description 
Called during video initialization to apply system specific settings for video playback. 
Creates an instance of VideoPlayer interface for playing video files. 
Enables/disables video read operations for background loading of game data. 
Gets the AS2 Video ActionScript interface. 
Gets the AS3 Video ActionScript interface. 
Returns the decoder used for decoding of the video player. 
Obtains a pointer to the memory heap used by the video system. 
Returns the VideoReaderConfig used for accessing data from the video files. 
Returns the video sound system used in the video playbacks. 
Returns the texture manager used for the texture image. 
Determines if a video system needs to perform any video data read operation. 
Reads video definition tags from a SWF file. 
Sets a read callback instance to the video system for background loading of game data. 
Initializes the video sound output in the video playbacks. 
Sets the texture manager used to create VideoImage
Initializes Video object. 
File

Video_Video.h