fractal::utils::media::video

Function load_video_info

Source
pub async fn load_video_info(
    file: &File,
    widget: &impl IsA<Widget>,
) -> (BaseVideoInfo, Option<Thumbnail>)
Expand description

Load information and try to generate a thumbnail for the video in the given file.