OptrisOptrisDocumentation

Documentation/OTC SDK/optris_sdk — Python API referencev12.0

RaviFrameCounts

class optris_sdk.ravi.RaviFrameCounts(NamedTuple)

How many frames a .ravi says it holds, field by field.

PIX Connect writes avih.dwTotalFrames for the first RIFF part only, and even in a one-part file it can be dozens of frames off, while dmlh.dwTotalFrames and strh.dwLength agree with the frames the file holds. declared_frames is the first of those two the file has, as RaviInfo.declared_frames, and source names it: 'dmlh.dwTotalFrames', 'strh.dwLength' or 'avih.dwTotalFrames'. riff_parts is 1, plus one for every RIFF AVIX part PIX Connect continues a recording in once it passes about 1 GiB. When readable is false every count is 0 and source is empty.