diff -r ebc84c812384 -r 46218c8b8afa Symbian3/PDK/Source/GUID-2D20B6DF-BE02-50CF-8E9F-14E3402EF952.dita --- a/Symbian3/PDK/Source/GUID-2D20B6DF-BE02-50CF-8E9F-14E3402EF952.dita Thu Mar 11 15:24:26 2010 +0000 +++ b/Symbian3/PDK/Source/GUID-2D20B6DF-BE02-50CF-8E9F-14E3402EF952.dita Thu Mar 11 18:02:22 2010 +0000 @@ -1,19 +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 + + + + + +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