RenderMovieFrame()

Syntax

RenderMovieFrame(#Movie, SpriteID)
Description
Render the a movie frame directly on a sprite, instead of the video overlay.

Parameters

#Movie The movie to use.
SpriteID The output sprite. A valid SpriteID can be easily obtained with SpriteID().

Return value

This function has no return value.

Remarks

This is a very powerful function which can be used to achieve special effects in real-time (like video playback real-time transparency and zooming/rotating using the Sprite3D functions). Not all the codecs are compatible with this function and for now only MPEG files seem to work every time. To use this function, #PB_Movie_Rendered has to be specified in the PlayMovie() function.

Note: this command is only supported on DirectX7 subsystem.

See Also

PlayMovie()

Supported OS

Windows

<- PlayMovie() - Movie Index - ResizeMovie() ->