-
-
Notifications
You must be signed in to change notification settings - Fork 1
ssbarnea/pyHikvision
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Hikvision Player SDK usage ========================== #01 load PlayCtrl.dll #02 call PlayM4_GetPort() #03 call PlayM4_SetFileRefCallBack() #04 call PlayM4_OpenFile() #05 waits for the callback to be called, so we know the file is indexed #06 call PlayM4_GetFileTime() #07 call PlayM4_GetFileTotalFrames() #08 call PlayM4_GetPictureSize() #09 call PlayM4_Play(port, 0) #10 PlayM4_SetCurrentFrameNum(port, 0) #11 PlayM4_Pause(port, 1) The above calling sequence seems to always work succesfully (no error codes reported). Now the problem is when we do: PlayM4_SetCurrentFrameNum(port, frame) real_fram = PlayM4_GetCurrentFrameNum(port) Now in some cases real_frame != frame
About
Python wrapper to Hickvision Player SDK. It can be used to open and analyse hickvision video files.
Resources
Code of conduct
Security policy
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published