Symbian
Symbian OS Library

SYMBIAN OS V9.3

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



Video Recording

CVideoRecorderUtility provides features to record video clips to files, descriptors or URLs and manipulate embedded meta data. For the purposes of this description, the recording process has been broken down into the following sections.


Opening

When recording video it is necessary to specify the handle to the camera, the controller UID, video format and the codecs to use for video and audio; this is reflected in the range of open statements available in CVideoRecorderUtility.

The following open statements are provided:

void OpenFileL(const TDesC& aFileName, TInt aCameraHandle, TUid aControllerUid, TUid aVideoFormat, TFourCC aVideoType=KFourCCNULL, TFourCC aAudioType=KFourCCNULL);

void OpenDesL(TDes8& aDescriptor, TInt aCameraHandle, TUid aControllerUid, TUid aVideoFormat, TFourCC aVideoType=KFourCCNULL, TFourCC aAudioType=KFourCCNULL);

void OpenUrlL(const TDesC& aUrl, TInt aIapId = KUseDefaultIap, TInt aCameraHandle, TUid aControllerUid, TUid aVideoFormat, TFourCC aVideoType=KFourCCNULL, TFourCC aAudioType=KFourCCNULL);

If a video clip is already being recorded, use Stop() followed by Close() to close the video clip correctly before specifying new video clip to record.

[Top]


Configuration

Following the opening of the file, descriptor or URL to record video data, configuration adjustments can be made using the methods described below.

The following categories of configuration methods can be used to retrieve and set configuration parameters when recording video data:

[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 creator or player of a video clip to retrieve or set 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.

CMdaAudioRecorderUtility provides a set of meta data methods that enable you to:

[Top]


Recording

This class is intended for recording video clips only. If more than one video clip needs to be recorded, you must first Stop() and Close() any open video clip before attempting to record a new one.

The record related methods are:

[Top]


See also