pub type VideoInfo = VSVideoInfo;Aliased Type§
#[repr(C)]pub struct VideoInfo {
pub format: VSVideoFormat,
pub fps_num: i64,
pub fps_den: i64,
pub width: i32,
pub height: i32,
pub num_frames: i32,
}Fields§
§format: VSVideoFormatFormat of the clip. Will have [VSVideoFormat::color_family] set to
[VSColorFamily::Undefined] if the format can vary.
fps_num: i64Numerator part of the clip’s frame rate. It will be 0 if the frame rate can vary. Should always be a reduced fraction.
fps_den: i64Denominator part of the clip’s frame rate. It will be 0 if the frame rate can vary. Should always be a reduced fraction.
width: i32Width of the clip. Both width and height will be 0 if the clip’s dimensions can vary.
height: i32Height of the clip. Both width and height will be 0 if the clip’s dimensions can vary.
num_frames: i32Length of the clip.