diff -r 43e37759235e -r 51a74ef9ed63 Symbian3/SDK/Source/GUID-2D20B6DF-BE02-50CF-8E9F-14E3402EF952.dita --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Symbian3/SDK/Source/GUID-2D20B6DF-BE02-50CF-8E9F-14E3402EF952.dita Wed Mar 31 11:11:55 2010 +0100 @@ -0,0 +1,19 @@ + + + + + +Setting Video Metadata

This tutorial describes how to set video metadata.

Purpose

The purpose of this tutorial is to show you how to set and retrieve metadata entries for a video clip.

Required Background

The Video Client Overview introduces the video client utilities.

Introduction

The video recorder utility is used to record video clips to files, descriptors or URLs and manipulate embedded meta data. This functionality is implemented by the CVideoRecorderUtility class.

Using Video Metadata

The following tasks will be covered in this tutorial:

  • Set and Retrieve Metadata Entries

Basic Procedure

The high level steps to set and retrieve metadata entries are shown here:

  • To set various metadata entries, use the CVideoRecorderUtility::AddMetaDataEntryL() function. The metadata entries are stored within the clip itself and can be retrieved or modified anytime during the recording.This is usually used to store information such as copyright information, creator, creation date and so on.

    The following code adds the copyright information to the video clip:

    // Create Meta Entries +_LIT(name,"<Copyright>"); +_LIT(data,"<Symbian ©) 2002>"); +CMMFMetaDataEntry* metaData = NULL; +metaData = CMMFMetaDataEntry::NewL(name,data); +CleanupStack::PushL(metaData); +// Add the meta data entry +TRAP(err, iVideoRecorderUtility->AddMetaDataEntryL(*metaData));
  • To retrieve specific metadata entries from a video clip, use the CVideoRecorderUtility::MetaDataEntryL() function.

See Also

Creating and Preparing a Video Recorder

Configuring the Video Recorder

Enabling/Disabling Video Recording

Controlling Video Recording Quality

Recording Video Data

Controlling the Video Plugin

\ No newline at end of file