IBM Books

Image, Audio, and Video Extenders Administration and Programming

NumFrames


Image Audio Video
    X

Returns the number of frames in a video.

Include file

dmbvideo.h

Syntax

>>-NumFrames--(--handle--)-------------------------------------><
 

Parameters (data type)

handle (DB2VIDEO)
Column name or host variable that contains the handle of the video.

Return values (data type)

Number of frames in video (INTEGER). Returns a null value if the throughput rate is variable.

Examples

Get the number of frames in the video that is stored in the video column of the employee table for Robert Smith:

EXEC SQL BEGIN DECLARE SECTION;
long hvNum_Frames;
EXEC SQL END DECLARE SECTION;
 
EXEC SQL SELECT NUMFRAMES (VIDEO)
     INTO :hvNum_Frames
     FROM EMPLOYEE
     WHERE NAME='Robert Smith';


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