Implement the `generate_thumbnail` function to create a thumbnail image from a video. This function should be added to the `core/utils` directory.
Implement the
generate_thumbnailfunction to create a thumbnail image from a video. This function should be added to thecore/utilsdirectory.