pub type VideoInfo = VSVideoInfo;
Aliased Type§
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: VSVideoFormat
Format of the clip. Will have [VSVideoFormat::color_family
] set to
[VSColorFamily::Undefined
] if the format can vary.
fps_num: i64
Numerator 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: i64
Denominator part of the clip’s frame rate. It will be 0 if the frame rate can vary. Should always be a reduced fraction.
width: i32
Width of the clip. Both width and height will be 0 if the clip’s dimensions can vary.
height: i32
Height of the clip. Both width and height will be 0 if the clip’s dimensions can vary.
num_frames: i32
Length of the clip.