Function frame_source::from_path_with_timestamp_source

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

Create a FrameDataSource from a path with defined timestamp source

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