Project

General

Profile

Previous Up Next

_QTCreateStreamMovieBmp
This function create a quicktime movie object from an url. All the movie rendering will be done in a bitmap object. The movie will be scaled to the original size of the bitmap.

QTMovie _QTCreateStreamMovieBmp (
Chn _channel_
S _url_
ObjBitmap _bitmap_
I _flag_
)
Parameters

_channel_
proprietary channel
_url_
The source URL. For security reasons only valid URLs of the form "rtsp://..." , "ftp://..." and "http://..." can be used
_bitmap_
The movie will be rendered in this bitmap object. Be aware that the movie's size will be scaled down or/and up in order to fit the original bitmap size which may cause a distortion in its aspect ratio.
_flag_
The flag argument is not used and reserved for further developement. It should be 0 or nil at the moment
Return value

a valid QTMovie object or nil if there was an error (quicktime not installed, the file is not a valid one, etc...).