TVideoGrabber.ONVIFSnapShot

Prev

Next

TVideoGrabber

Methods

 




































































































Capture a JPEG snapshot from an ONVIF IP camera


Declaration
function ONVIFSnapShot(OnRawVideoSampleCallbackEnabled: Boolean; SaveToFile: Boolean; FileName: string ): Boolean;


BOOL ONVIFSnapShot(bool OnRawVideoSampleCallbackEnabled, bool SaveToFile, System::wchar_t *FileName);

Description

Used to capture a JPEG snapshot from an IP camera supporting the ONVIF protocol

bool OnRawVideoSampleCallbackEnabled: if true, the OnRawVideoSample event occurs, it is possible to get a direct access to the the buffer and buffer size parameters of the event, the buffer contains the JPEG image in memory.

bool SaveToFile: if true, the JPEG image is saved to the FileName specified

FileName: path/file name of the JPEG image to save


See Also
IR Cut Filter of Axis cameras TONVIFDeviceInfo ExtraDLLPath ONVIF_GetStr ONVIF_SetStr ONVIFDeviceInfo ONVIFPTZGetLimits ONVIFPTZGetPosition ONVIFPTZPreset ONVIFPTZSendAuxiliaryCommand ONVIFPTZSetPosition ONVIFPTZStartMove ONVIFPTZStopMove