IBM Books

Image, Audio, and Video Extenders Administration and Programming

DBvCreateIndexFromVideo


Image Audio Video
    X

Creates an index for a video. The video must first be opened for shot detection. The index is used by the Video Extender to access shots and frames in a video. The index is stored in a flat file. The file name is stored in the DBvIOType data structure.

Authorization

None

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

libdmbshot.sl (HP-UX)

libdmbshot.so (Solaris)

Include file

dmbshot.h

Syntax

long DBvCreateIndexFromVideo(
      DBvIOType *video
      );

Parameters

video (update)
The pointer to a video structure.

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 a video:

#include <dmbshot.h>
 
rc = DBvCreateIndexFromVideo(video);


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