IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvCreateIndex


Image Audio Video
    X

Creates an index for a video that is stored in a file. The index is used by the Video Extender to access shots and frames in a video. The index is stored in a flat file in the same directory as the source video file.

Authorization

None

Library file
OS/2 and Windows AIX, HP-UX, and Solaris
dmbmpeg.lib libdmbmpeg.a (AIX)

libdmbmpeg.sl (HP-UX)

libdmbmpeg.so (Solaris)

Include file

dmbshot.h

Syntax

long DBvCreateIndex(
      char *fileName
      );

Parameters

fileName (in)
The pointer to a video file name.

Error codes

MMDB_SUCCESS
API call processed successfully.

MMDB_RC_OPEN_VIDEO
The video file could not be opened for processing.

MMDB_RC_INDEX_FAIL
The index could not be built.

Examples

Create an index for the video in file \videos\ajones.mpg:

#include <dmbshot.h>
 
rc = DBvCreateIndex("\videos\ajones.mpg");


[ Top of Page | Previous Page | Next Page | Table of Contents | Index ]