optris_sdk_ravi_frame_counts
How many frames a .ravi declares, field by field. Call optris_sdk_ravi_frame_counts_init() first. Mirrors optris::sdk::rec::RaviFrameCounts.
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.
Public attributes
struct_size
uint32_t struct_size
Set by optris_sdk_ravi_frame_counts_init().
readable
int32_t readable
Non-zero when the file was read; every count is zero otherwise.
declared_frames
uint32_t declared_frames
The whole recording's frames, as optris_sdk_ravi_info::declared_frames.
main_header_frames
uint32_t main_header_frames
avih.dwTotalFrames, as written.
stream_header_frames
uint32_t stream_header_frames
strh.dwLength of the video stream, as written.
open_dml_frames
uint32_t open_dml_frames
dmlh.dwTotalFrames, as written; zero without an OpenDML header.
has_open_dml
int32_t has_open_dml
Non-zero when the file has an OpenDML header.
riff_parts
uint32_t riff_parts
RIFF parts: 1, plus one for every RIFF AVIX part PIX Connect continues a recording in once it passes about 1 GiB.
source
char source[32]
Which field declared_frames is: "dmlh.dwTotalFrames", "strh.dwLength" or "avih.dwTotalFrames"; empty when unreadable.