Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Video Playing

CVideoPlayerUtility provides a simple interface to open, play and obtain information from sampled video data. The video data can supplied either in a file, a descriptor or a URL.

For the purposes of this description, the playing process has been broken down into the following sections.


Opening

In the same way that CMdaAudioPlayerUtility provides methods for playing more than one audio file within a single instance, CVideoPlayerUtility provides methods to play multiple video clips within a single instance. A noticeable difference however, is that video clips cannot be opened during instantiation of the CVideoPlayerUtility object. Instead, all video clips must be opened using one of the open methods listed below after the player object has been created.

The following open methods are provided:

As soon as the open method has completed, successfully or otherwise, the callback function MVideoPlayerUtilityObserver::MvpuoOpenComplete() is called.

If a video clip is already open and playing, use Stop() followed by Close() to unload the video clip before specifying new video data to open.

[Top]


Configuration

Following the opening of the video clip, configuration adjustments can be made using the methods described below.

The configuration related methods are:

[Top]


Plug-in control

You can govern the relationship with a video plug-n in various ways:

[Top]


Meta data control

Some video formats enable the use of meta data, enabling the player of a clip to retrieve information that is held within the clip itself. This meta data is usually used to store information such as copyright information, creator, creation date and so on.

CVideoPlayerUtility provides two meta data methods that enable you to:

Note: it is not possible to set meta data using this class. If you need to set meta data, use CVideoRecorderUtility instead.

[Top]


Playing

This class is intended for playing video clips only. As with CMdaAudioPlayerUtility, the CVideoPlayerUtility is capable of playing more than one clip within the same instance of the object.

The play related methods are:

[Top]


See also