pub trait VideoSource {
// Required methods
fn info(&self) -> VideoInfo;
fn frame(&self, index: u64) -> Option<Rc<RasterImage>>;
}Expand description
Frames of one clip, by index. Implemented by the native ffmpeg decoder.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".