ClikaRT::io::VideoInfo
struct
Header: ClikaRT/io/io.h
A video stream's static geometry / timing, read from its header. Named VideoInfo (NOT VideoMetadata, which is the processor's 3-field timing struct) since it is a superset: geometry + codec identity too.
Data members
total_num_frames
std::int64_t total_num_frames = 0
frame count (may be derived on decode for some containers)
Declared in ClikaRT/io/io.h, line 203
fps
double fps = 0.0
average frame rate
Declared in ClikaRT/io/io.h, line 204
duration_seconds
double duration_seconds = 0.0
stream duration in seconds
Declared in ClikaRT/io/io.h, line 205
width
int width = 0
native frame width
Declared in ClikaRT/io/io.h, line 206
height
int height = 0
native frame height
Declared in ClikaRT/io/io.h, line 207
codec
std::string codec
codec name (e.g. "h264")
Declared in ClikaRT/io/io.h, line 208
pixel_format
std::string pixel_format
native pixel format (e.g. "yuv420p")
Declared in ClikaRT/io/io.h, line 209