影像 | 音效 | 視訊 |
---|---|---|
X |
配置空間給 DBvIOType 結構,並開啟視訊檔以存取圖點。 當順利開啟視訊時,其會指向第一個畫面編號 (畫面 0)。
授權
無
檔案庫
OS/2 與 Windows | AIX、HP-UX 及 Solaris |
---|---|
dmbmpeg.lib | libdmbmpeg.a (AIX) |
| libdmbmpeg.sl (HP-UX) |
| libdmbmpeg.so (Solaris) |
併入檔
dmbshot.h
語法
long DBvOpenFile( DBvIOType **video, char *fileName, );
參數
錯誤碼
範例
開啟視訊檔 \videos\ajones.mpg:
#include <dmbshot.h> rc = DBvOpenFile(&videoa, "\videos\ajones.mpg");