Image | Audio | Video |
---|---|---|
X |
Searches for the next shot in a video file. If a shot is detected, records the frame number and frame data of the first frame in the detected shot. You must examine the shotDetected flag to determine if a shot has been detected.
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 DBvDetectShot( DBvIOType *video, unsigned long *start_frame, char *shotDetected, DBvShotControl *shotCtrl, DBvShotType *shot, );
Parameters
Error codes
Examples
Search for the next shot in a video file starting from frame 1:
#include <dmbshot.h> long start_frame=1; rc = DBvDetectShot(video, start_frame&Detected, &shotCtrl, &shot);