Function frame_source::from_path

source ·
pub fn from_path<P: AsRef<Path>>(
    input: P,
    do_decode_h264: bool
) -> Result<Box<dyn FrameDataSource>>
Expand description

Create a FrameDataSource from a path.

The do_decode_h264 argument specifies that an H264 source will be decoded (e.g. to extract individual images).