async fn generate_video_thumbnail( file: &File, widget: &Widget, ) -> Option<Thumbnail>
Generate a thumbnail for the video in the given file.