CRM32Pro SDK  v5.22
Classes | Macros
MODULE 14: IVideo v2.40, player video interface

Detailed Description


IVideo allows to play MPEG-1 video and music stream.

It supports:
- smoothing and deblocking video stream
- scaled video playback
- centered or defined position video playback
- set any of the FXSCREEN_xx definitions (see IScreenFX for further information)
- set a function callback to be called each frame.

CRM32Pro.Init() builds this interface and CRM32Pro.Quit() removes it.

MPEG playback with OpenGL video modes will put a lot of stress on the full system (CPU,bus and video card) so it is not recommended. In case you use FX effects, it requires even a more powerful system to work fine (>1.2Ghz CPU). However, it will work but requires a special workaround, check Example05_VideoPlayer for further information.

Classes

class  CRM32Pro_IVideo
 IVideo. More...
 

Macros

#define VIDEO_FILTER_DEBLOCK   2
 Switch on deblocking video stream (only MPEG)
 
#define VIDEO_FILTER_NULL   0
 Switch off any kind of filter (only MPEG)
 
#define VIDEO_FILTER_SMOOTH   1
 Switch on smooth video stream (only MPEG)
 
#define VIDEO_PLAY_CENTER   -1
 Dump video stream centered on screen (only MPEG). Read more on SetPosition().